Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Nov 2017 11:47:54 +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-s5Jrrgufyp@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 #30 from Jan Beich <jbeich@FreeBSD.org> ---
Probably because -march=3D and -C target-cpu=3D are out of sync e.g., when =
CPUTYPE
is defined in make.conf. The fix is to pass RUSTFLAGS+=3D-C target-feature=
=3D+sse2
explicitly on i386 when MACHINE_CPU contains sse2.

--=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-s5Jrrgufyp>