Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 915381 - dev-lang/spidermonkey-102.15.0: fails to build with Rust 1.73 (error: unrecognized platform-specific intrinsic function: `simd_shuffle8`)
Summary: dev-lang/spidermonkey-102.15.0: fails to build with Rust 1.73 (error: unrecog...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-08 14:01 UTC by Toralf Förster
Modified: 2023-10-16 13:21 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.92 KB, text/plain)
2023-10-08 14:01 UTC, Toralf Förster
Details
dev-lang:spidermonkey-102.15.0:20231008-132328.log.xz (dev-lang:spidermonkey-102.15.0:20231008-132328.log.xz,36.55 KB, application/x-xz)
2023-10-08 14:01 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,47.96 KB, application/x-xz)
2023-10-08 14:01 UTC, Toralf Förster
Details
environment (environment,151.55 KB, text/plain)
2023-10-08 14:01 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.05 KB, application/x-xz)
2023-10-08 14:01 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,29.72 KB, application/x-xz)
2023-10-08 14:01 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,12.23 KB, application/x-xz)
2023-10-08 14:01 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,69.16 KB, application/x-xz)
2023-10-08 14:01 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-10-08 14:01:23 UTC
warning: use of deprecated macro `try`: use the `?` operator instead
   --> /var/tmp/portage/dev-lang/spidermonkey-102.15.0/work/firefox-102.15.0/third_party/rust/semver/src/version_req.rs:559:28
    |
559 |             Wildcard(_) => try!(write!(fmt, "")),
    |                            ^^^

warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
   --> /var/tmp/portage/dev-lang/spidermonkey-102.15.0/work/firefox-102.15.0/third_party/rust/semver/src/version_req.rs:165:14
    |

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd_merged_usr-20231004-200505

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.2
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.2
Python 3.11.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.73.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.16.0 [icedtea-bin-8]
2)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
3)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8 
  [2]   openjdk-bin-8  system-vm
  [3]   openjdk-bin-11 
  [4]   openjdk-bin-17 

php cli (if any):
go version go1.21.1 linux/amd64

  HEAD of ::gentoo
commit 4cbd90096934326c44327174588c486b2f1bbbe0
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Oct 8 12:32:00 2023 +0000

    2023-10-08 12:31:59 UTC

emerge -qpvO dev-lang/spidermonkey
[ebuild   R   ] dev-lang/spidermonkey-115.3.1  USE="jit -clang -debug -lto -test"
Comment 1 Toralf Förster gentoo-dev 2023-10-08 14:01:23 UTC
Created attachment 872328 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-10-08 14:01:25 UTC
Created attachment 872329 [details]
dev-lang:spidermonkey-102.15.0:20231008-132328.log.xz
Comment 3 Toralf Förster gentoo-dev 2023-10-08 14:01:26 UTC
Created attachment 872330 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2023-10-08 14:01:28 UTC
Created attachment 872331 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-10-08 14:01:29 UTC
Created attachment 872332 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-10-08 14:01:30 UTC
Created attachment 872333 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-10-08 14:01:31 UTC
Created attachment 872334 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2023-10-08 14:01:33 UTC
Created attachment 872335 [details]
temp.tar.xz
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-10-12 10:58:26 UTC
error: unrecognized platform-specific intrinsic function: `simd_shuffle2`
  --> /var/tmp/portage/dev-lang/spidermonkey-102.15.0/work/firefox-102.15.0/third_party/rust/packed_simd_2/src/codegen/llvm.rs:10:5
   |
10 |     pub fn simd_shuffle2<T, U>(x: T, y: T, idx: [u32; 2]) -> U;
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: unrecognized platform-specific intrinsic function: `simd_shuffle4`
  --> /var/tmp/portage/dev-lang/spidermonkey-102.15.0/work/firefox-102.15.0/third_party/rust/packed_simd_2/src/codegen/llvm.rs:11:5
   |
11 |     pub fn simd_shuffle4<T, U>(x: T, y: T, idx: [u32; 4]) -> U;
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: unrecognized platform-specific intrinsic function: `simd_shuffle8`
  --> /var/tmp/portage/dev-lang/spidermonkey-102.15.0/work/firefox-102.15.0/third_party/rust/packed_simd_2/src/codegen/llvm.rs:12:5
   |
12 |     pub fn simd_shuffle8<T, U>(x: T, y: T, idx: [u32; 8]) -> U;
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: unrecognized platform-specific intrinsic function: `simd_shuffle16`
  --> /var/tmp/portage/dev-lang/spidermonkey-102.15.0/work/firefox-102.15.0/third_party/rust/packed_simd_2/src/codegen/llvm.rs:13:5
   |
13 |     pub fn simd_shuffle16<T, U>(x: T, y: T, idx: [u32; 16]) -> U;
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


See the patches at https://bugs.gentoo.org/915306#c2.
Comment 10 Larry the Git Cow gentoo-dev 2023-10-16 13:21:11 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09f6c8ec41c042517c8b79d166942d8bad098351

commit 09f6c8ec41c042517c8b79d166942d8bad098351
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2023-10-16 13:19:40 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2023-10-16 13:19:40 +0000

    dev-lang/spidermonkey: disable rust-simd on 102.15.0
    
    Closes: https://bugs.gentoo.org/915381
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 dev-lang/spidermonkey/spidermonkey-102.15.0.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)