[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
Sun Oct 29 21:31:03 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223300

Jan Beich <jbeich at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|www/firefox                 |www/firefox (56+) fails to
                   |(firefox-56.0.2_3,1) with   |build using lang/rust
                   |rust-1.21.0 on amd64:       |(1.21+) built with
                   |error[E0432]: unresolved    |PORT_LLVM=on: error[E0432]:
                   |import `x86::sse2`          |unresolved import
                   |                            |`x86::sse2`

--- Comment #18 from Jan Beich <jbeich at FreeBSD.org> ---
I could reproduce in 11.1-RELEASE i386 jail. PORT_LLVM=on is really the
culprit.

$ git clone https://github.com/rust-lang-nursery/simd
$ cd simd
$ git checkout v0.2.0
$ export RUSTC_BOOTSTRAP=1 # cheat Nightly requirement
$ cargo build --release
   Compiling simd v0.2.0 (file:///tmp/simd)
error[E0432]: unresolved import `x86::sse2`
  --> src/common.rs:17:10
   |
17 | use x86::sse2::common;
   |          ^^^^ Could not find `sse2` in `x86`

error: aborting due to previous error

$ rustc --print target-features
Target features help is not supported by this LLVM version.

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


More information about the freebsd-gecko mailing list