Created attachment 775835 [details] build.log.xz rust-bin works fine though. ---- [psm 0.1.16] OPT_LEVEL = Some("3") [psm 0.1.16] TARGET = Some("s390x-unknown-linux-gnu") [psm 0.1.16] HOST = Some("s390x-unknown-linux-gnu") [psm 0.1.16] CC_s390x-unknown-linux-gnu = Some("s390x-ibm-linux-gnu-gcc") [psm 0.1.16] CFLAGS_s390x-unknown-linux-gnu = None [psm 0.1.16] CFLAGS_s390x_unknown_linux_gnu = None [psm 0.1.16] HOST_CFLAGS = None [psm 0.1.16] CFLAGS = None [psm 0.1.16] CRATE_CC_NO_DEFAULTS = None [psm 0.1.16] DEBUG = Some("false") [psm 0.1.16] CARGO_CFG_TARGET_FEATURE = None [psm 0.1.16] cargo:rustc-cfg=asm [psm 0.1.16] cargo:rustc-cfg=switchable_stack [psm 0.1.16] running: "s390x-ibm-linux-gnu-gcc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-Wall" "-Wextra" "-xassembler-with-cpp" "-DCFG_TARGET_OS_linux" "-DCFG_TARGET_ARCH_s390x" "-DCFG_TARGET_ENV_gnu" "-o" "/var/tmp/portage/dev-lang/rust-1.60.0/work/rustc-1.60.0-src/build/s390x-unknown-linux-gnu/stage0-rustc/s390x-unknown-linux-gnu/release/build/psm-98fcc63b9de293c6/out/src/arch/zseries_linux.o" "-c" "src/arch/zseries_linux.s" [psm 0.1.16] cargo:warning=src/arch/zseries_linux.s: Assembler messages: [psm 0.1.16] cargo:warning=src/arch/zseries_linux.s:49: Error: Unrecognized opcode: `lay' [psm 0.1.16] cargo:warning=src/arch/zseries_linux.s:63: Error: operand out of range (0xfffffffffffffff0 is not between 0x0000000000000000 and 0x0000000000000fff) [psm 0.1.16] cargo:warning=src/arch/zseries_linux.s:64: Error: Unrecognized opcode: `lay' [psm 0.1.16] [psm 0.1.16] [psm 0.1.16] error occurred: Command "s390x-ibm-linux-gnu-gcc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-Wall" "-Wextra" "-xassembler-with-cpp" "-DCFG_TARGET_OS_linux" "-DCFG_TARGET_ARCH_s390x" "-DCFG_TARGET_ENV_gnu" "-o" "/var/tmp/portage/dev-lang/rust-1.60.0/work/rustc-1.60.0-src/build/s390x-unknown-linux-gnu/stage0-rustc/s390x-unknown-linux-gnu/release/build/psm-98fcc63b9de293c6/out/src/arch/zseries_linux.o" "-c" "src/arch/zseries_linux.s" with args "s390x-ibm-linux-gnu-gcc" did not execute successfully (status code exit status: 1). [psm 0.1.16] [psm 0.1.16] The following warnings were emitted during compilation: warning: src/arch/zseries_linux.s: Assembler messages: warning: src/arch/zseries_linux.s:49: Error: Unrecognized opcode: `lay' warning: src/arch/zseries_linux.s:63: Error: operand out of range (0xfffffffffffffff0 is not between 0x0000000000000000 and 0x0000000000000fff) warning: src/arch/zseries_linux.s:64: Error: Unrecognized opcode: `lay' [psm 0.1.16] exit status: 1 error: failed to run custom build command for `psm v0.1.16` ---- Portage 3.0.30 (python 3.9.12-final-0, default/linux/s390/17.0/s390x, gcc-11.3.0, glibc-2.35-r4, 5.16.4 s390x) ================================================================= System uname: Linux-5.16.4-s390x-8561-with-glibc2.35 KiB Mem: 2055648 total, 419248 free KiB Swap: 1147732 total, 1107672 free Timestamp of repository gentoo: Sun, 01 May 2022 22:15:01 +0000 Head commit of repository gentoo: 9eba8e0ea0c7295dbe2a7e9a74a033ed9bed99bc sh bash 5.1_p16 ld GNU ld (Gentoo 2.38 p4) 2.38 app-misc/pax-utils: 1.3.4::gentoo app-shells/bash: 5.1_p16::gentoo dev-lang/perl: 5.34.1-r3::gentoo dev-lang/python: 3.9.12::gentoo, 3.10.4::gentoo dev-lang/rust-bin: 1.60.0::gentoo dev-util/cmake: 3.23.1::gentoo dev-util/meson: 0.61.4-r2::gentoo sys-apps/baselayout: 2.8::gentoo sys-apps/openrc: 0.44.10::gentoo sys-apps/sandbox: 2.29::gentoo sys-devel/autoconf: 2.71-r1::gentoo sys-devel/automake: 1.16.5::gentoo sys-devel/binutils: 2.38-r2::gentoo sys-devel/binutils-config: 5.4.1::gentoo sys-devel/gcc: 11.3.0::gentoo sys-devel/gcc-config: 2.5-r1::gentoo sys-devel/libtool: 2.4.7::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.17-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.35-r4::gentoo Repositories: gentoo location: /bound/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: sync-rsync-verify-max-age: 24 ACCEPT_KEYWORDS="s390 ~s390" ACCEPT_LICENSE="*" CBUILD="s390x-ibm-linux-gnu" CFLAGS="-O2 -pipe -fdiagnostics-show-option -frecord-gcc-switches" CHOST="s390x-ibm-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe" DISTDIR="/bound/distfiles" EMERGE_DEFAULT_OPTS=" --with-bdeps=y --deep --complete-graph --keep-going" 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" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live cgroup 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" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C.UTF8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu" MAKEOPTS="-j3 -l3" 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" SHELL="/bin/bash" USE="acl big-endian bzip2 cli crypt dri fortran gdbm iconv ipv6 ncurses nls nptl openmp pam pcre readline s390 seccomp split-usr ssl suid unicode xattr zlib" ABI_S390="64" ADA_TARGET="gnat_2020" 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" 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="void libinput" KERNEL="linux" L10N="en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26 ruby27 ruby30 ruby31" USERLAND="GNU" VIDEO_CARDS="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: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS