This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/17932] New: gcc-3.4.2 fails to compile glibc-2.3.3


When compiling glibc-2.3.3 (configured from a new subdir "obj" using simply
../configure --enable-add-ons), I get the following error message in glibc
subdirectory "elf". The problems seems to be a gcc bug, since gcc-3.3.4 compiles
fine (and since I could not really see why the types should conflict).

Ansgar

---------

gcc -v
Reading specs from /local/software/gcc/3.4.2/lib/gcc/i686-pc-linux-gnu/3.4.2/specs
Configured with: ../configure --prefix=/local/software/gcc/3.4.2
Thread model: posix
gcc version 3.4.2

---------

make
....
make[2]: Entering directory `/tmp/glibc-2.3.3/elf'
gcc dl-runtime.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes
-Wwrite-strings -g -mpreferred-stack-boundary=2  -fexceptions
-fasynchronous-unwind-tables   -I../include -I. -I/tmp/glibc-2.3.3/obj/elf -I..
-I../libio  -I/tmp/glibc-2.3.3/obj -I../sysdeps/i386/elf
-I../linuxthreads/sysdeps/unix/sysv/linux/i386
-I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread
-I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv
-I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/i386/i686
-I../linuxthreads/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i386
-I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common
-I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386
-I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix
-I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686
-I../sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386
-I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754
-I../sysdeps/generic/elf -I../sysdeps/generic -I
/lib/modules/2.4.25/build/include -D_LIBC_REENTRANT -include
../include/libc-symbols.h       -o /tmp/glibc-2.3.3/obj/elf/dl-runtime.o -MD -MP
-MF /tmp/glibc-2.3.3/obj/elf/dl-runtime.o.dt
dl-runtime.c:57: error: conflicting types for 'fixup'
../sysdeps/i386/dl-machine.h:158: error: previous declaration of 'fixup' was here
dl-runtime.c:57: error: conflicting types for 'fixup'
../sysdeps/i386/dl-machine.h:158: error: previous declaration of 'fixup' was here
dl-runtime.c:142: error: conflicting types for 'profile_fixup'
../sysdeps/i386/dl-machine.h:161: error: previous declaration of 'profile_fixup'
was here
dl-runtime.c:142: error: conflicting types for 'profile_fixup'
../sysdeps/i386/dl-machine.h:161: error: previous declaration of 'profile_fixup'
was here
../sysdeps/i386/dl-machine.h:158: warning: 'fixup' declared `static' but never
defined
../sysdeps/i386/dl-machine.h:161: warning: 'profile_fixup' declared `static' but
never defined

-- 
           Summary: gcc-3.4.2 fails to compile glibc-2.3.3
           Product: gcc
           Version: 3.4.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ansgar dot radermacher at cea dot fr
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: gcc-3.4.2
  GCC host triplet: Linux 2.4.27


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17932


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]