Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Résolut] Gentoo new install error llvm
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
BenMitnick
n00b
n00b


Joined: 18 Nov 2011
Posts: 20

PostPosted: Thu Apr 10, 2025 10:22 am    Post subject: [Résolut] Gentoo new install error llvm Reply with quote

Bonjour,

j'ai une erreur lors de la compilation erreur sur llvm. J'en ai eu plusieurs j'ai tester plusieurs options car ayant eux le même soucis sur ce POST ou je l'avais installer sur une VM et j'ai réussit a compiler en changeant MAKEOPS="--jobs=4" ... La j'ai essayer beaucoup de choses mais toujours erreur a la compile et j'ai changé -marche=native à -march=skylake ainsi que --jobs=1 et la compile et aller plus loin mais à quand même planter

j'utilise ce Tutos et je suis a ce niveau @world

emerge --info '=llvm-core/llvm-19.1.7::gentoo'

Code:
Portage 3.0.67 (python 3.12.9-final-0, default/linux/amd64/23.0/desktop/systemd, gcc-14, glibc-2.40-r8, 6.12.16-gentoo-dist x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.12.16-gentoo-dist-x86_64-Intel-R-_Core-TM-_i7-10510U_CPU_@_1.80GHz-with-glibc2.40
KiB Mem:    16110864 total,   2217096 free
KiB Swap:    3145724 total,   3011324 free
Timestamp of repository gentoo: Wed, 09 Apr 2025 11:45:00 +0000
Head commit of repository gentoo: 3b27359263a47502f206108c96a7df2b9f75b281
sh bash 5.2_p37
ld GNU ld (Gentoo 2.43 p3) 2.43.1
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo, 1.17-r1::gentoo
dev-build/cmake:           3.31.5::gentoo
dev-build/libtool:         2.5.4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.7.0::gentoo
dev-lang/perl:             5.40.0-r1::gentoo
dev-lang/python:           3.12.9::gentoo, 3.13.2::gentoo
dev-lang/rust-bin:         1.83.0::gentoo, 1.84.1-r2::gentoo
llvm-core/clang:           18.1.8-r6::gentoo, 19.1.4::gentoo
llvm-core/llvm:            18.1.8-r6::gentoo, 19.1.4::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-apps/systemd:          256.10::gentoo
sys-devel/binutils:        2.43-r2::gentoo, 2.44::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc:             14.2.1_p20241221::gentoo
sys-devel/gcc-config:      2.12.1::gentoo
sys-kernel/linux-headers:  6.12::gentoo (virtual/os-headers)
sys-libs/glibc:            2.40-r8::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-verify-max-age: 3
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts:

Binary Repositories:

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

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=skylake -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /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"
CXXFLAGS="-march=skylake -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=skylake -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 merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=skylake -O2 -pipe"
GENTOO_MIRRORS="http://tux.rainside.sk/gentoo/     ftp://tux.rainside.sk/gentoo/"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="--jobs 1"
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 bluetooth branding bzip2 cairo cdda cdr cet crypt cups dbus dri dts dvd dvdr encode exif flac gdbm gif gpm gtk gui iconv icu ipv6 jpeg kf6compat lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls ogg opengl openmp pam pango pcre pdf png policykit ppds qml qt5 qt6 readline sdl seccomp sound spell ssl startup-notification svg systemd 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="gcc_14" 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="aes avx avx2 f16c fma3 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 navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" 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-2" POSTGRES_TARGETS="postgres17" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby32" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy" 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


emerge -pqv '=llvm-core/llvm-19.1.7::gentoo'

Code:
[ebuild     U ] llvm-core/llvm-19.1.7 [19.1.4] USE="binutils-plugin libffi xml zstd -debug (-debuginfod) -doc -exegesis -libedit -test -verify-sig -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:

llvm-core/llvm:19

  (llvm-core/llvm-19.1.7:19/19.1::gentoo, ebuild scheduled for merge) USE="binutils-plugin libffi xml zstd -debug (-debuginfod) -doc -exegesis -libedit -test -verify-sig -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
    =llvm-core/llvm-19.1.7::gentoo (Argument)

  (llvm-core/llvm-19.1.4-1:19/19.1::gentoo, installed) USE="binutils-plugin libffi xml zstd -debug (-debuginfod) -doc -exegesis -libedit -test -verify-sig -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
    ~llvm-core/llvm-19.1.4[llvm_targets_LoongArch] required by (llvm-core/clang-19.1.4-1:19/19.1::gentoo, installed) USE="extra (pie) static-analyzer xml -debug -doc (-ieee-long-double) -test -verify-sig" 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" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11 -python3_13"
    ^               ^^^^^^                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
    (and 20 more with the same problem)

NOTE: Use the '--verbose-conflicts' option to display parents omitted above


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


Build.log

Make.conf

Code:
# 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=skylake -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"

# 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="http://tux.rainside.sk/gentoo/ \
    ftp://tux.rainside.sk/gentoo/"

CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3"

MAKEOPTS="--jobs 1"


Last edited by BenMitnick on Fri Apr 11, 2025 4:26 pm; edited 1 time in total
Back to top
View user's profile Send private message
netfab
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1993
Location: 127.0.0.1

PostPosted: Thu Apr 10, 2025 11:51 am    Post subject: Reply with quote

Salut,

Quote:

La j'ai essayer beaucoup de choses mais toujours erreur a la compile

À chacun de tes essais, l'erreur est t'elle toujours exactement la même au même endroit ?

L'erreur de ton log :
Quote:

/var/tmp/portage/llvm-core/llvm-19.1.7/work/llvm/include/llvm/ADT/iterator.h:235:7: internal compiler error: Segmentation fault
235 | class iterator_adaptor_base
| ^~~~~~~~~~~~~~~~~~~~~
0x555ad10c040d internal_error(char const*, ...)
???:0
0x555acf7b193f finish_struct_1(tree_node*)
???:0

Si l'erreur n'est pas exactement reproductible, tu devrais vérifier si ta RAM n'est pas défaillante en faisant plusieurs passes de memtest.
Back to top
View user's profile Send private message
BenMitnick
n00b
n00b


Joined: 18 Nov 2011
Posts: 20

PostPosted: Thu Apr 10, 2025 12:52 pm    Post subject: Reply with quote

slt,

Quote:
À chacun de tes essais, l'erreur est t'elle toujours exactement la même au même endroit ?


Non et il est la le soucis

Quote:
Si l'erreur n'est pas exactement reproductible, tu devrais vérifier si ta RAM n'est pas défaillante en faisant plusieurs passes de memtest.


Ok je vais voir ça car j'ai rajouter une barette de ram de 8go pour arriver a 16go.

Il y a aussi un autres truc qui pourrais jouer c'est mon NVME je l'ai changer pour passer d'un 512 a 2to j'ai pris un NVME de chez samsung le 990 Pro PCIe 4.0 qui normalement doit-être compatible Gen 3.0 car je suis en Gen 3.0 et j'avais rencontrer des soucis lors de l'installation de windows comme de Kali linux ... Débian aucun soucis et la Gentoo ça coince ... donc on c'est jamais si probléme venais du NVME qui merde ... pourtant avec CrystalDiskInfo tout a l'air correcte donc je sais pas trop d'ou viens le soucis ... je vais commençer par enlever la ram et retester pour voir

Autres info je viens de relancer la commande @Word il me dit direct :

Quote:
Calculating dependencies -Segmentation fault


Le soucis est peut-être matériel

Je reviens pour donnée plus d'infos, j'étais avec la version livegui de Gentoo je suis passer avec la version minimal et même soucis j'ai même eux cette erreur

Quote:
gentoo the ebuild phase 'prepare' has been killed by signal 11


Toute mes recherche pointe la RAM donc je vais l'enlever et voir car les autres 8go sont soudé a la carte mére a voir
Back to top
View user's profile Send private message
BenMitnick
n00b
n00b


Joined: 18 Nov 2011
Posts: 20

PostPosted: Thu Apr 10, 2025 8:30 pm    Post subject: Reply with quote

Bon bas je pense que mon soucis viens de ma barette mémoire je l'ai enlevé et depuis plus d'érreur ça compile Gentoo fait son ptit bonhomme de chemin la il compile le kernel ... It"s good

Une fois terminé je vais mettre un coup de soufflette et d'Alcool isopropylique et balancer un Memtest86 pour voir sinon j'en achéterais une autre :)

Voila pour le retrour et merci à netfab pour m'avoir aidé et aiguillé
Back to top
View user's profile Send private message
BenMitnick
n00b
n00b


Joined: 18 Nov 2011
Posts: 20

PostPosted: Fri Apr 11, 2025 4:25 pm    Post subject: Reply with quote

Donc pour finaliser mon soucis vener de ma barétte mémoire d'ailleur en écrivant je vois 10 erreurs sur la ram avec Memtest86 ya plus cas en racheter une mais bizarre qu'elle soit défaillante je me demande comment cela c'est produit.

Sinon me voici sous Gentoo Linux :) interface KDE Vierge :D ya plus cas tout installer ce dont on a besoin magnifique.

Quand j'ai vu cette belle IMAGE c'est ce qui m'a fait replonger sous cette distribution on fait ce que l'on veut au lieu d'attendre a chaque fois les mises a jour ou ce dire je doit upgrade mais tel ou tel chose ne fonctionnera peut-être pas alors que la tu gére tous.

Merci Gentoo Users @Bientôt je pense :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French 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