With gcc-4.1.0, initfini.s needs to be compiled with -fno_unit_at_a_time, the correct patch will be added to the bug.
Created attachment 81486 [details, diff] Correct patch #6100
why ? upstream glibc doesnt do it ... the current 6100 patch is what current glibc trunk is doing
http://sourceware.org/ml/libc-alpha/2005-08/msg00002.html this is what was found to describe the situation and why the patch needs to be as per the attachment.
Hmm, actually, the current patch does use += instead of =, so it should be passing the flag up instead of overriding it. But I'm still getting the same errors as that original bug when compiling linuxthreads.
... and if you go down through that thread you'll see that they end up at the same patch that we already have in cvs $(fno-unit-at-a-time) is added in csu/Makefile for all initfini.s targets
It's still broken on linuxthreads for me with gcc-4.1.0 with the exact same error. nptl compiles fine.
*** Bug 125731 has been marked as a duplicate of this bug. ***
Created attachment 82127 [details, diff] Fixes linuxthreads compile issue on ppc and probably ppc64 as well
thanks ... sent upstream and added to cvs ... this will be in glibc-2.3.6-r4