Coming Underground
« Seaeyes recomissionedBye to Stuart »

AMD64 strange segfault issues

Permalink 2006-12-01 12:10, by jaervosz, Categories: General, Gentoo, Hardened

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.

Leave a comment »Send a trackback »

Trackback address for this post

This is a captcha-picture. It is used to prevent mass-access by robots.
Please enter the characters from the image above. (case insensitive)

No feedback yet

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)
This is a captcha-picture. It is used to prevent mass-access by robots.
Please enter the characters from the image above. (case insensitive)

Search

Various local stuff

XML Feeds

blogtool

©2010 by admin

Contact Jaervosz