Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 757255 - dev-lang/spidermonkey-78.5.0 fails with unresolved import `crate::arch::x86_64::__m64`
Summary: dev-lang/spidermonkey-78.5.0 fails with unresolved import `crate::arch::x86_6...
Status: RESOLVED DUPLICATE of bug 756334
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-27 17:35 UTC by Chris
Modified: 2020-11-27 18:15 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (dev-lang:spidermonkey-78.5.0:20201127-170550.log,234.88 KB, text/x-log)
2020-11-27 17:37 UTC, Chris
Details
emerge --info (emerge-info,6.84 KB, text/plain)
2020-11-27 17:38 UTC, Chris
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris 2020-11-27 17:35:45 UTC
dev-lang/spidermonkey-78.5.0 fails to compile on ~amd64. Most relevant parts from build log below.

release/deps/libcfg_if-115ab1df1cae1206.rmeta --cap-lints warn -C opt-level=2 -C debuginfo=2 -C force-frame-pointers=yes --cap-lints warn -C codegen-units=1`
error[E0432]: unresolved import `crate::arch::x86_64::__m64`
  --> /var/tmp/portage/dev-lang/spidermonkey-78.5.0/work/firefox-78.5.0/third_party/rust/packed_simd/src/api/into_bits/arch_specific.rs:51:15
   |
51 |               $($arch_ty),*
   |                 ^^^^^^^^ no `__m64` in `arch::x86_64`
...
86 | / impl_arch!(
87 | |     [x86["x86"]: __m64], [x86_64["x86_64"]: __m64],
88 | |     [arm["arm"]: int8x8_t, uint8x8_t, poly8x8_t, int16x4_t, uint16x4_t,
89 | |      poly16x4_t, int32x2_t, uint32x2_t, float32x2_t, int64x1_t,
...  |
96 | |     test: test_v64
97 | | );
   | |__- in this macro invocation
   |
   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0432]: unresolved import `crate::arch::x86_64::_mm_movemask_pi8`
  --> /var/tmp/portage/dev-lang/spidermonkey-78.5.0/work/firefox-78.5.0/third_party/rust/packed_simd/src/codegen/reductions/mask/x86/sse.rs:47:21
   |
47 |                 use crate::arch::x86_64::_mm_movemask_pi8;
   |                     ^^^^^^^^^^^^^^^^^^^^^----------------
   |                     |                    |
   |                     |                    help: a similar name exists in the module: `_mm_movemask_epi8`
   |                     no `_mm_movemask_pi8` in `arch::x86_64`
   | 
  ::: /var/tmp/portage/dev-lang/spidermonkey-78.5.0/work/firefox-78.5.0/third_party/rust/packed_simd/src/codegen/reductions/mask.rs:41:1
   |
41 | impl_mask_reductions!(m8x8);
   | ---------------------------- in this macro invocation
   |
   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0432]: unresolved import `crate::arch::x86_64::_mm_movemask_pi8`
  --> /var/tmp/portage/dev-lang/spidermonkey-78.5.0/work/firefox-78.5.0/third_party/rust/packed_simd/src/codegen/reductions/mask/x86/sse.rs:62:21
   |
62 |                 use crate::arch::x86_64::_mm_movemask_pi8;
   |                     ^^^^^^^^^^^^^^^^^^^^^----------------
   |                     |                    |
   |                     |                    help: a similar name exists in the module: `_mm_movemask_epi8`
   |                     no `_mm_movemask_pi8` in `arch::x86_64`
   | 
  ::: /var/tmp/portage/dev-lang/spidermonkey-78.5.0/work/firefox-78.5.0/third_party/rust/packed_simd/src/codegen/reductions/mask.rs:41:1
   |
41 | impl_mask_reductions!(m8x8);
   | ---------------------------- in this macro invocation
   |
   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0432]: unresolved import `crate::arch::x86_64::_mm_movemask_pi8`
  --> /var/tmp/portage/dev-lang/spidermonkey-78.5.0/work/firefox-78.5.0/third_party/rust/packed_simd/src/codegen/reductions/mask/x86/sse.rs:47:21
   |
47 |                 use crate::arch::x86_64::_mm_movemask_pi8;
   |                     ^^^^^^^^^^^^^^^^^^^^^----------------
   |                     |                    |
   |                     |                    help: a similar name exists in the module: `_mm_movemask_epi8`
   |                     no `_mm_movemask_pi8` in `arch::x86_64`
   | 
  ::: /var/tmp/portage/dev-lang/spidermonkey-78.5.0/work/firefox-78.5.0/third_party/rust/packed_simd/src/codegen/reductions/mask.rs:47:1
   |
47 | impl_mask_reductions!(m16x4);
   | ----------------------------- in this macro invocation
   |
   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0432]: unresolved import `crate::arch::x86_64::_mm_movemask_pi8`
  --> /var/tmp/portage/dev-lang/spidermonkey-78.5.0/work/firefox-78.5.0/third_party/rust/packed_simd/src/codegen/reductions/mask/x86/sse.rs:62:21
   |
62 |                 use crate::arch::x86_64::_mm_movemask_pi8;
   |                     ^^^^^^^^^^^^^^^^^^^^^----------------
   |                     |                    |
   |                     |                    help: a similar name exists in the module: `_mm_movemask_epi8`
   |                     no `_mm_movemask_pi8` in `arch::x86_64`
   | 
  ::: /var/tmp/portage/dev-lang/spidermonkey-78.5.0/work/firefox-78.5.0/third_party/rust/packed_simd/src/codegen/reductions/mask.rs:47:1
   |
47 | impl_mask_reductions!(m16x4);
   | ----------------------------- in this macro invocation
   |
   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0432]: unresolved import `crate::arch::x86_64::_mm_movemask_pi8`
  --> /var/tmp/portage/dev-lang/spidermonkey-78.5.0/work/firefox-78.5.0/third_party/rust/packed_simd/src/codegen/reductions/mask/x86/sse.rs:47:21
   |
47 |                 use crate::arch::x86_64::_mm_movemask_pi8;
   |                     ^^^^^^^^^^^^^^^^^^^^^----------------
   |                     |                    |
   |                     |                    help: a similar name exists in the module: `_mm_movemask_epi8`
   |                     no `_mm_movemask_pi8` in `arch::x86_64`
   | 
  ::: /var/tmp/portage/dev-lang/spidermonkey-78.5.0/work/firefox-78.5.0/third_party/rust/packed_simd/src/codegen/reductions/mask.rs:52:1
   |
52 | impl_mask_reductions!(m32x2);
   | ----------------------------- in this macro invocation
   |
   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0432]: unresolved import `crate::arch::x86_64::_mm_movemask_pi8`
  --> /var/tmp/portage/dev-lang/spidermonkey-78.5.0/work/firefox-78.5.0/third_party/rust/packed_simd/src/codegen/reductions/mask/x86/sse.rs:62:21
   |
62 |                 use crate::arch::x86_64::_mm_movemask_pi8;
   |                     ^^^^^^^^^^^^^^^^^^^^^----------------
   |                     |                    |
   |                     |                    help: a similar name exists in the module: `_mm_movemask_epi8`
   |                     no `_mm_movemask_pi8` in `arch::x86_64`
   | 
  ::: /var/tmp/portage/dev-lang/spidermonkey-78.5.0/work/firefox-78.5.0/third_party/rust/packed_simd/src/codegen/reductions/mask.rs:52:1
   |
52 | impl_mask_reductions!(m32x2);
   | ----------------------------- in this macro invocation
   |
   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

/usr/bin/x86_64-pc-linux-gnu-g++ -std=gnu++17 -o ProfilingStack.o -c  -I/var/tmp/portage/dev-lang/spidermonkey-78.5.0/work/build/dist/system_wrappers -include /var/tmp/portage/dev-lang/spidermonkey-78.5.0/work/firefox-78.5.0/config/gcc_hidden.h -fstack-protector-strong -DNDEBUG=1 -DTRIMMED=1 -DWASM_SUPPORTS_HUGE_MEMORY -DEXPORT_JS_API -DMOZ_HAS_MOZGLUE -I/var/tmp/portage/dev-lang/spidermonkey-78.5.0/work/firefox-78.5.0/js/src -I/var/tmp/portage/dev-lang/spidermonkey-78.5.0/work/build/js/src -I/var/tmp/portage/dev-lang/spidermonkey-78.5.0/work/build/dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include /var/tmp/portage/dev-lang/spidermonkey-78.5.0/work/build/js/src/js-confdefs.h -Wall -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wc++2a-compat -Wduplicated-cond -Wimplicit-fallthrough -Wunused-function -Wunused-variable -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=coverage-mismatch -Wno-error=free-nonheap-object -Wno-multistatement-macros -Wno-error=class-memaccess -Wno-error=deprecated-copy -Wformat -Wformat-security -Wformat-overflow=2 -Wno-noexcept-type -fno-sized-deallocation -fno-aligned-new -O2 -march=native -fomit-frame-pointer -fno-stack-protector -pipe -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -g -fno-omit-frame-pointer -funwind-tables -fno-strict-aliasing -Werror=format -Wno-shadow -Wno-attributes  -MD -MP -MF .deps/ProfilingStack.o.pp   /var/tmp/portage/dev-lang/spidermonkey-78.5.0/work/firefox-78.5.0/js/src/vm/ProfilingStack.cpp
js/src/Unified_cpp_js_src0.o
/usr/bin/x86_64-pc-linux-gnu-g++ -std=gnu++17 -o Unified_cpp_js_src0.o -c  -I/var/tmp/portage/dev-lang/spidermonkey-78.5.0/work/build/dist/system_wrappers -include /var/tmp/portage/dev-lang/spidermonkey-78.5.0/work/firefox-78.5.0/config/gcc_hidden.h -fstack-protector-strong -DNDEBUG=1 -DTRIMMED=1 -DWASM_SUPPORTS_HUGE_MEMORY -DEXPORT_JS_API -DMOZ_HAS_MOZGLUE -I/var/tmp/portage/dev-lang/spidermonkey-78.5.0/work/firefox-78.5.0/js/src -I/var/tmp/portage/dev-lang/spidermonkey-78.5.0/work/build/js/src -I/var/tmp/portage/dev-lang/spidermonkey-78.5.0/work/build/dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include /var/tmp/portage/dev-lang/spidermonkey-78.5.0/work/build/js/src/js-confdefs.h -Wall -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wc++2a-compat -Wduplicated-cond -Wimplicit-fallthrough -Wunused-function -Wunused-variable -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=coverage-mismatch -Wno-error=free-nonheap-object -Wno-multistatement-macros -Wno-error=class-memaccess -Wno-error=deprecated-copy -Wformat -Wformat-security -Wformat-overflow=2 -Wno-noexcept-type -fno-sized-deallocation -fno-aligned-new -O2 -march=native -fomit-frame-pointer -fno-stack-protector -pipe -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -g -fno-omit-frame-pointer -funwind-tables -fno-strict-aliasing -Werror=format -Wno-shadow -Wno-attributes  -MD -MP -MF .deps/Unified_cpp_js_src0.o.pp   Unified_cpp_js_src0.cpp
js/src/Unified_cpp_js_src1.o
In file included from /var/tmp/portage/dev-lang/spidermonkey-78.5.0/work/firefox-78.5.0/js/src/vm/Activation.h:25,
                 from /var/tmp/portage/dev-lang/spidermonkey-78.5.0/work/firefox-78.5.0/js/src/vm/JSContext.h:30,
                 from /var/tmp/portage/dev-lang/spidermonkey-78.5.0/work/firefox-78.5.0/js/src/vm/GeneratorObject.h:14,
                 from /var/tmp/portage/dev-lang/spidermonkey-78.5.0/work/firefox-78.5.0/js/src/vm/EnvironmentObject.h:18,
                 from /var/tmp/portage/dev-lang/spidermonkey-78.5.0/work/firefox-78.5.0/js/src/vm/ArgumentsObject-inl.h:12,
                 from /var/tmp/portage/dev-lang/spidermonkey-78.5.0/work/firefox-78.5.0/js/src/builtin/Array-inl.h:15,
                 from /var/tmp/portage/dev-lang/spidermonkey-78.5.0/work/firefox-78.5.0/js/src/builtin/Array.cpp:7,
                 from Unified_cpp_js_src0.cpp:2:
/var/tmp/portage/dev-lang/spidermonkey-78.5.0/work/firefox-78.5.0/js/src/vm/Stack.h: In instantiation of ‘class js::detail::FixedArgsBase<js::NO_CONSTRUCT, 0>’:
/var/tmp/portage/dev-lang/spidermonkey-78.5.0/work/firefox-78.5.0/js/src/vm/Stack.h:935:7:   required from ‘class js::FixedInvokeArgs<0>’
/var/tmp/portage/dev-lang/spidermonkey-78.5.0/work/firefox-78.5.0/js/src/vm/Interpreter.h:90:29:   required from here
/var/tmp/portage/dev-lang/spidermonkey-78.5.0/work/firefox-78.5.0/js/src/vm/Stack.h:892:19: warning: comparison is always true due to limited range of data type [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wtype-limits^G-Wtype-limits8;;^G]
  892 |   static_assert(N <= ARGS_LENGTH_MAX, "o/~ too many args o/~");
      |                 ~~^~~~~~~~~~~~~~~~~~
error: aborting due to 7 previous errors

For more information about this error, try `rustc --explain E0432`.
error: could not compile `packed_simd`



Reproducible: Always

Steps to Reproduce:
See description above.
Actual Results:  
-

Expected Results:  
-
Comment 1 Chris 2020-11-27 17:37:08 UTC
Created attachment 675406 [details]
build log
Comment 2 Chris 2020-11-27 17:38:43 UTC
Created attachment 675409 [details]
emerge --info
Comment 3 Thomas Deutschmann (RETIRED) gentoo-dev 2020-11-27 18:15:14 UTC
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7ec78596345210a7b7780240190705fc03c36c7

*** This bug has been marked as a duplicate of bug 756334 ***