View previous topic :: View next topic |
Author |
Message |
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3728 Location: Rasi, Finland
|
Posted: Tue Mar 12, 2024 9:35 am Post subject: nodejs-20.11.0 complilation failure |
|
|
I know someone here knows why nodejs fails every time on one of my boxes.
accees the build log: | curl -s https://dpaste.com/G6VD58XQH.txt | base64 -d | bzcat | ... yeah. It's too big of a log, so I had to resort in this trickery.
I've been using gentoo binhost as a backup and if in hurry I'll pull packages from it.
Then sometimes when there's more time to leave this box alone for... a day and a half, I bluntly run emerge -e @world.
emerge --info: | Portage 3.0.61 (python 3.11.8-final-0, default/linux/amd64/17.1/desktop, gcc-13, glibc-2.38-r10, 6.1.74-gentoo-dist x86_64)
=================================================================
System uname: Linux-6.1.74-gentoo-dist-x86_64-Intel-R-_Celeron-R-_2955U_@_1.40GHz-with-glibc2.38
KiB Mem: 16244008 total, 2639516 free
KiB Swap: 20971516 total, 20970748 free
Timestamp of repository gentoo: Sun, 10 Mar 2024 19:30:00 +0000
Head commit of repository gentoo: 7608be1fa4d2695e95b14341a3de6f346b87682f
Timestamp of repository guru: Sun, 10 Mar 2024 12:03:21 +0000
Head commit of repository guru: 0b599eb303417e06663eced45a754611f6b63013
Head commit of repository zucca: c72e12aae3becdac6f2dbbfc71cd45cda47c4349
sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.41 p5) 2.41.0
app-misc/pax-utils: 1.3.7::gentoo
app-shells/bash: 5.1_p16-r6::gentoo
dev-build/autoconf: 2.13-r8::gentoo, 2.71-r6::gentoo
dev-build/automake: 1.16.5-r2::gentoo
dev-build/cmake: 3.27.9::gentoo
dev-build/libtool: 2.4.7-r2::gentoo
dev-build/make: 4.4.1-r1::gentoo
dev-build/meson: 1.3.1-r1::gentoo
dev-lang/perl: 5.38.2-r2::gentoo
dev-lang/python: 3.11.8_p1::gentoo, 3.12.2_p1::gentoo
dev-lang/rust-bin: 1.74.1::gentoo
sys-apps/baselayout: 2.14-r2::gentoo
sys-apps/openrc: 0.53::gentoo
sys-apps/sandbox: 2.38::gentoo
sys-devel/binutils: 2.41-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang: 16.0.6::gentoo, 17.0.6::gentoo
sys-devel/gcc: 13.2.1_p20240113-r1::gentoo
sys-devel/gcc-config: 2.11::gentoo
sys-devel/lld: 17.0.6::gentoo
sys-devel/llvm: 16.0.6::gentoo, 17.0.6::gentoo
sys-kernel/linux-headers: 6.6::gentoo (virtual/os-headers)
sys-libs/glibc: 2.38-r10::gentoo
Repositories:
gentoo
location: /var/db/repos/gentoo
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
volatile: False
sync-rsync-verify-metamanifest: yes
sync-rsync-extra-opts:
sync-rsync-verify-max-age: 3
sync-rsync-verify-jobs: 1
guru
location: /var/db/repos/guru
sync-type: git
sync-uri: https://github.com/gentoo-mirror/guru.git
masters: gentoo
volatile: False
zucca
location: /var/db/repos/zucca
sync-type: git
sync-uri: https://codeberg.org/Zucca/gentoo-overlay.git
masters: gentoo
priority: 1000
volatile: False
Binary Repositories:
gentoo_binhost
priority: 9999
sync-uri: ftp://ftp.fi.muni.cz/pub/linux/gentoo/releases/amd64/binpackages/17.1/x86-64
Installed sets: @boot, @cage, @core, @gui, @mame, @www
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE @FREE -@EULA intel-ucode NPSL freedist linux-fw-redistributable no-source-code XMAME"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=haswell -mtune=haswell -mabm -mno-avx -mno-avx2 -mno-bmi -mno-bmi2 -mno-f16c -mno-fma -mno-hle --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=2048"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=haswell -mtune=haswell -mabm -mno-avx -mno-avx2 -mno-bmi -mno-bmi2 -mno-f16c -mno-fma -mno-hle --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=2048"
DISTDIR="/var/cache/pkg/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask-keep-masks --nospinner --jobs=4 --load-average=1.8 --keep-going y --deep 16 --getbinpkg y --usepkg y --binpkg-respect-use y --buildpkg"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME"
FCFLAGS="-O2 -pipe -march=haswell -mtune=haswell -mabm -mno-avx -mno-avx2 -mno-bmi -mno-bmi2 -mno-f16c -mno-fma -mno-hle --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=2048"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted 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=haswell -mtune=haswell -mabm -mno-avx -mno-avx2 -mno-bmi -mno-bmi2 -mno-f16c -mno-fma -mno-hle --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=2048"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="--jobs=2 --load-average=2.2"
PKGDIR="/var/cache/pkg/binpkgs"
PORTAGE_COMPRESS="gzip"
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="/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 apng bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus dri dts dvd dvdr encode exif flac fortran gdbm gif gles2 gpm gtk gui iconv icu ipv6 jpeg lcms libnotify libtirpc lvm lvm2 mad mng mp3 mp4 mpeg multilib ncurses nls ogg opengl openmp openrc pam pango pcre pdf png policykit postproc ppds readline refind sdl seccomp sound spell split-usr ssl startup-notification svg system-act system-av1 system-boost system-bootloader system-bootstrap system-crontab system-ffmpeg system-harfbuzz system-heimdal system-icu system-info system-ipxe system-jpeg system-lcms system-leveldb system-libcxx system-libevent system-librnp system-libsecp256k1 system-libvpx system-libyaml system-llvm system-lua system-lz4 system-man system-mathjax system-mimalloc system-mitkrb5 system-mongodb system-mspack system-png system-protoc system-python-libs system-qemu system-quazip system-seabios system-service system-sqlite system-ssl system-toolchain system-webp system-wfconfig system-wide system-wlroots system-zlib system-zstd sysv-utils test-rust tiff truetype udev udisks unicode upower usb vorbis vulkan wayland wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio 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_X86="mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto 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, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS |
_________________ ..: Zucca :..
My gentoo installs: | init=/sbin/openrc-init
-systemd -logind -elogind seatd |
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2451
|
Posted: Tue Mar 12, 2024 10:29 am Post subject: |
|
|
Relevant output:
Code: | x86_64-pc-linux-gnu-gcc -MMD -MF obj/deps/base64/base64/lib/arch/avx512/base64_avx512.codec.o.d -D_GLIBCXX_USE_CXX11_ABI=1 -DNODE_OPENSSL_CONF_NAME=nodejs_conf -DNODE_OPENSSL_CERT_STORE -DICU_NO_USER_DATA_OVERRIDE -D__STDC_FORMAT_MACROS -DBASE64_STATIC_DEFINE -DHAVE_AVX512=1 -I../../deps/base64/base64/include -I../../deps/base64/base64/lib -pthread -Wall -Wextra -Wno-unused-parameter -mavx512vl -mavx512vbmi -m64 -fno-omit-frame-pointer -O2 -pipe -march=haswell -mtune=haswell -mabm -mno-avx -mno-avx2 -mno-bmi -mno-bmi2 -mno-f16c -mno-fma -mno-hle --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=2048 -c ../../deps/base64/base64/lib/arch/avx512/codec.c -o obj/deps/base64/base64/lib/arch/avx512/base64_avx512.codec.o
In file included from ../../deps/base64/base64/lib/arch/avx512/codec.c:14:
../../deps/base64/base64/lib/arch/avx512/../avx2/dec_reshuffle.c: In function ‘dec_reshuffle’:
../../deps/base64/base64/lib/arch/avx512/../avx2/dec_reshuffle.c:3:1: warning: AVX vector return without AVX enabled changes the ABI [-Wpsabi]
3 | {
| ^
In file included from ../../deps/base64/base64/lib/arch/avx512/codec.c:16:
../../deps/base64/base64/lib/arch/avx512/enc_reshuffle_translate.c: In function ‘enc_reshuffle_translate’:
../../deps/base64/base64/lib/arch/avx512/enc_reshuffle_translate.c:6:1: warning: AVX512F vector return without AVX512F enabled changes the ABI [-Wpsabi]
6 | {
| ^
../../deps/base64/base64/lib/arch/avx512/enc_reshuffle_translate.c:5:1: note: the ABI for passing parameters with 64-byte alignment has changed in GCC 4.6
5 | enc_reshuffle_translate (const __m512i input)
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/immintrin.h:51,
from ../../deps/base64/base64/lib/arch/avx512/codec.c:12:
/usr/lib/gcc/x86_64-pc-linux-gnu/13/include/avx2intrin.h: In function ‘dec_reshuffle’:
/usr/lib/gcc/x86_64-pc-linux-gnu/13/include/avx2intrin.h:1044:1: error: inlining failed in call to ‘always_inline’ ‘_mm256_permutevar8x32_epi32’: target specific option mismatch
|
I think there was such a thread recently. I'll withhold trying to remember what it was because I'm not sure I understood it correctly.
EDIT: ah, it turned out to be easy to find it: https://forums.gentoo.org/viewtopic-t-1167393-highlight-nodejs.html
Best regards,
Georgi |
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3728 Location: Rasi, Finland
|
Posted: Tue Mar 12, 2024 5:43 pm Post subject: |
|
|
Moved from Portage & Programming to Duplicate Threads.
Thanks! I'll probably create a special env file for nodejs then. _________________ ..: Zucca :..
My gentoo installs: | init=/sbin/openrc-init
-systemd -logind -elogind seatd |
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|