Yesterday I have modified my five months old Gentoo-AMD-64-installation to use UTF-8 character encoding as described at www.gentoo.org. I have noticed that the suggested reemerging of glibc fails. It is my strong believe that I have not done something evil with my gentoo box, so its looks like an serious gentoo bug. I found some reports of similar bugs, but no solutions. My own knowledge about Linux and Gentoo is not deep enough to find the reason. Here is the output of "emerge --info" and some error messages of "emerge glibc" from file config.log. The complete file config.log is available at http://www.ssalewski.de/config.log. Portage 2.0.54 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.3.5-r2, 2.6.16-gentoo-r2 x86_64) ================================================================= System uname: 2.6.16-gentoo-r2 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ Gentoo Base System version 1.6.14 dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -pipe -O2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=athlon64 -pipe -O2" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/" LC_ALL="de_DE.UTF-8" LINGUAS="de en" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="amd64 X alsa arts audiofile avi berkdb bitmap-fonts bzip2 cdr crypt cups curl dri eds emboss encode esd ethereal exif expat fam foomaticdb fortran gif glut gnome gpm gstreamer gtk gtk2 gtkhtml guile hal howl idn imlib ipv6 isdnlog jpeg kde lcms libwww lzw lzw-tiff mad mng mozilla mp3 mpeg ncurses nls ogg opengl pam pcre pdflib perl png pppd python qt quicktime readline recode sdl spell ssl tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis xml2 xmms xpm xv zlib linguas_de linguas_en userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, INSTALL_MASK, LANG, LDFLAGS Error message of "emerge glibc" from file "http://www.ssaleewski.de/config.log" configure:2965: x86_64-pc-linux-gnu-gcc -c -march=athlon64 -pipe -O2 conftest.c >&5 conftest.c:2: error: syntax error before "me" configure:3225: x86_64-pc-linux-gnu-gcc -E conftest.c conftest.c:10:28: ac_nonexistent.h: No such file or directory configure:7465: error: cannot compute sizeof (long double), 77 See `config.log' for more details. Thanks Stefan Salewski
*** This bug has been marked as a duplicate of 129141 ***
emerge --update --deep world breaks trying to emerge fresh stable glibc-2.3.5-r3 with same messages as before. I have no idea what is wrong with my system. Logfile of emerging glibc-2.3.5-r2 is still available at http://www.ssalewski.de/config.log. Thanks Stefan Salewski
Why did you reopen this bug? The original one is still open... *** This bug has been marked as a duplicate of 129141 ***
Jakub Moc wrote: > *** This bug has been marked as a duplicate of 129141 *** > Why did you reopen this bug? The original one is still open... Well, this serious bug still exits, I have no idea about the reason for this bug, I fear that this bug may crash my system in the long term and force me to a complete reinstall, and I am not sure if the title of Bug 129141 "cannot compute sizeof (long double)" is the perfect description of the bug. Before the message "cannot compute sizeof (long double)" there are a few other error messages in file config.log for example configure:3152: checking how to run the C preprocessor configure:3187: x86_64-pc-linux-gnu-gcc -E conftest.c configure:3193: $? = 0 configure:3225: x86_64-pc-linux-gnu-gcc -E conftest.c conftest.c:10:28: ac_nonexistent.h: No such file or directory Maybe an important package containig file ac_nonexistent.h is missing on my system? Thanks Stefan Salewski
Compiling the latest kernel kernel-x86_64-2.6.16-gentoo-r6 with enabled IA32_Emulation (CONFIG_IA32_EMULATION=y) solved this problem for me. See my remarks in bugreport 129141 for a longer explanation. Best regards Stefan Salewski