View previous topic :: View next topic |
Author |
Message |
echo41 n00b

Joined: 25 Mar 2005 Posts: 46
|
Posted: Tue Jul 17, 2007 6:11 pm Post subject: glibc-2.5-r4 and gcc-4.1.2 won't compile - anymore [SOLVED] |
|
|
Wise Members of the Oracle...
The daily routine of updating my dual core AMD64 box has oopsed with the following today, trying to go from glibc-2.5-r3 to 2.5-r4:
Code: | make[2]: Entering directory `/var/tmp/portage/sys-libs/glibc-2.5-r4/work/glibc-2.5/io'
x86_64-pc-linux-gnu-gcc pwd.c -c -std=gnu99 -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -fno-strict-aliasing -march=athlon64 -pipe -Wstrict-prototypes -I../include -I/var/tmp/portage/sys-libs/glibc-2.5-r4/work/build-amd64-x86_64-pc-linux-gnu-nptl/io -I/var/tmp/portage/sys-libs/glibc-2.5-r4/work/build-amd64-x86_64-pc-linux-gnu-nptl -I../sysdeps/x86_64/elf -I../nptl/sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/wordsize-64 -I../ports/sysdeps/unix/sysv/linux -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../ports/sysdeps/unix/sysv -I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64 -I../ports/sysdeps/unix -I../nptl/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/fpu -I../nptl/sysdeps/x86_64 -I../sysdeps/x86_64 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../ports -I../nptl -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DNOT_IN_libc=1 -o /var/tmp/portage/sys-libs/glibc-2.5-r4/work/build-amd64-x86_64-pc-linux-gnu-nptl/io/pwd.o -MD -MP -MF /var/tmp/portage/sys-libs/glibc-2.5-r4/work/build-amd64-x86_64-pc-linux-gnu-nptl/io/pwd.o.dt -MT /var/tmp/portage/sys-libs/glibc-2.5-r4/work/build-amd64-x86_64-pc-linux-gnu-nptl/io/pwd.o
make[2]: *** No rule to make target `/usr/include/aG', needed by `/var/tmp/portage/sys-libs/glibc-2.5-r4/work/build-amd64-x86_64-pc-linux-gnu-nptl/io/xmknod.os'. Stop.
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.5-r4/work/glibc-2.5/io'
make[1]: *** [io/others] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.5-r4/work/glibc-2.5'
make: *** [all] Error 2
!!! ERROR: sys-libs/glibc-2.5-r4 failed.
Call stack:
ebuild.sh, line 1621: Called dyn_compile
ebuild.sh, line 973: Called qa_call 'src_compile'
ebuild.sh, line 44: Called src_compile
glibc-2.5-r4.ebuild, line 1160: Called src_compile
glibc-2.5-r4.ebuild, line 1171: Called toolchain-glibc_src_compile
glibc-2.5-r4.ebuild, line 272: Called die |
After a little digging in the forum, I gave "emerge -av1 binutils gcc glibc" a shot, which caused a deadly error compiling gcc already:
Code: | stage1/xgcc -Bstage1/ -B/usr/x86_64-pc-linux-gnu/bin/ -c -march=athlon64 -O2 -pipe -fprofile-use -freorder-blocks-and-partition -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -Icp -I/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc -I/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/cp -I/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/../include -I/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/../libcpp/include /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/cp/parser.c -o cp/parser.o
/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/cp/parser.c: In function 'gt_pch_p_14cp_token_cache':
/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/cp/parser.c:17866: note: file cp/parser.gcda not found, execution counts estimated
/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/cp/parser.c: In function 'cp_parser_require':
/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/cp/parser.c:16324: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
make[2]: *** [cp/parser.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/gcc'
make[1]: *** [stagefeedback_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/gcc'
make: *** [profiledbootstrap] Error 2
!!! ERROR: sys-devel/gcc-4.1.2 failed.
Call stack:
ebuild.sh, line 1621: Called dyn_compile
ebuild.sh, line 973: Called qa_call 'src_compile'
ebuild.sh, line 44: Called src_compile
ebuild.sh, line 1311: Called toolchain_src_compile
toolchain.eclass, line 26: Called gcc_src_compile
toolchain.eclass, line 1541: Called gcc_do_make
toolchain.eclass, line 1415: Called die |
At this point I guess it's better to ask for help.
All I've done lately - other than upgrading ebuilds - was trying to resolve a PCI issue by compiling the kernel with MSI support and booting it with "panic=30 oops=panic nmi_watchdog=1,panic". However, I see no connection to this problem.
The system is quite a fresh 2007.0 compile and hasn't seen a single update of the toolchain meanwhile.
Here's what emerge has to say:
Code: | Portage 2.1.2.9 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.5-r3, 2.6.20-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.20-gentoo-r8 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4000+
Gentoo Base System release 1.12.9
Timestamp of tree: Tue, 17 Jul 2007 16:50:01 +0000
dev-lang/python: 2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.61
sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool: 1.5.23b
virtual/os-headers: 2.6.21
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -msse3 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon64 -msse3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer sandbox sfperms userpriv usersandbox"
GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo ftp://ftp.caliu.info/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/voip /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="16bit X X509 aac acl alsa amd64 aotuv apache2 asterisk berkdb bitmap-fonts bluetooth bzip2 cairo ccache cdda cddb cdparanoia chroot cli cmdsubmenu cracklib crypt css ctype cups curl curlwrappers dar64 dri dts dvb dvd dvdr dvdread encode exif expat fam fastcgi flac flatfile fortran gd gdbm gif glitz gpm gtk icecast iconv idea imagemagick imlib innodb ipv6 isdnlog jpeg jpeg2k ldap libg++ libwww lirc live lm_sensors mad maildir mhash midi mime mmx mp3 mpeg mpm-prefork mudflap mysql ncurses network nls nocd nptl nptlonly nvidia ogg opengl openmp pam pam_chroot pcntl pcre pdf perl pg-intdatetime php png postgres pppd python quicktime readline reflection rrdtool sasl sdl session setup-plugin sharedmem sndfile soap sockets sox speex spl sqlite3 sse sse2 ssl symlink tcpd tiff tokenizer truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd vhosts vorbis xanim xml xmlrpc xorg xpm xsl xv xvid yaepg yp zaptel zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" DVB_CARDS="tda10046" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS |
Many thanks, your help is very apprechiated! -sven
Last edited by echo41 on Wed Jul 18, 2007 11:12 am; edited 1 time in total |
|
Back to top |
|
 |
desultory Bodhisattva


Joined: 04 Nov 2005 Posts: 9410
|
Posted: Wed Jul 18, 2007 6:19 am Post subject: |
|
|
echo41 wrote: | Wise Members of the Oracle... | Come, disciple, tell us of your problems.
echo41 wrote: | Code: | make[2]: *** No rule to make target `/usr/include/aG', needed by `/var/tmp/portage/sys-libs/glibc-2.5-r4/work/build-amd64-x86_64-pc-linux-gnu-nptl/io/xmknod.os'. Stop.
|
| Somehow, I doubt glibc is supposed to depend on that file. Are there any other indications of data corruption in the system? Has the system been vetted recently (hardware and software, with the former taking precedence)?
echo41 wrote: | Code: | /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/cp/parser.c:17866: note: file cp/parser.gcda not found, execution counts estimated
/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/cp/parser.c: In function 'cp_parser_require':
/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/cp/parser.c:16324: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem. |
| That error message is most often correct in some way. If the hardware appears to not be at fault, try reverting to the previous kernel and attempting to install the upgrades under that kernel. |
|
Back to top |
|
 |
echo41 n00b

Joined: 25 Mar 2005 Posts: 46
|
Posted: Wed Jul 18, 2007 11:11 am Post subject: |
|
|
I've reverted back to the old kernel and glibc compiles again. So I'll just keep the MSI disabled as it doesn't work with my setup anyway.
Thanks for the hint! |
|
Back to top |
|
 |
|
|
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
|
|