Date: Fri, 15 Dec 2017 14:06:02 +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-Su09YlfIo2@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 Mikhail T. <mi@ALDAN.algebra.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mi@ALDAN.algebra.com --- Comment #36 from Mikhail T. <mi@ALDAN.algebra.com> --- (In reply to commit-hook from comment #32) The commit changes gecko.mk to derive the target-cpu setting given to rustc from the CFLAGS. This is a very elegant solution and would've been perfect,= if not for the common case of "-march=3Dnative". Because, sadly, "native" to rustc currently means "generic", instead of "ch= eck the features of the currently-used processor and enable them all". And "generic" means "no SSE2". And, because it means generic, the firefox build fails with that same error about SSE2, when CPUTYPE is set to "native". I'm not sure, how to fix it correctly, but a warning advising user to set CPUTYPE explicitly may be helpful. --=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-Su09YlfIo2>