glibc 2.3.5 and gcc-4.0 4.0.3-6

Petr Salinger Petr.Salinger at t-systems.cz
Thu Jan 12 16:48:20 UTC 2006


> Actually the problem is that all statically linked binaries segfault at
> runtime. During the build process, it is the case of elf/sln, but other
> binaries like ldconfig are also affected.

I would bet on this:

>    * Configure --with-tune=i686 on ix86 architectures (on Ubuntu with
>      -mtune=pentium4). Remove the cpu-default-* patches..

The defaults are a little bit strange:

gcc-3.3	(3.3.6-12+kbsd)	-march=i486 -mtune=i686
gcc-3.4 (3.4.5-1)      	-march=i386 -mtune=i486
gcc-4.0	(4.0.2-4+kbsd)	-march=i386 -mtune=i486
gcc-4.0 (4.0.2-6)	-march=i386 -mtune=i686 		

IMHO, the right one is
			-march=i486 -mtune=i686

Petr




More information about the Glibc-bsd-devel mailing list