[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
Mon Nov 27 18:16:40 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223300
--- Comment #25 from commit-hook at freebsd.org ---
A commit references this bug:
Author: dumbbell
Date: Mon Nov 27 18:16:15 UTC 2017
New revision: 454983
URL: https://svnweb.freebsd.org/changeset/ports/454983
Log:
lang/rust: Remove the LLVM_PORT option
FTR, this option allowed to used LLVM from ports instead of building the
bundled copy.
The problem is that this combination isn't really tested upstream. This
led to regressions which are difficult to diagnose. For instance, in
Rust 1.21.0, the bundled LLVM provided a new API to query the features
supported by the target arch. The equivalent code inside Rust was
removed to use that new API. Unfortunately, building Rust 1.21.0+ with a
copy of LLVM not providing this API didn't failed but instead made that
list of CPU features empty. This resulted in the following obscure build
failure in Firefox:
error[E0432]: unresolved import `x86::sse2`
To avoid future pain for both end users and maintainers, we decided to
remove that option. Yes, it will increase the (already long) time to
build Rust, but it should save time wasted on debugging what is not
really supported anyway.
PR: 223342, 223300
Reported by: Many users
Changes:
head/lang/rust/Makefile
head/lang/rust/files/config.toml
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-gecko
mailing list