[Bug 223300] www/firefox (56+) fails to build using lang/rust (1.21+) built with PORT_LLVM=on: error[E0432]: unresolved import `x86::sse2`
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Dec 15 14:55:37 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223300
--- Comment #40 from Jan Beich <jbeich at FreeBSD.org> ---
(In reply to Mikhail T. from comment #38)
> Maybe, that's because I compiled rust itself (1.22.1) with "march=native"?
Well, I use CPUTYPE=native myself (on -CURRENT amd64) and on head-i386
poudriere jail. Obviously, MACHINE_CPU had to be populated manually because
bsd.cpu.mk is dumb (see bug 112997).
> may also want to add the `-C codegen-units=${MAKE_JOBS_NUMBER}` to parallelize the compilations.
No, -C codegen-units pessimizes LTO which is enabled by default for release
builds. ThinLTO isn't ready yet.
https://internals.rust-lang.org/t/help-test-out-thinlto/6017
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-gecko
mailing list