Hi, At Fri, 23 Jul 2004 17:03:38 +0200, Andreas Jochens wrote: > To compile glibc on amd64 (and other architectures) with gcc-3.4, > the '-fno-unit-at-a-time' patch from upstream is necessary. > > Without this patch, the gcc-3.4 compiler reorders some assembly code and > the resulting pthread libraries will segfault. > > The attached patch adds a new patch file 'debian/patches/fno-unit-at-a-time' > and enables that patch by adding it to 'debian/patches/00list'. > > This 'fno-unit-at-a-time' patch (which was taken from upstream cvs) adds a > test for the '-fno-unit-at-a-time' compiler switch to 'configure.in' > and 'configure', > puts a corresponding variable definition to 'config.make.in' and > inserts the '$(fno-unit-at-a-time)' variable in various Makefiles.
Cool. That's ok. > Additionally, the attached patch adds > > nptl_extra_cflags = -g0 -O3 -fomit-frame-pointer -D__USE_STRING_INLINES > > to 'debian/sysdeps/amd64.mk' which uses '-g0' instead of the default '-g1'. > This is also necessary to compile glibc with gcc-3.4. Why is this needed? Could you teach me the reason? Regards, -- gotom -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

