------- Additional Comments From ansgar dot radermacher at cea dot fr 2004-12-07 09:33 ------- Subject: Re: gcc-3.4.2 fails to compile glibc-2.3.3
I understand that this is a glibc bug, a patch is available here: http://kegel.com/crosstool/crosstool-0.28-rc37/patches/glibc-2.3.2/fixup.patch I havn't tried it - alternatively, a workaround is to use gcc 3.3.4 or older to compile glibc-2.3.3. maryburak11 at aol dot com wrote: >------- Additional Comments From maryburak11 at aol dot com 2004-12-03 19:58 >------- >Any fix for this? I'm getting the same error. > >I tried to build glibc 2.3.3 on RedHat Linux Advanced Serer 2.1 >(kernel 2.4.9-e.24), but ran into an error saying compiler support for >__threads is required, so I used > >configure --enable-add-ons=linuxthreads --prefix=/usr/local/glibc > >(note: prefix is not the same directory where the distribution was >un-packed. That was done in /usr/local/glibc-2.3.3) > >That allowed configure to complete without any further errors. > >However, when I ran "make", I got the following: > >ld-runtime.c:56: error: conflicting types for 'fixup' >.../sysdeps/i386/dl-machine.h:158: error: previous declaration of >'fixup' was here >dl-runtime.c:56: error: conflicting types for 'fixup' >.../sysdeps/i386/dl-machine.h:158: error: previous delcaration of >'fixup' was here >dl-runtime.c:141: error: conflicting types for 'profile_fixup' >.../systemps/i386/dl-machine.h:161: error: previous delcaration of >'profile_fixup' was here >dl-runtime.c:141: error: conflicting types for 'profile_fixup' >.../sysdeps/i386/dl-machine.h:161: error: previous delcaration of >'profile_fixup' was here >.../sysdeps/i386/dl-machine.h:158: warning: 'fixup' declared 'static' >but never defined >.../sysdeps/i386/sl-machine.h:161: warning: 'profile_fixup' declared' >static' but never defined >make[2]: *** [/usr/local/glibc/elf/dl-runtime.o] Error 1 >make[2]: Leaving directory '/usr/local/glibc-2.3.3/elf' >make[1]: *** [elf/subdir_lib] Error 2 >make[1]: Leaving directory '/usr/local/glibc-2.3.3' >make: *** [all] Error 2 > >I'm using gcc 3.4.3, with binutils 2.15. > > > > > -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17932