Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Oct 2017 10:54:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        gecko@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 223300] www/firefox (firefox-56.0.2_3,1) with rust-1.21.0 on i386: error[E0432]: unresolved import `x86::sse2`
Message-ID:  <bug-223300-21738-0eAav9H9Rt@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
Dimitry Andric <dim@FreeBSD.org> has reassigned Bugzilla Automation
<bugzilla@FreeBSD.org>'s request for maintainer-feedback to gecko@FreeBSD.o=
rg:
Bug 223300: www/firefox (firefox-56.0.2_3,1) with rust-1.21.0 on i386:
error[E0432]: unresolved import `x86::sse2`
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223300



--- Description ---
Created attachment 187555
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D187555&action=
=3Dedit
Poudriere log for www/firefox

After updating my ports tree to r453055, lang/rust got updated to 1.21.0, a=
nd
www/firefox to 56.0.2_3,1.  Building under poudriere now results in an error
(it used to build OK in the past):

...
gmake[6]: Entering directory
'/wrkdirs/usr/ports/www/firefox/work/firefox-56.0.2/obj-x86_64-unknown-free=
bsd1
1.1/toolkit/library/rust'
force-cargo-library-build
env   RUSTC_BOOTSTRAP=3D1 RUSTFLAGS=3D' '=20
CARGO_TARGET_DIR=3D/wrkdirs/usr/ports/www/firefox/work/firefox-56.0.2/obj-x=
86_64-
unknown-freebsd11.1/toolkit/library
RUSTC=3D/usr/local/bin/rustc
MOZ_SRC=3D/wrkdirs/usr/ports/www/firefox/work/firefox-56.0.2
MOZ_DIST=3D/wrkdirs/usr/ports/www/firefox/work/firefox-56.0.2/obj-x86_64-un=
known-
freebsd11.1/dist
LIBCLANG_PATH=3D"/usr/local/llvm40/lib" CLANG_PATH=3D"/usr/local/llvm40/bin=
/clang"
PKG_CONFIG_ALLOW_CROSS=3D1 RUST_BACKTRACE=3D1
MOZ_TOPOBJDIR=3D/wrkdirs/usr/ports/www/firefox/work/firefox-56.0.2/obj-x86_=
64-unk
nown-freebsd11.1
MOZ_CARGO_WRAP_LDFLAGS=3D"-pthread -Wl,--as-needed -fstack-protector
-Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro
-Wl,-rpath-link,/wrkdirs/usr/ports/www/firefox/work/firefox-56.0.2/obj-x86_=
64-u
nknown-freebsd11.1/dist/bin
-Wl,-rpath-link,/usr/local/lib" MOZ_CARGO_WRAP_LD=3D" /usr/bin/cc -std=3Dgn=
u99"
CARGO_TARGET_X86_64_UNKNOWN_FREEBSD_LINKER=3D/wrkdirs/usr/ports/www/firefox=
/work/
firefox-56.0.2/build/cargo-linker
/usr/local/bin/cargo build  --release --frozen --manifest-path
/wrkdirs/usr/ports/www/firefox/work/firefox-56.0.2/toolkit/library/rust/Car=
go.t
oml
--lib --target=3Dx86_64-unknown-freebsd --features "servo bindgen simd-accel
no-static-ideograph-encoder-tables"
   Compiling nom v1.2.4
   Compiling rayon-core v1.2.0
   Compiling nsstring_vendor v0.1.0
(file:///wrkdirs/usr/ports/www/firefox/work/firefox-56.0.2/servo/components=
/sty
le/gecko_bindings/nsstring_vendor)
   Compiling either v1.1.0
   Compiling smallvec v0.4.0
   Compiling stable_deref_trait v1.0.0
   Compiling same-file v0.1.3
   Compiling precomputed-hash v0.1.0
   Compiling scopeguard v0.3.2
   Compiling void v1.0.2
   Compiling regex-syntax v0.4.0
   Compiling fnv v1.0.5
   Compiling odds v0.2.25
   Compiling libc v0.2.24
   Compiling rustc-serialize v0.3.22
   Compiling simd v0.2.0
error[E0432]: unresolved import `x86::sse2`
  -->
/wrkdirs/usr/ports/www/firefox/work/firefox-56.0.2/third_party/rust/simd/sr=
c/co
mmon.rs:17:10
   |
17 | use x86::sse2::common;
   |	      ^^^^ Could not find `sse2` in `x86`

   Compiling unicode-xid v0.0.4
   Compiling unicode-normalization v0.1.4
error: aborting due to previous error

error: Could not compile `simd`.

I guess either the sse2 component got removed from rust, or the firefox
component got updated to now include it?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-223300-21738-0eAav9H9Rt>