Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[17.1 -> 23.0] Build fail for llvm-17.0.6
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
kgdrenefort
Guru
Guru


Joined: 19 Sep 2023
Posts: 312
Location: Somewhere in the 77

PostPosted: Fri Mar 29, 2024 10:33 am    Post subject: [17.1 -> 23.0] Build fail for llvm-17.0.6 Reply with quote

Hello,

Me too I wanted problem while migrating, finally a laptop wanted to have some, it fail on llvm-17.0.6 :

Code:
# emerge --info '=sys-devel/llvm-17.0.6::gentoo'
Portage 3.0.61 (python 3.11.8-final-0, default/linux/amd64/23.0/desktop/systemd, gcc-13, glibc-2.38-r10, 6.6.16-gentoo-dist x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.6.16-gentoo-dist-x86_64-Intel-R-_Celeron-R-_CPU_N2840_@_2.16GHz-with-glibc2.38
KiB Mem:     3924528 total,   1852892 free
KiB Swap:    2097148 total,   1931260 free
Timestamp of repository gentoo: Tue, 26 Mar 2024 09:30:00 +0000
Head commit of repository gentoo: 2560a1c5b151013d1febab6b3b9b11d2574b4074
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.28.3::gentoo
dev-build/libtool:         2.4.7-r3::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.3.2::gentoo
dev-java/java-config:      2.3.3-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.75.0::gentoo
sys-apps/baselayout:       2.14-r2::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          255.3-r1::gentoo
sys-devel/binutils:        2.41-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           17.0.6::gentoo
sys-devel/gcc:             13.2.1_p20240210::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             17.0.6::gentoo
sys-devel/llvm:            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-extra-opts:
    sync-rsync-verify-max-age: 3
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://gentoo.osuosl.org/releases/amd64/binpackages/23.0/x86-64

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE @BINARY-REDISTRIBUTABLE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
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="-march=native -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 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="-march=native -O2 -pipe"
GENTOO_MIRRORS="https://mirrors.ircam.fr/pub/gentoo-distfiles/     https://gentoo.mirrors.ovh.net/gentoo-distfiles/"
LANG="fr_FR.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j2 -l2"
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 amd64 base bash-completion bluetooth branding bzip2 cairo cdda cet crypt cups curl dbus dist-kernel dri dts encode exif extras flac fontconfig gdbm gif gpm gtk gui hddtemp help iconv icu inotify ipv6 jpeg lcms libnotify libtirpc lm-sensors lzma mad man mng mp3 mp4 mpeg multilib ncurses networkmanager nls notification ogg opengl openmp pam pango pcmcia pcre pdf png policykit posix ppds readline scanner sdl seccomp sound spell ssl startup-notification svg systemd test-rust themes tiff truetype udev udisk udisks uefi unicode upower usb vim-syntax vorbis vulkan wifi wxwidgets x264 xattr xcb xft xml xorg xv xvid zlib zstd" ABI_X86="64" ADA_TARGET="gcc_12" 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 sse sse2 pclmul popcnt rdrand 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" GRUB_PLATFORMS="efi-64" 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, EMERGE_DEFAULT_OPTS, 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, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
                        Package Settings
=================================================================

sys-devel/llvm-17.0.6::gentoo was built with the following:
USE="binutils-plugin libffi ncurses xml -debug -debuginfod -doc -exegesis -libedit -test -verify-sig -xar -z3 -zstd" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) (Hexagon) (Lanai) (LoongArch) (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) -ARC -CSKY -DirectX -M68k -SPIRV -Xtensa"
FEATURES="ebuild-locks buildpkg-live multilib-strict usersandbox preserve-libs fixlafiles unmerge-logs userfetch config-protect-if-modified binpkg-docompress sandbox binpkg-dostrip binpkg-logs protect-owned assume-digests unmerge-orphans parallel-fetch usersync network-sandbox sfperms qa-unresolved-soname-deps news strict unknown-features-warn binpkg-multi-instance merge-sync pid-sandbox pkgdir-index-trusted distlocks ipc-sandbox xattr userpriv"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"


Code:
# emerge -pqv '=sys-devel/llvm-17.0.6::gentoo'
[ebuild   R   ] sys-devel/llvm-17.0.6  USE="binutils-plugin libffi ncurses xml zstd* -debug -debuginfod -doc -exegesis -libedit -test -verify-sig -xar -z3" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) (Hexagon) (Lanai) (LoongArch) (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) -ARC -CSKY -DirectX -M68k -SPIRV -Xtensa"

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

sys-devel/llvm:17

  (sys-devel/llvm-17.0.6:17/17::gentoo, ebuild scheduled for merge) USE="binutils-plugin libffi ncurses xml zstd -debug -debuginfod -doc -exegesis -libedit -test -verify-sig -xar -z3" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) (Hexagon) (Lanai) (LoongArch) (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) -ARC -CSKY -DirectX -M68k -SPIRV -Xtensa" pulled in by
    =sys-devel/llvm-17.0.6::gentoo (Argument)

  (sys-devel/llvm-17.0.6:17/17::gentoo, installed) USE="binutils-plugin libffi ncurses xml -debug -debuginfod -doc -exegesis -libedit -test -verify-sig -xar -z3 -zstd" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) (Hexagon) (Lanai) (LoongArch) (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) -ARC -CSKY -DirectX -M68k -SPIRV -Xtensa" pulled in by
    ~sys-devel/llvm-17.0.6[debug=,zstd=] required by (sys-devel/lld-17.0.6:17/17::gentoo, installed) USE="-debug -test -verify-sig -zstd" ABI_X86="(64)"
                                  ^^^^^                                                                                                                 



 * IMPORTANT: 19 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


Complete build log: https://0x0.st/XsFD.log (~3k lines)

I had a similar problem with a package, ’bison’, wanted to see if it was the origin of the problem and rebuilded right away, and now it fails on llvm-17.0.6. At least bison failed too, but didn’t get too much into it to be honest.

I know I do not have much space left on this laptop, the only disk is 32Gib, 19Gib (64%) are used and only 11Gib left. But by greping into the .log file, I do not see a relevant message about disk space.

Other (maybe) relevant informations:

Code:
root@lilith ~ # eselect profile list | grep "*"
  [24]  default/linux/amd64/23.0/desktop/systemd (stable) *


Code:
root@lilith ~ # eselect kernel list | grep "*"
  [1]   linux-6.6.21-gentoo-dist *


Code:
root@lilith ~ # uname -a
Linux lilith 6.6.16-gentoo-dist #1 SMP PREEMPT_DYNAMIC Tue Feb  6 12:30:47 -00 2024 x86_64 Intel(R) Celeron(R) CPU N2840 @ 2.16GHz GenuineIntel GNU/Linux


Code:
root@lilith ~ # cat /etc/portage/make.conf
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
COMMON_FLAGS="-march=native -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"

# NEVER CHANGE THAT VALUE YOU TWAT
MAKEOPTS="-j2 -l2"

USE="-kde -qt5 -qt6 -dvd -cdr -css -doc -dvdr -elogind -emacs -gtk-doc -handbook -ios -ipod -plasma -webkit -webengine -wayland base bluetooth extras help notification themes X xorg acpi bash-completion curl dist-kernel fontconfig hddtemp inotify ipv6 lm-sensors man ncurses networkmanager pcmcia pcre posix scanner sound spell systemd udisk uefi unicode upower usb vim-syntax wifi x264 xattr"

VIDEO_CARDS="intel"

# NOTE: This stage was built with the bindist Use flag enabled

# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C.utf8

GENTOO_MIRRORS="https://mirrors.ircam.fr/pub/gentoo-distfiles/ \
    https://gentoo.mirrors.ovh.net/gentoo-distfiles/"

ACCEPT_LICENSE="-* @FREE @BINARY-REDISTRIBUTABLE"

GRUB_PLATFORMS="efi-64"


I do not use binpackage, the laptop compiles everything beside kernel that is from the binary:

Code:
sys-kernel/gentoo-kernel-bin


So far I do not remember having a single problem in the migrating process from the news, I do not missed to first build gcc instead of glibc too.

This laptop is also very weak, only 2 cores and 2Gib of ram aside 4Gib of swap (file), swappiness is set to 1.

The laptop didn’t crashed while compiling and so far from what I saw while monitoring it, it was OK, even usable while compiling.

The laptop, if it may helps somehow, is a Chromebook C200M with libreboot, without ChromeOS.

If you need more informations, please ask.

Regards,
GASPARD DE RENEFORT Kévin
_________________
Traduction wiki, pour praticiper.
Custom logos/biz card/website.
Back to top
View user's profile Send private message
kgdrenefort
Guru
Guru


Joined: 19 Sep 2023
Posts: 312
Location: Somewhere in the 77

PostPosted: Fri Mar 29, 2024 10:37 am    Post subject: Reply with quote

Well, by reading further my output I can highlight this:

Quote:
!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:


(see output of emerge -pqv '=sys-devel/llvm-17.0.6::gentoo')

So it is about a version to choose ?

Or the flag ’zstd’ seems to be missing ?

Regards,
GASPARD DE RENEFORT Kévin
_________________
Traduction wiki, pour praticiper.
Custom logos/biz card/website.
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2387

PostPosted: Fri Mar 29, 2024 10:45 am    Post subject: Reply with quote

kgdrenefort wrote:
Well, by reading further my output I can highlight this:

Quote:
!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:


(see output of emerge -pqv '=sys-devel/llvm-17.0.6::gentoo')

So it is about a version to choose ?

Or the flag ’zstd’ seems to be missing ?

Regards,
GASPARD DE RENEFORT Kévin


None of the above:

Code:
internal compiler error: Segmentation fault


Any optimizations like LTO, PGO, -O3?

Check this too:

Code:
dmesg | grep oom


Best Regards,
Georgi
Back to top
View user's profile Send private message
kgdrenefort
Guru
Guru


Joined: 19 Sep 2023
Posts: 312
Location: Somewhere in the 77

PostPosted: Fri Mar 29, 2024 1:15 pm    Post subject: Reply with quote

logrusx wrote:
Any optimizations like LTO, PGO, -O3?


I never do that, so I’ll safely assume no. I keep as you can see in my make.conf this:

Code:
COMMON_FLAGS="-march=native -O2 -pipe"


Also, your command:

Code:
dmesg | grep oom


Just return nothing.

If you suspect a problem of power from the laptop, I already wondered if lowering the -j2 to -j1 would help, but this laptop is already taking ~2 days to reach this error. I’ll need binpackage host some days ;).

Thanks for your time.

Regards,
GASPARD DE RENEFORT Kévin
_________________
Traduction wiki, pour praticiper.
Custom logos/biz card/website.
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2387

PostPosted: Fri Mar 29, 2024 1:19 pm    Post subject: Reply with quote

kgdrenefort wrote:


Also, your command:

Code:
dmesg | grep oom


Just return nothing.

If you suspect a problem of power from the laptop


Sorry, it has been a long time since it happened to me (I have 32GB RAM now...). It might need to be OOM - uppercase letters. I suspect low memory condition.

Best Regards,
Georgi
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22601

PostPosted: Fri Mar 29, 2024 2:52 pm    Post subject: Reply with quote

Out-of-memory killer should result in Killed, not Segmentation fault. Even so, inspecting dmesg around the time of the failure may be useful.
Back to top
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 3005
Location: Edge of marsh USA

PostPosted: Fri Mar 29, 2024 3:57 pm    Post subject: Reply with quote

If maybe oom, "dmesg | grep -i oom" is case insensitive.
_________________
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi
Back to top
View user's profile Send private message
kgdrenefort
Guru
Guru


Joined: 19 Sep 2023
Posts: 312
Location: Somewhere in the 77

PostPosted: Fri Mar 29, 2024 5:07 pm    Post subject: Reply with quote

This is the dmesg (full in link https://bpa.st/642Q):

Code:

(… … …)
[  140.531783] pcieport 0000:00:1c.0: AER: Multiple Corrected error message received from 0000:01:00.0
[  140.531946] iwlwifi 0000:01:00.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  140.531980] iwlwifi 0000:01:00.0:   device [8086:08b1] error status/mask=00000001/00002000
[  140.532010] iwlwifi 0000:01:00.0:    [ 0] RxErr                  (First)
[  938.080045] i915 0000:00:02.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[ 1028.547034] perf: interrupt took too long (2531 > 2500), lowering kernel.perf_event_max_sample_rate to 78900
[ 1370.888743] perf: interrupt took too long (3171 > 3163), lowering kernel.perf_event_max_sample_rate to 63000
[ 1923.999125] perf: interrupt took too long (3964 > 3963), lowering kernel.perf_event_max_sample_rate to 50400
[ 2728.446045] perf: interrupt took too long (4967 > 4955), lowering kernel.perf_event_max_sample_rate to 40200
[ 4429.258190] perf: interrupt took too long (6214 > 6208), lowering kernel.perf_event_max_sample_rate to 32100
[31168.778812] wlp1s0: Connection to AP 8c:97:ea:e4:51:f0 lost
[31172.350663] wlp1s0: authenticate with 8c:97:ea:e4:51:f4
[31172.354139] wlp1s0: send auth to 8c:97:ea:e4:51:f4 (try 1/3)
[31172.356322] wlp1s0: authenticated
[31172.357160] wlp1s0: associate with 8c:97:ea:e4:51:f4 (try 1/3)
[31172.358904] wlp1s0: RX AssocResp from 8c:97:ea:e4:51:f4 (capab=0x1011 status=0 aid=1)
[31172.370779] wlp1s0: associated
[31172.445906] wlp1s0: Limiting TX power to 23 (23 - 0) dBm as advertised by 8c:97:ea:e4:51:f4
[86657.101946] Adding 2097148k swap on /swapfile.  Priority:-2 extents:1 across:2097148k SS
[168338.904553] systemd[1]: systemd 255 running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL -ELFUTILS -FIDO2 +IDN2 -IDN -IPTC +KMOD -LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY -P11KIT -QRENCODE -TPM2 -BZIP2 +LZ4 +XZ -ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP -SYSVINIT default-hierarchy=unified)
[168338.905004] systemd[1]: Detected architecture x86-64.
[260067.467130] pcieport 0000:00:1c.0: AER: Multiple Corrected error message received from 0000:01:00.0
[260067.467188] pcieport 0000:00:1c.0: PCIe Bus Error: severity=Corrected, type=Data Link Layer, (Transmitter ID)
[260067.467213] pcieport 0000:00:1c.0:   device [8086:0f48] error status/mask=00001000/00002000
[260067.467239] pcieport 0000:00:1c.0:    [12] Timeout
[260067.467261] iwlwifi 0000:01:00.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Transmitter ID)
[260067.467266] iwlwifi 0000:01:00.0:   device [8086:08b1] error status/mask=00001001/00002000
[260067.467271] iwlwifi 0000:01:00.0:    [ 0] RxErr                  (First)
[260067.467276] iwlwifi 0000:01:00.0:    [12] Timeout
[260067.467281] iwlwifi 0000:01:00.0: AER:   Error of this Agent is reported first


Nothing rings a bell to me. No "Killed" or "OOM" in it either.

If the only suspicion around is a problem of memory, I can try (see you in 4 days !) to remove some big package and retry this build but with "-j1" maybe ?

Regards,
GASPARD DE RENEFORT Kévin
_________________
Traduction wiki, pour praticiper.
Custom logos/biz card/website.
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2387

PostPosted: Fri Mar 29, 2024 7:04 pm    Post subject: Reply with quote

kgdrenefort wrote:

If the only suspicion around is a problem of memory, I can try (see you in 4 days !) to remove some big package and retry this build but with "-j1" maybe ?


I think that would be unnecessary, you have enough RAM and we haven't seen a sign of gcc being killed because of low memory.

Only now I notice what's your processor. I can't imagine how I lived with a Core 2 Duo E6200, a CPU from 2008 up until the end of 2021 but I can imagine the experience is similar for you now. You should be using the binhost repo and not torturing yourself.

And yes, the concern is still memory, although another kind of concern. Could you test your memory with memtest86+ overnight? It's better if it can do at least 8 passes.

Best Regards,
Georgi
Back to top
View user's profile Send private message
kgdrenefort
Guru
Guru


Joined: 19 Sep 2023
Posts: 312
Location: Somewhere in the 77

PostPosted: Fri Mar 29, 2024 7:25 pm    Post subject: Reply with quote

All right then, running the memtest and will get back to you once it has done at least 8 passes.

Thanks for you answer.

Regards,
GASPARD DE RENEFORT Kévin
_________________
Traduction wiki, pour praticiper.
Custom logos/biz card/website.
Back to top
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 3005
Location: Edge of marsh USA

PostPosted: Fri Mar 29, 2024 9:10 pm    Post subject: Reply with quote

Yes try -j1. You may not have enough RAM for -j2 with some packages. You may also find portage needs more build space.
_________________
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi
Back to top
View user's profile Send private message
kgdrenefort
Guru
Guru


Joined: 19 Sep 2023
Posts: 312
Location: Somewhere in the 77

PostPosted: Sat Mar 30, 2024 9:19 am    Post subject: Reply with quote

Hi,

18 passes made, no error.

I’ll try with -j1 for curiosity before moving to binpacking.

I let this topic open for the next days and will update it.

Thanks for your time everyone.

Regards,
GASPARD DE RENEFORT Kévin
_________________
Traduction wiki, pour praticiper.
Custom logos/biz card/website.
Back to top
View user's profile Send private message
kgdrenefort
Guru
Guru


Joined: 19 Sep 2023
Posts: 312
Location: Somewhere in the 77

PostPosted: Mon Apr 01, 2024 11:08 am    Post subject: Reply with quote

Some update: The paper-weight that is called a «laptop» is still compiling without problem, otherwise being slow.

I've managed, I hope, to generate a proper sets of binary on my main desktop into a nspawn made as a binhost.

I guess it's better to let finish the paper-weight/laptop to finish it's work before going on installing the binaries ?

Regards,
GASPARD DE RENEFORT Kévin
_________________
Traduction wiki, pour praticiper.
Custom logos/biz card/website.
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2387

PostPosted: Mon Apr 01, 2024 12:34 pm    Post subject: Reply with quote

kgdrenefort wrote:

I guess it's better to let finish the paper-weight/laptop to finish it's work before going on installing the binaries ?

Regards,
GASPARD DE RENEFORT Kévin


You only need working python and bash so that you can run portage to be able to install binary packages. If are you're in the middle of compiling something big like chromium ot webkit or qtwebengine or nodejs, chances are you've already installed the critical parts of the system.

Best Regards,
Georgi
Back to top
View user's profile Send private message
kgdrenefort
Guru
Guru


Joined: 19 Sep 2023
Posts: 312
Location: Somewhere in the 77

PostPosted: Mon Apr 01, 2024 1:09 pm    Post subject: Reply with quote

logrusx wrote:
kgdrenefort wrote:

I guess it's better to let finish the paper-weight/laptop to finish it's work before going on installing the binaries ?

Regards,
GASPARD DE RENEFORT Kévin


You only need working python and bash so that you can run portage to be able to install binary packages. If are you're in the middle of compiling something big like chromium ot webkit or qtwebengine or nodejs, chances are you've already installed the critical parts of the system.

Best Regards,
Georgi


So, if I understand, I could stop right now and use the binpackages ? If only what you said about python & bash is true on that paper-weight/laptop, I do not have the time at the moment to check it (barely have time to answer :) ), and I  probably will wait for it to finish, at least to see if using -j1 works, or not. I’m as much curious than patient, specially how Gentoo works (or not) regarding hardware.

Then if it’s ok, I’ll try the binhost packages and see if it’s suits my needs.

Thanks.

Regards,
GASPARD DE RENEFORT Kévin
_________________
Traduction wiki, pour praticiper.
Custom logos/biz card/website.
Back to top
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 3005
Location: Edge of marsh USA

PostPosted: Mon Apr 01, 2024 5:27 pm    Post subject: Reply with quote

Let paperweight finish before doing anything else. If you interrupt, there is fairly high chance of having wasted all those electrons used in the past.
_________________
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi
Back to top
View user's profile Send private message
kgdrenefort
Guru
Guru


Joined: 19 Sep 2023
Posts: 312
Location: Somewhere in the 77

PostPosted: Mon Apr 01, 2024 6:14 pm    Post subject: Reply with quote

figueroa wrote:
Let paperweight finish before doing anything else. If you interrupt, there is fairly high chance of having wasted all those electrons used in the past.


You made me realize something, what a goofy boy I am.

When I restarted the first time the compilation after a failed build on bison package, it restarted the whole process. That lead me to thinks it has to finish the whole job before installing anything.

That is not true: -e is just asking to rebuild everything, no matter any other conditions:

man emerge
Code:
       --emptytree, -e
              Reinstalls  target  atoms and their entire deep dependency tree, as though no packages are currently installed. You should
              run this with --pretend first to make sure the result is what you expect


OP is sure lacking attention :’) !

So yeah thanks to made me realize this.

That means I could stop and restart, but since the process ask to rebuild everything, I guess there is a good and deeper explanation to this option I do not get and will, thus, avoid it.

But if it fails again, duck it, I’ll use the packages I made. Anyway the --sync is a good week or ten days old, so it’s pretty old for a Gentoo now 8O !!!

Still producing heat, will wait for the PW to works.
_________________
Traduction wiki, pour praticiper.
Custom logos/biz card/website.
Back to top
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 3005
Location: Edge of marsh USA

PostPosted: Mon Apr 01, 2024 7:57 pm    Post subject: Reply with quote

By the way, you can restart an --emptytree process with emerge --resume. In the event to a failure in a package during an --emptytree process, do emerge --skipfirst --resume. This will skip trying to emerge the failed package and continue with the --emptytree, while recomputing the dep graph for the remaining packages.
_________________
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi
Back to top
View user's profile Send private message
kgdrenefort
Guru
Guru


Joined: 19 Sep 2023
Posts: 312
Location: Somewhere in the 77

PostPosted: Mon Apr 01, 2024 7:59 pm    Post subject: Reply with quote

figueroa wrote:
By the way, you can restart an --emptytree process with emerge --resume. In the event to a failure in a package during an --emptytree process, do emerge --skipfirst --resume. This will skip trying to emerge the failed package and continue with the --emptytree, while recomputing the dep graph for the remaining packages.


Aaaand I would loved to know that before restarting the process, a few days ago.

Thanks for that great tip, didn’t think of it before, even if I know this option…
_________________
Traduction wiki, pour praticiper.
Custom logos/biz card/website.
Back to top
View user's profile Send private message
thumper
Guru
Guru


Joined: 06 Dec 2002
Posts: 554
Location: Venice FL

PostPosted: Tue Apr 02, 2024 12:13 am    Post subject: Reply with quote

I had the same (llvm would not build) problem, nor clang.
My system's reason was I tweaked compile flags some time back in /etc/portage/package.env, and they broke in profile 23.
Code:
sys-devel/llvm toolchain.conf
sys-devel/lld toolchain.conf
sys-devel/clang toolchain.conf

I removed those from package.env, and they built fine after that.

George
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
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