| « Seaeyes recomissioned | Bye to Stuart » |
AMD64 strange segfault issues
Today it happened again. This time not when emerging but using xsltproc:
xsltproc[20014]: segfault at 0000000a00000028 rip 00002adb81999bc0 rsp 00007fff29849950 error 4
Rebuilding system with multilib
In file included from /usr/include/features.h:346,
from /usr/include/stdio.h:28,
from /var/tmp/portage/gcc-4.1.1-r1/work/gcc-4.1.1/gcc/tsystem.h:90,
from /var/tmp/portage/gcc-4.1.1-r1/work/gcc-4.1.1/gcc/crtstuff.c:68:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory
make[4]: *** [32/crtbegin.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/gcc-4.1.1-r1/work/build/gcc'
make[3]: *** [extra32] Error 2
make[3]: Leaving directory `/var/tmp/portage/gcc-4.1.1-r1/work/build/gcc'
make[2]: *** [stmp-multilib] Error 2
make[2]: Leaving directory `/var/tmp/portage/gcc-4.1.1-r1/work/build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-4.1.1-r1/work/build/gcc'
make: *** [profiledbootstrap] Error 2
emerge glibc and emerge --resume
No, that didn't work out either
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.!!! ERROR: sys-libs/glibc-2.4-r4 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_compile
ebuild.sh, line 937: Called src_compile
glibc-2.4-r4.ebuild, line 1163: Called src_compile
glibc-2.4-r4.ebuild, line 1174: Called toolchain-glibc_src_compile
glibc-2.4-r4.ebuild, line 257: Called glibc_do_configure 'nptl'
glibc-2.4-r4.ebuild, line 925: Called die!!! failed to configure glibc
!!! If you need support, post the topmost build error, and the call stack if relevant.
Problem seems to have been that I cleaned up some crossdev environments. Using a stage3, chrooting and quickpkg binutils gcc glibc fixed the problem.