View previous topic :: View next topic |
Author |
Message |
denn0n Tux's lil' helper
Joined: 24 May 2020 Posts: 87
|
Posted: Tue Nov 08, 2022 4:17 am Post subject: compiling sys-devel/llvm-15.0.3 error on fresh install arm64 |
|
|
Hi i just are doing
Code: | emerge --ask --verbose --update --deep --newuse @world |
for first time on a stage3 arm64 and breaks on llvm
Code: | [2135/3227] /usr/bin/aarch64-unknown-linux-gnu-g++ -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/var/tmp/portage/sys-devel/llvm-15.0.3/work/llvm_build-.arm64/lib/Target/RISCV -I/var/tmp/portage/sys-devel/llvm-15.0.3/work/llvm/lib/Target/RISCV -I/var/tmp/portage/sys-devel/llvm-15.0.3/work/llvm_build-.arm64/include -I/var/tmp/portage/sys-devel/llvm-15.0.3/work/llvm/include -DNDEBUG -march=armv8-a+crc -mtune=cortex-a53 -O2 -pipe -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fvisibility=hidden -std=c++14 -MD -MT lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVISelLowering.cpp.o -MF lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVISelLowering.cpp.o.d -o lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVISelLowering.cpp.o -c /var/tmp/portage/sys-devel/llvm-15.0.3/work/llvm/lib/Target/RISCV/RISCVISelLowering.cpp
ninja: build stopped: subcommand failed.
* ERROR: sys-devel/llvm-15.0.3::gentoo failed (compile phase):
* ninja -v -j4 -l0 distribution failed
*
* Call stack:
* ebuild.sh, line 122: Called src_compile
* environment, line 3987: Called multilib-minimal_src_compile
* environment, line 2784: Called multilib_foreach_abi 'multilib-minimal_abi_src_compile'
* environment, line 3051: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
* environment, line 2744: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
* environment, line 2742: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile'
* environment, line 609: Called multilib-minimal_abi_src_compile
* environment, line 2778: Called multilib_src_compile
* environment, line 3271: Called cmake_build 'distribution'
* environment, line 1513: Called eninja 'distribution'
* environment, line 1964: Called die
* The specific snippet of code:
* "$@" || die "${nonfatal_args[@]}" "${*} failed"
*
* If you need support, post the output of `emerge --info '=sys-devel/llvm-15.0.3::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-devel/llvm-15.0.3::gentoo'`.
* The complete build log is located at '/var/tmp/portage/sys-devel/llvm-15.0.3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-devel/llvm-15.0.3/temp/environment'.
* Working directory: '/var/tmp/portage/sys-devel/llvm-15.0.3/work/llvm_build-.arm64'
* S: '/var/tmp/portage/sys-devel/llvm-15.0.3/work/llvm'
>>> Failed to emerge sys-devel/llvm-15.0.3, Log file:
>>> '/var/tmp/portage/sys-devel/llvm-15.0.3/temp/build.log'
* Messages for package dev-lang/rust-bin-1.64.0-r1:
* Rust installs a helper script for calling GDB now,
* for your convenience it is installed under /usr/bin/rust-gdb-bin-1.64.0.
* Messages for package sys-libs/pam-1.5.2-r2:
* Some software with pre-loaded PAM libraries might experience
* warnings or failures related to missing symbols and/or versions
* after any update. While unfortunate this is a limit of the
* implementation of PAM and the software, and it requires you to
* restart the software manually after the update.
*
* You can get a list of such software running a command like
* lsof / | grep -E -i 'del.*libpam\.so'
*
* Alternatively, simply reboot your system.
* Messages for package dev-libs/glib-2.74.1-r1:
* Unable to find kernel sources at /usr/src/linux
* Unable to calculate Linux Kernel version for build, attempting to use running version
* Messages for package sys-devel/llvm-15.0.3:
* ERROR: sys-devel/llvm-15.0.3::gentoo failed (compile phase):
* ninja -v -j4 -l0 distribution failed
*
* Call stack:
* ebuild.sh, line 122: Called src_compile
* environment, line 3987: Called multilib-minimal_src_compile
* environment, line 2784: Called multilib_foreach_abi 'multilib-minimal_abi_src_compile'
* environment, line 3051: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
* environment, line 2744: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
* environment, line 2742: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile'
* environment, line 609: Called multilib-minimal_abi_src_compile
* environment, line 2778: Called multilib_src_compile
* environment, line 3271: Called cmake_build 'distribution'
* environment, line 1513: Called eninja 'distribution'
* environment, line 1964: Called die
* The specific snippet of code:
* "$@" || die "${nonfatal_args[@]}" "${*} failed"
*
* If you need support, post the output of `emerge --info '=sys-devel/llvm-15.0.3::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-devel/llvm-15.0.3::gentoo'`.
* The complete build log is located at '/var/tmp/portage/sys-devel/llvm-15.0.3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-devel/llvm-15.0.3/temp/environment'.
* Working directory: '/var/tmp/portage/sys-devel/llvm-15.0.3/work/llvm_build-.arm64'
* S: '/var/tmp/portage/sys-devel/llvm-15.0.3/work/llvm'
* Regenerating GNU info directory index...
* Processed 96 info files.
!!! existing preserved libs:
>>> package: app-text/qpdf-11.1.1
* - /usr/lib64/libqpdf.so.28
* - /usr/lib64/libqpdf.so.28.6.3
* used by /usr/libexec/cups/filter/bannertopdf (net-print/cups-filters-1.28.15)
* used by /usr/libexec/cups/filter/gstoraster (net-print/cups-filters-1.28.15)
* used by /usr/libexec/cups/filter/pdftopdf (net-print/cups-filters-1.28.15)
* used by /usr/libexec/cups/filter/pdftops (net-print/cups-filters-1.28.15)
* used by /usr/libexec/cups/filter/rastertopdf (net-print/cups-filters-1.28.15)
Use emerge @preserved-rebuild to rebuild packages using these libraries
* IMPORTANT: 9 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
* After world updates, it is important to remove obsolete packages with
* emerge --depclean. Refer to `man emerge` for more information.
localhost ~ #
|
Code: | localhost ~ # emerge --info '=sys-devel/llvm-15.0.3::gentoo'
Portage 3.0.38.1 (python 3.10.8-final-0, default/linux/arm64/17.0/desktop, gcc-11.3.0, glibc-2.35-r8, 5.16.17-sun50iw6 aarch64)
=================================================================
System Settings
=================================================================
System uname: Linux-5.16.17-sun50iw6-aarch64-with-glibc2.35
KiB Mem: 2032516 total, 1505744 free
KiB Swap: 2097148 total, 2087624 free
Timestamp of repository gentoo: Mon, 07 Nov 2022 06:00:01 +0000
Head commit of repository gentoo: 37258e9a9e3b5144df49a70e29c5fe11c9cd0898
sh bash 5.1_p16-r2
ld GNU ld (Gentoo 2.38 p4) 2.38
app-misc/pax-utils: 1.3.5::gentoo
app-shells/bash: 5.1_p16-r2::gentoo
dev-lang/perl: 5.34.1-r4::gentoo
dev-lang/python: 3.10.8_p2::gentoo
dev-lang/rust-bin: 1.64.0-r1::gentoo
dev-util/cmake: 3.24.2::gentoo
dev-util/meson: 0.63.2-r1::gentoo
sys-apps/baselayout: 2.8::gentoo
sys-apps/openrc: 0.45.2-r1::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.8::gentoo
sys-devel/libtool: 2.4.7::gentoo
sys-devel/llvm: 14.0.6-r2::gentoo
sys-devel/make: 4.3::gentoo
sys-kernel/linux-headers: 5.15-r3::gentoo (virtual/os-headers)
sys-libs/glibc: 2.35-r8::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="arm64"
ACCEPT_LICENSE="@FREE"
CBUILD="aarch64-unknown-linux-gnu"
CFLAGS="-march=armv8-a+crc -mtune=cortex-a53 -O2 -pipe"
CHOST="aarch64-unknown-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/sandbox.d /etc/terminfo"
CXXFLAGS="-march=armv8-a+crc -mtune=cortex-a53 -O2 -pipe"
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 XDG_STATE_HOME"
FCFLAGS="-march=armv8-a+crc -mtune=cortex-a53 -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live 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="-march=armv8-a+crc -mtune=cortex-a53 -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
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="X a52 aac acl acpi alsa arm64 bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus dri dts dvdr elogind encode exif flac fortran gdbm gif gpm gtk gui iconv icu ipv6 jpeg lcms libglvnd libnotify libtirpc mad mng mp3 mp4 mpeg ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt5 readline sdl seccomp spell split-usr ssl startup-notification svg test-rust tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" 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" CPU_FLAGS_ARM="edsp thumb thumb2 v4 v5 v6 v7 v8 vfp vfp-d32 vfpv3 vfpv4" 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" 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_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="fbdev 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, EMERGE_DEFAULT_OPTS, 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
|
../llvm-15.0.3/temp/build.log on http://0x0.st/oEIb.log
ebuild environment http://0x0.st/oEI2.txt |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31353 Location: here
|
Posted: Tue Nov 08, 2022 6:31 am Post subject: |
|
|
Code: | aarch64-unknown-linux-gnu-g++: fatal error: Killed signal terminated program cc1plus |
This mean an out of memory error, try to lower MAKEOPTS value. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
denn0n Tux's lil' helper
Joined: 24 May 2020 Posts: 87
|
Posted: Wed Nov 09, 2022 5:12 am Post subject: |
|
|
fedeliallalinea wrote: | Code: | aarch64-unknown-linux-gnu-g++: fatal error: Killed signal terminated program cc1plus |
This mean an out of memory error, try to lower MAKEOPTS value. |
Thank You ! fedeliallalinea |
|
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
|
|