Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] QEMU Emerge fail.
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
dg09
n00b
n00b


Joined: 24 Apr 2024
Posts: 3

PostPosted: Wed Apr 24, 2024 6:56 am    Post subject: [SOLVED] QEMU Emerge fail. Reply with quote

EDIT: The solution, to whomever may be running into segmentation fault issues with a 13th-14th generation Intel i9 CPU, seems like setting power limits to those in the spec-sheet is the solution. The issues mentioned in this thread all seem to have been fixed upon setting those. Apparently mother-board manufacturers aren't shipping with enforced limits, and instead are using unlimited power draw limits, causing all sorts of issues. There are several posts online on different forums and on YouTube regarding this topic. The power draw limit for this particular CPU, paired with my mother-board, an MSI Z790 Tomawhawk Max Wifi DDR5, was that of 4095 watts. Pulling it down to an amount closer to the spec-sheet did the trick for me. All compile segmentation faults seem to have gone away. Hope this helps someone!

Greetings all,

I am having issues emerging QEMU and virt-manager. I am getting strange behavior when emerging this package; in some situations the system completely freezes and it won't come out except for a hard reset, while other times it will just fail shortly after beginning. I have tried looking through all the build logs and also searching on the forums/net, but unfortunately, I am puzzled. While I am quite familiar with other distributions, these issues are somewhat new for me, so I am somewhat lost. Another strange thing is that the build.log file appears to be completely empty in between crashes; it suddenly would have no contents and be 0B in size. I did manage to capture the output of one failure. Hoping someone here may enlighten me as to what I've got wrong. Here are the following logs:


Code:

$ emerge --info '=app-emulation/qemu-8.1.5::gentoo'

Portage 3.0.61 (python 3.11.8-final-0, default/linux/amd64/23.0, gcc-13, glibc-2.38-r12, 6.8.7-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.8.7-gentoo-x86_64-Intel-R-_Core-TM-_i9-14900K-with-glibc2.38
KiB Mem:   131663980 total, 124956128 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Tue, 23 Apr 2024 00:45:00 +0000
Head commit of repository gentoo: 42cc6235843bff6840ae88e83296bd2b8e93aef2
Head commit of repository brave-overlay: 29f0392a9fea7fe8281d556f918a5702524958c4

Timestamp of repository guru: Mon, 22 Apr 2024 06:33:38 +0000
Head commit of repository guru: 0332fc042e716883aa7385232f1ee12a89b864e9

Timestamp of repository steam-overlay: Fri, 19 Apr 2024 23:18:33 +0000
Head commit of repository steam-overlay: e601d2ab8d6c2905e2cff8b90dd9bd7d495093db

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-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.3.2::gentoo
dev-lang/perl:             5.38.2-r2::gentoo
dev-lang/python:           3.11.8_p1::gentoo, 3.12.3::gentoo
dev-lang/rust-bin:         1.75.0::gentoo
sys-apps/baselayout:       2.14-r2::gentoo
sys-apps/openrc:           0.54::gentoo
sys-apps/sandbox:          2.38::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-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r12::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-jobs: 1
    sync-rsync-verify-max-age: 3
    sync-rsync-extra-opts:

brave-overlay
    location: /var/db/repos/brave-overlay
    sync-type: git
    sync-uri: https://gitlab.com/jason.oliveira/brave-overlay.git
    masters: gentoo
    volatile: False

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo
    volatile: False

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=native -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/php/apache2-php8.2/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="-j26 --load-average 8"
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://mirror.reenigne.net/gentoo/     https://mirror.csclub.uwaterloo.ca/gentoo-distfiles/     https://mirror.clarkson.edu/gentoo/     https://mirrors.mit.edu/gentoo-distfiles/     https://gentoo.osuosl.org/     https://mirrors.rit.edu/gentoo/     https://mirror.servaxnet.com/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j26 -l8"
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 acl amd64 bluetooth bzip2 cet crypt cups elogind gdbm iconv ipv6 libtirpc multilib ncurses networkmanager nls nvidia openmp pam pcre pulseaudio readline seccomp ssl test-rust unicode xattr zlib" 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 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 ssse3 vpclmulqdq" 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-2" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" QEMU_SOFTMMU_TARGETS="x86_64" RUBY_TARGETS="ruby31" VIDEO_CARDS="nvidia 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, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

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

app-emulation/qemu-8.1.5::gentoo would be built with the following:
USE="aio bzip2 curl fdt filecaps gnutls jpeg ncurses nls oss pam pin-upstream-blobs png pulseaudio seccomp slirp vhost-net vnc xattr -accessibility -alsa -bpf (-capstone) -debug -doc -fuse -glusterfs -gtk -infiniband -io-uring -iscsi -jack -jemalloc -keyutils -lzo -multipath -nfs -numa -opengl -pipewire -plugins -python -rbd -sasl -sdl -sdl-image (-selinux) -smartcard -snappy -spice -ssh -static-user -systemtap -test -udev -usb -usbredir -vde -virgl -virtfs -vte -xen -zstd" ABI_X86="(64)" PYTHON_TARGETS="python3_11 -python3_10 -python3_12" QEMU_SOFTMMU_TARGETS="x86_64 -aarch64 -alpha -arm -avr -cris -hppa -i386 -loongarch64 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -nios2 -or1k -ppc -ppc64 -riscv32 -riscv64 -rx -s390x -sh4 -sh4eb -sparc -sparc64 -tricore -xtensa -xtensaeb" QEMU_USER_TARGETS="-aarch64 -aarch64_be -alpha -arm -armeb -cris -hexagon -hppa -i386 -loongarch64 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -mipsn32 -mipsn32el -nios2 -or1k -ppc -ppc64 -ppc64le -riscv32 -riscv64 -s390x -sh4 -sh4eb -sparc -sparc32plus -sparc64 -x86_64 -xtensa -xtensaeb"

>>> Attempting to run pkg_info() for 'app-emulation/qemu-8.1.5'
Using:
 
  sys-firmware/edk2-ovmf-bin-202202
  sys-firmware/seabios-bin-1.16.0
  sys-firmware/ipxe-1.21.1
  sys-firmware/sgabios-0.1_pre10



Code:

$ emerge -pqv '=app-emulation/qemu-8.1.5::gentoo'

[ebuild  N    ] app-emulation/qemu-8.1.5  USE="aio bzip2 curl fdt filecaps gnutls jpeg ncurses nls oss pam pin-upstream-blobs png pulseaudio seccomp slirp vhost-net vnc xattr -accessibility -alsa -bpf (-capstone) -debug -doc -fuse -glusterfs -gtk -infiniband -io-uring -iscsi -jack -jemalloc -keyutils -lzo -multipath -nfs -numa -opengl -pipewire -plugins -python -rbd -sasl -sdl -sdl-image (-selinux) -smartcard -snappy -spice -ssh -static-user -systemtap -test -udev -usb -usbredir -vde -virgl -virtfs -vte -xen -zstd" PYTHON_TARGETS="python3_11 -python3_10 -python3_12" QEMU_SOFTMMU_TARGETS="x86_64 -aarch64 -alpha -arm -avr -cris -hppa -i386 -loongarch64 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -nios2 -or1k -ppc -ppc64 -riscv32 -riscv64 -rx -s390x -sh4 -sh4eb -sparc -sparc64 -tricore -xtensa -xtensaeb" QEMU_USER_TARGETS="-aarch64 -aarch64_be -alpha -arm -armeb -cris -hexagon -hppa -i386 -loongarch64 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -mipsn32 -mipsn32el -nios2 -or1k -ppc -ppc64 -ppc64le -riscv32 -riscv64 -s390x -sh4 -sh4eb -sparc -sparc32plus -sparc64 -x86_64 -xtensa -xtensaeb"



I personally wouldn't think this issue due to a lack of swap or memory, since I have plenty of RAM, and I have compiled other much larger packages successfully before, but perhaps I may be wrong. If you are able to provide any assistance, I would be very grateful. Thanks in advance!


Last edited by dg09 on Fri Apr 26, 2024 7:07 pm; edited 2 times in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30940
Location: here

PostPosted: Wed Apr 24, 2024 7:36 am    Post subject: Reply with quote

I can't download build.log.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
dg09
n00b
n00b


Joined: 24 Apr 2024
Posts: 3

PostPosted: Wed Apr 24, 2024 3:59 pm    Post subject: Reply with quote

fedeliallalinea wrote:
I can't download build.log.


Hi fedeliallalinea,

Thank you for your quick response. Apologies for that. The site I used seems to delete upon first download. Unfortunately the log is too long for a pastebin. I have edited the post to include a new link and here I leave the link as well: build.log file . Thanks!
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30940
Location: here

PostPosted: Wed Apr 24, 2024 4:40 pm    Post subject: Reply with quote

Code:
x86_64-pc-linux-gnu-gcc -m64 -mcx16 -Ilibqemuutil.a.p -I. -I.. -Isubprojects/libvhost-user -I../subprojects/libvhost-user -Iqapi -Itrace -Iui -Iui/shader -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/includ
e -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/p11-kit-1 -I/usr/include/pixman-1 -fdiagnostics-color=auto -Wall -Winvalid-pch -std=gnu1
1 -O2 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wundef -Wwrite-strings -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wold-style-declaration -Wold-style-definition -Wtype-
limits -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wempty-body -Wnested-externs -Wendif-labels -Wexpansion-to-defined -Wimplicit-fallthrough=2 -Wmissing-format-attribute -Wno-missing-in
clude-dirs -Wno-shift-negative-value -Wno-psabi -isystem /var/tmp/portage/app-emulation/qemu-8.1.5/work/qemu-8.1.5/linux-headers -isystem linux-headers -iquote . -iquote /var/tmp/portage/app-emulation/qemu-
8.1.5/work/qemu-8.1.5 -iquote /var/tmp/portage/app-emulation/qemu-8.1.5/work/qemu-8.1.5/include -iquote /var/tmp/portage/app-emulation/qemu-8.1.5/work/qemu-8.1.5/host/include/x86_64 -iquote /var/tmp/portage
/app-emulation/qemu-8.1.5/work/qemu-8.1.5/host/include/generic -iquote /var/tmp/portage/app-emulation/qemu-8.1.5/work/qemu-8.1.5/tcg/i386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict
-aliasing -fno-common -fwrapv -march=native -O2 -pipe -fPIE -pthread -MD -MQ libqemuutil.a.p/stubs_monitor-core.c.o -MF libqemuutil.a.p/stubs_monitor-core.c.o.d -o libqemuutil.a.p/stubs_monitor-core.c.o -c
../stubs/monitor-core.c
In file included from /usr/include/glib-2.0/glib/giochannel.h:35,
                 from /usr/include/glib-2.0/glib.h:56,
                 from /var/tmp/portage/app-emulation/qemu-8.1.5/work/qemu-8.1.5/include/glib-compat.h:32,
                 from /var/tmp/portage/app-emulation/qemu-8.1.5/work/qemu-8.1.5/include/qemu/osdep.h:144,
                 from ../stubs/monitor-core.c:1:
/usr/include/glib-2.0/glib/gmain.h:56:1: internal compiler error: Segmentation fault
   56 | GLIB_AVAILABLE_TYPE_IN_2_72
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
0x1acb7eb internal_error(char const*, ...)
        ???:0
0x782035 c_lex_with_flags(tree_node**, unsigned int*, unsigned char*, int)
        ???:0
0x6fae9c c_parser_string_literal(c_parser*, bool, bool)
        ???:0
0x703fb8 c_parser_declspecs(c_parser*, c_declspecs*, bool, bool, bool, bool, bool, bool, bool, c_lookahead_kind)
        ???:0
0x72c4ab c_parse_file()
        ???:0
0x78b8f9 c_common_parse_file()
        ???:0
Please submit a full bug report, with preprocessed source (by using -freport-bug).
Please include the complete backtrace with any bug report.
See <https://bugs.gentoo.org/> for instructions.

Usually "internal compiler error: Segmentation fault" errors are related to a hardware problem. Does the dmesg say anything about this?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
dg09
n00b
n00b


Joined: 24 Apr 2024
Posts: 3

PostPosted: Wed Apr 24, 2024 5:10 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Code:
x86_64-pc-linux-gnu-gcc -m64 -mcx16 -Ilibqemuutil.a.p -I. -I.. -Isubprojects/libvhost-user -I../subprojects/libvhost-user -Iqapi -Itrace -Iui -Iui/shader -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/includ
e -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/p11-kit-1 -I/usr/include/pixman-1 -fdiagnostics-color=auto -Wall -Winvalid-pch -std=gnu1
1 -O2 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wundef -Wwrite-strings -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wold-style-declaration -Wold-style-definition -Wtype-
limits -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wempty-body -Wnested-externs -Wendif-labels -Wexpansion-to-defined -Wimplicit-fallthrough=2 -Wmissing-format-attribute -Wno-missing-in
clude-dirs -Wno-shift-negative-value -Wno-psabi -isystem /var/tmp/portage/app-emulation/qemu-8.1.5/work/qemu-8.1.5/linux-headers -isystem linux-headers -iquote . -iquote /var/tmp/portage/app-emulation/qemu-
8.1.5/work/qemu-8.1.5 -iquote /var/tmp/portage/app-emulation/qemu-8.1.5/work/qemu-8.1.5/include -iquote /var/tmp/portage/app-emulation/qemu-8.1.5/work/qemu-8.1.5/host/include/x86_64 -iquote /var/tmp/portage
/app-emulation/qemu-8.1.5/work/qemu-8.1.5/host/include/generic -iquote /var/tmp/portage/app-emulation/qemu-8.1.5/work/qemu-8.1.5/tcg/i386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict
-aliasing -fno-common -fwrapv -march=native -O2 -pipe -fPIE -pthread -MD -MQ libqemuutil.a.p/stubs_monitor-core.c.o -MF libqemuutil.a.p/stubs_monitor-core.c.o.d -o libqemuutil.a.p/stubs_monitor-core.c.o -c
../stubs/monitor-core.c
In file included from /usr/include/glib-2.0/glib/giochannel.h:35,
                 from /usr/include/glib-2.0/glib.h:56,
                 from /var/tmp/portage/app-emulation/qemu-8.1.5/work/qemu-8.1.5/include/glib-compat.h:32,
                 from /var/tmp/portage/app-emulation/qemu-8.1.5/work/qemu-8.1.5/include/qemu/osdep.h:144,
                 from ../stubs/monitor-core.c:1:
/usr/include/glib-2.0/glib/gmain.h:56:1: internal compiler error: Segmentation fault
   56 | GLIB_AVAILABLE_TYPE_IN_2_72
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
0x1acb7eb internal_error(char const*, ...)
        ???:0
0x782035 c_lex_with_flags(tree_node**, unsigned int*, unsigned char*, int)
        ???:0
0x6fae9c c_parser_string_literal(c_parser*, bool, bool)
        ???:0
0x703fb8 c_parser_declspecs(c_parser*, c_declspecs*, bool, bool, bool, bool, bool, bool, bool, c_lookahead_kind)
        ???:0
0x72c4ab c_parse_file()
        ???:0
0x78b8f9 c_common_parse_file()
        ???:0
Please submit a full bug report, with preprocessed source (by using -freport-bug).
Please include the complete backtrace with any bug report.
See <https://bugs.gentoo.org/> for instructions.

Usually "internal compiler error: Segmentation fault" errors are related to a hardware problem. Does the dmesg say anything about this?


Yes, that seems to be the culprit from what I've been reading throughout my research. It mostly all points to hardware.

dmesg does point to segmentation faults and gives the code segment and says "likely at CPU #". They also trigger the Intel MCE module to throw a message saying "Hardware Error". I installed the MCE log utility to see what the errors are, and they are almost always "Instruction TLB Level-0 Error" and "Internal parity error", which are all indicated to be self corrected errors.

The curious thing is, this build is fairly new; I got it around 1.5 months ago. I figured maybe faulty RAM, so I ran Memtest86 on all sticks individually and together, for roughly 5 days(it's got quite a bit of RAM), but no errors were found. I also ran stress tests, both on Windows(AIDA64 and prime95), and on Linux, with stress-ng, and it wouldn't crash in 3 days of continous stress testing. I figured maybe some internal component error then, so I brought it in to the shop it got built in and they weren't able to find anything wrong either, but were nice enough and ended up replacing all the components for me, except the GPU, so RAM, CPU, motherboard and PSU all got replaced. However, the issues are persistent regardless of these components being brand new, although much less than before I got them replaced(there was a fresh BIOS release for my motherboard during that time frame indicating improvements on the microcode, which may have influenced that a little(?)). I have come across some comments on several different forums regarding a design flaw with the i9-14900K CPUs that trigger these errors, which are also seen on Windows as WHEA. I also see these errors when I compile the kernel, and I've managed to noticed that the more jobs I allow make to use, the sooner these errors appear. Pretty strange. Quite frankly, I am not sure how to proceed at this point so I figured I may be in some luck or someone around these forums knew how to get this package built. Unfortunately, I can't return the entire system at this point, which is a shame.

I appreciate your time and input, fedeliallalinea. Thank you!
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