Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Dec 2017 14:55:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        gecko@FreeBSD.org
Subject:   [Bug 223300] www/firefox (56+) fails to build using lang/rust (1.21+) built with PORT_LLVM=on: error[E0432]: unresolved import `x86::sse2`
Message-ID:  <bug-223300-21738-FfDhjk5hWa@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-223300-21738@https.bugs.freebsd.org/bugzilla/>
References:  <bug-223300-21738@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223300

--- Comment #40 from Jan Beich <jbeich@FreeBSD.org> ---
(In reply to Mikhail T. from comment #38)
> Maybe, that's because I compiled rust itself (1.22.1) with "march=3Dnativ=
e"?=20

Well, I use CPUTYPE=3Dnative 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=3D${MAKE_JOBS_NUMBER}` to para=
llelize 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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-223300-21738-FfDhjk5hWa>