Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Oct 2017 21:31: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-QqJYCpNJi5@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

Jan Beich <jbeich@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=3Don: error[E043=
2]:
                   |import `x86::sse2`          |unresolved import
                   |                            |`x86::sse2`

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

$ git clone https://github.com/rust-lang-nursery/simd
$ cd simd
$ git checkout v0.2.0
$ export RUSTC_BOOTSTRAP=3D1 # 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.

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