Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 801241 - dev-lang/spidermonkey-78.10.1 fails check: ERROR: Command `rustup which rustc` failed with exit status -11.
Summary: dev-lang/spidermonkey-78.10.1 fails check: ERROR: Command `rustup which rustc...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-08 18:46 UTC by Russell Dwiggins
Modified: 2021-07-09 18:20 UTC (History)
1 user (show)

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


Attachments
dev-lang/spidermonkey-78.10.1 build log (build.log,23.42 KB, text/x-log)
2021-07-08 18:46 UTC, Russell Dwiggins
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Russell Dwiggins 2021-07-08 18:46:50 UTC
Created attachment 722836 [details]
dev-lang/spidermonkey-78.10.1 build log

Fresh install of gentoo on an ARM chromebook (veyron speedy). 

Rust-bin 1.52.1 is installed.

Build log attached, but this is the relevant message, I think:

DEBUG: Executing: `rustup which rustc`
DEBUG: The command returned non-zero exit status -11.
ERROR: Command `rustup which rustc` failed with exit status -11.
Comment 1 Russell Dwiggins 2021-07-08 19:42:10 UTC
# emerge --info
Portage 3.0.20 (python 3.9.5-final-0, default/linux/arm/17.0/armv7a/desktop/plasma, gcc-10.3.0, glibc-2.33, 5.13.0-rc5cadmium armv7l)
=================================================================
System uname: Linux-5.13.0-rc5cadmium-armv7l-ARMv7_Processor_rev_1_-v7l-with-glibc2.33
KiB Mem:     4106604 total,   2997072 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Tue, 06 Jul 2021 23:30:01 +0000
Head commit of repository gentoo: 8a3e453adda8d3ca8ed1d34a8eb86a9d91c970e2
sh bash 5.1_p8
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
app-shells/bash:          5.1_p8::gentoo
dev-lang/perl:            5.32.1::gentoo
dev-lang/python:          3.9.5_p2::gentoo
dev-lang/rust-bin:        1.52.1::gentoo
dev-util/cmake:           3.18.5::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1-r1::gentoo
sys-apps/sandbox:         2.24::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.3-r1::gentoo
sys-devel/binutils:       2.35.2::gentoo
sys-devel/gcc:            10.3.0::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 

ACCEPT_KEYWORDS="arm"
ACCEPT_LICENSE="@FREE"
CBUILD="armv7a-unknown-linux-gnueabihf"
CFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
CHOST="armv7a-unknown-linux-gnueabihf"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac accessibility acl activities alsa arm arts aspell avahi bitmap-fonts bluetooth bluray branding browserplugin bzip2 cairo cdda cdr cdrgphoto2 cleartype cli corefonts crypt cups dbus declarative divx divx4linux dri dts dvd dvdr dvdread elogind emboss emerald encode eselect-ldso exif extras fbcon fbcondecor firefox flac foomaticdb fortran freetts gcj gdbm gif gimpprint gmedia gnome-online-accounts gpm gui hdaps iconv icu introspection ipv6 irda java joystick jpeg kipi kwallet lcms ldap libglvnd libnotify mad mmx mng mp3 mp4 mpeg mplayer mysql ncurses netmeeting networkmanager nls nptl nptlonly nsplugin ogg ooo-kde opengl openmp opie pam pango pcre pda pdf phonon pic plasma png policykit postscript ppds pulseaudio qml qt5 quicktime readline real realmedia reports samba scanner sdl seccomp semantic-desktop sound spell split-usr ssl startup-notification suid svg tcpd theora threads tiff truetype truetype-fonts type1 type1-fonts udev udisks unicode upower usb v4l v4l2 vorbis vulkan wayland widgets win32codecs wmp wxwidgets x264 xattr xcb xcomposite xml xscreensaver xv xvid xvmc yahoo zeroconf zlib" ADA_TARGET="gnat_2018" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_ARM="edsp thumb thumb2 v4 v5 v6 v7 vfp" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="ARM" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="exynos fbdev omap dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
Comment 2 Steve Arnold archtester gentoo-dev 2021-07-08 21:31:45 UTC
I don't have anything new enough handy to try this, but 78.10.0 *did* build for me on arm, with the following patch to disable thumb triplet:

@@ -313,11 +298,11 @@
 	if use cpu_flags_arm_neon ; then
 		myeconfargs+=( --with-fpu=neon )
 
-		if ! tc-is-clang ; then
-			# thumb options aren't supported when using clang, bug 666966
-			myeconfargs+=( --with-thumb=yes )
-			myeconfargs+=( --with-thumb-interwork=no )
-		fi
+	fi
+	if [[ ${CHOST} = armv*h* ]]; then
+		# thumb options should Just Say No...
+		myeconfargs+=( --with-thumb=no )
+		myeconfargs+=( --with-thumb-interwork=no )
 	fi
Comment 3 Russell Dwiggins 2021-07-08 23:31:11 UTC
(In reply to Steve Arnold from comment #2)
> I don't have anything new enough handy to try this, but 78.10.0 *did* build
> for me on arm, with the following patch to disable thumb triplet:
> 
> @@ -313,11 +298,11 @@
>  	if use cpu_flags_arm_neon ; then
>  		myeconfargs+=( --with-fpu=neon )
>  
> -		if ! tc-is-clang ; then
> -			# thumb options aren't supported when using clang, bug 666966
> -			myeconfargs+=( --with-thumb=yes )
> -			myeconfargs+=( --with-thumb-interwork=no )
> -		fi
> +	fi
> +	if [[ ${CHOST} = armv*h* ]]; then
> +		# thumb options should Just Say No...
> +		myeconfargs+=( --with-thumb=no )
> +		myeconfargs+=( --with-thumb-interwork=no )
>  	fi

No luck here.. Thanks though.