When I try to emerge mod_php, it fails while building libmcrypt-2.5.1-r4. You can get the complete output of emerge here: http://bernd-wurst.de/gentoo/libmcrypt.txt Perhaps it's any incompatibility with my use-variables, here my emerge info: Portage 2.0.45 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2) ================================================================= System uname: 2.4.20-rc2-ac3 i586 AMD-K6(tm) 3D processor USE="x86 3dnow apm avi crypt cups encode gif jpeg libg++ libwww mikmod mmx motif mpeg ncurses nls pdflib png qtmt quicktime truetype xml2 xmms xv zlib gdbm berkdb slang readline svga guile sdl gpm tcpd pam ssl perl python imlib oggvorbis opengl mozilla X gtk -gtk2 gnome oss mysql -java -arts -esd -kde -qt -alsa -spell moznomail" ARCH="x86" COMPILER="gcc3" CHOST="i586-pc-linux-gnu" CFLAGS="-O3 -march=k6-2 -mcpu=k6-2 -pipe -fomit-frame-pointer" CXXFLAGS="-O3 -march=k6-2 -mcpu=k6-2 -pipe -fomit-frame-pointer" ACCEPT_KEYWORDS="x86 ~x86" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" MAKEOPTS="-j2" JDK_HOME="" JAVA_HOME="" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"
I have something to add here: Nearly the same errors occure while building the following packages (URL contains the complete emerge-output): * gimp-1.2.3-r3 (http://bernd-wurst.de/gentoo/gimp.txt) * gnumeric-1.1.8 (masked, I used this because normal gnumeric depends on gimp-1.2.3) (http://bernd-wurst.de/gentoo/gnumeric.txt) * mysql-3.23.53 (http://bernd-wurst.de/gentoo/mysql.txt) * lame-3.93.0-r1 (http://bernd-wurst.de/gentoo/lame.txt) Does anyone see what is wrong there?
Looks like maybe gcc is being flaky. Azarah, do you recognize this message?: {standard input}: Assembler messages: {standard input}:1045: Error: value of ffffffffffffff7f too large for field of 1 bytes at 0000000000000e5e
Err, first for me to be honest. What version binutils ? # ld --version I am guessing its gonna be a problem with gcc or ld, although I think ld is gonna win the bet ...
$ ld --version GNU ld version 2.13.90.0.16 20021126
You won't believe it ;-) but emerge -pu world tells me nothing about binutils or gcc or anything like that. For additional information, here's my gcc -v output: Reading specs from /usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.1/specs Configured with: /var/tmp/portage/gcc-3.2.1/work/gcc-3.2.1/configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --host=i586-pc-linux-gnu --build=i586-pc-linux-gnu --target=i586-pc-linux-gnu --with-system-zlib --enable-languages=c,c++,ada,f77,objc --enable-threads=posix --enable-long-long --disable-checking --enable-cstdio=stdio --enable-clocale=generic --enable-__cxa_atexit --enable-version-specific-runtime-libs --with-gxx-include-dir=/usr/include/g++-v32 --with-local-prefix=/usr/local --enable-shared --enable-nls --without-included-gettext Thread model: posix gcc version 3.2.1
Anyone still working on this? I cannot really use my system without being able to build gimp. Nearly all X applications (abiword, gnumeric) depend on gimp-print which depends on gimp-1.2.3. Additionally without having mod_php (depends on libmcrypt) and mysql, I cannot do anything with that machine. Do you need any more informations from me?
Sorry, I'm dealing with my own meltdown on my computer too. I would suggest trying to re-emerge gcc, glibc, binutils, without really having a good idea of what is wrong. But if maybe something is screwy on your machine reinstalling these could help.
Brand-new info: ;-) I decided to add -v to my CFLAGS in order to see which program exactly gives the error. Additionally, I set CFLAGS from -O3 to -O2 and I think it has to do something with this Option. I was able to emerge gnumeric now (with -O2) and I'm emerging gimp now. It's only a K6-2, so I cannot simply "try" to re-emerge gcc, glibc, ... it takes over a day to do this. I will report here what happens to libmcrypt and gimp when emerge is over. Maybe it is an -O3 problem, is anything known about that with gimp and the other ones listed above?
Problem is only fixed partially by setting -O2. I can compile libmcrypt, gnumeric and gimp now but mysql still doesn't work. I added -v to CFLAGS in hope that this would help anyone to see what's wrong. Yesterday, I rebuilt binutils but it did not change anything. This is the last output I got from emerge mysql: ========================================= /usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.1/cc1plus -v -I../bdb/build_unix -I./../include -I./../regex -I. -I../include -I.. -I. -D__GNUC__=3 -D__GNUC_MINOR__=2 -D__GNUC_PATCHLEVEL__=1 -D__GXX_ABI_VERSION=102 -D__ELF__ -Dunix -D__gnu_linux__ -Dlinux -D__ELF__ -D__unix__ -D__gnu_linux__ -D__linux__ -D__unix -D__linux -Asystem=posix -D__OPTIMIZE__ -D__STDC_HOSTED__=1 -D_GNU_SOURCE -Acpu=i386 -Amachine=i386 -Di386 -D__i386 -D__i386__ -D__k6 -D__k6__ -D__k6_2__ -D__tune_k6__ -D__MMX__ -D__3dNOW__ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="/usr" -DDATADIR="/var/lib/mysql" -DSHAREDIR="/usr/share/mysql" -DHAVE_CONFIG_H -DDBUG_OFF table.cc -D__GNUG__=3 -D__DEPRECATED -quiet -dumpbase table.cc -march=k6-2 -mcpu=k6-2 -O3 -O3 -version -fomit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti -fno-implicit-templates -fno-exceptions -fno-rtti -o - | /usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.1/../../../../i586-pc-linux-gnu/bin/as -V -Qy -o table.o - GNU CPP version 3.2.1 (cpplib) (i386 Linux/ELF) GNU C++ version 3.2.1 (i586-pc-linux-gnu) compiled by GNU C version 3.2.1. ignoring nonexistent directory "/usr/local/include" ignoring nonexistent directory "/usr/i586-pc-linux-gnu/include" ignoring duplicate directory "../include" ignoring duplicate directory "." #include "..." search starts here: #include <...> search starts here: ../bdb/build_unix ../include ../regex . .. /usr/include/g++-v32 /usr/include/g++-v32/i586-pc-linux-gnu /usr/include/g++-v32/backward /usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.1/include /usr/include End of search list. GNU assembler version 2.13.90.0.16 (i586-pc-linux-gnu) using BFD version 2.13.90.0.16 20021126 {standard input}: Assembler messages: {standard input}:849: Error: value of ffffffffffffff6e too large for field of 1 bytes at 00000000000005d5 make[3]: *** [table.o] Fehler 1 make[3]: Leaving directory `/var/tmp/portage/mysql-3.23.53/work/mysql-3.23.53/sql' make[2]: *** [all-recursive] Fehler 1 make[2]: Leaving directory `/var/tmp/portage/mysql-3.23.53/work/mysql-3.23.53/sql' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/var/tmp/portage/mysql-3.23.53/work/mysql-3.23.53' make: *** [all-recursive-am] Fehler 2 !!! ERROR: dev-db/mysql-3.23.53 failed. !!! Function src_compile, Line 94, Exitcode 2 !!! compile problem =========================================
Try to downgrade binutils to 2.13.90.0.4, and try again ?
Or maybe just merge binutils with -O2 instead of -O3 ...
Okay, I think downgrading to binutils-2.13.90.0.10 did it. As this problem oocured also on my other (faster) machine, I was able to try out a little. So I downgraded stepwise from binutils-...16 to ...14 and finally ...10 and I think that's it. All tries were done with -O2, this was my first try but did not solve the problem. Now with binutils-2.13.90.0.10 compiled with -O2 it works! emerge mysql finshes at the moment. I will try out with -O3 as soon as I have time for it. So it should to be a problem with the newer binutils-versions.
Handing this off to you, Martin.
I should say that I use -march=k6-3 on my athlon-machine because I prepare an installation for another computer. So it's possiple that this has something to do with optimization for k6-cpu.
Possible, can you try with -march=i586 or -march=i686 ? Or maybe update to gcc-3.2.1-r1 ?
as i know the bug reporter, it is no longer an issue.