This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc 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]

glibc 2.3.2 won't build, ldt_entry problem?


Hi,

I'm trying to build the 2.3.2 glibc but get the below failure.
Has anyone else seen this or know of a fix?

Thanks,
Martin

build system:
  gcc 3.2.2
  libc 2.3.1
  binutils 2.13.2.1
  kernel 2.4.20

configure --prefix=/usr --enable-add-ons --without-cvs --disable-profile --enable-kernel=2.4.20 --with-tls
[snip]
make
[snip]
gcc rtld.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -g   -fPIC -Wno-uninitialized -Wno-unused  
-I../include -I. -I/bld/heli6/elf -I.. -I../libio  -I/bld/heli6 -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/i586
-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/i586 -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.20/build/include -D_LIBC_REENTRANT
-include ../include/libc-symbols.h  -DPIC -DSHARED -DNOT_IN_libc=1 -DIS_IN_rtld=1     -o /bld/heli6/elf/rtld.os
rtld.c: In function `dl_main':
rtld.c:1579: variable `ldt_entry' has initializer but incomplete type
rtld.c:1579: warning: excess elements in struct initializer
rtld.c:1579: warning: (near initialization for `ldt_entry')
rtld.c:1579: warning: excess elements in struct initializer
rtld.c:1579: warning: (near initialization for `ldt_entry')
rtld.c:1579: warning: excess elements in struct initializer
rtld.c:1579: warning: (near initialization for `ldt_entry')
rtld.c:1579: warning: excess elements in struct initializer
rtld.c:1579: warning: (near initialization for `ldt_entry')
rtld.c:1579: warning: excess elements in struct initializer
rtld.c:1579: warning: (near initialization for `ldt_entry')
rtld.c:1579: warning: excess elements in struct initializer
rtld.c:1579: warning: (near initialization for `ldt_entry')
rtld.c:1579: warning: excess elements in struct initializer
rtld.c:1579: warning: (near initialization for `ldt_entry')
rtld.c:1579: warning: excess elements in struct initializer
rtld.c:1579: warning: (near initialization for `ldt_entry')
rtld.c:1579: warning: excess elements in struct initializer
rtld.c:1579: warning: (near initialization for `ldt_entry')
rtld.c:1579: warning: excess elements in struct initializer
rtld.c:1579: warning: (near initialization for `ldt_entry')
rtld.c:1579: storage size of `ldt_entry' isn't known
rtld.c:1579: variable `ldt_entry' has initializer but incomplete type
rtld.c:1579: warning: excess elements in struct initializer
rtld.c:1579: warning: (near initialization for `ldt_entry')
rtld.c:1579: warning: excess elements in struct initializer
rtld.c:1579: warning: (near initialization for `ldt_entry')
rtld.c:1579: warning: excess elements in struct initializer
rtld.c:1579: warning: (near initialization for `ldt_entry')
rtld.c:1579: warning: excess elements in struct initializer
rtld.c:1579: warning: (near initialization for `ldt_entry')
rtld.c:1579: warning: excess elements in struct initializer
rtld.c:1579: warning: (near initialization for `ldt_entry')
rtld.c:1579: warning: excess elements in struct initializer
rtld.c:1579: warning: (near initialization for `ldt_entry')
rtld.c:1579: warning: excess elements in struct initializer
rtld.c:1579: warning: (near initialization for `ldt_entry')
rtld.c:1579: warning: excess elements in struct initializer
rtld.c:1579: warning: (near initialization for `ldt_entry')
rtld.c:1579: warning: excess elements in struct initializer
rtld.c:1579: warning: (near initialization for `ldt_entry')
rtld.c:1579: warning: excess elements in struct initializer
rtld.c:1579: warning: (near initialization for `ldt_entry')
rtld.c:1579: storage size of `ldt_entry' isn't known
make[2]: *** [/bld/heli6/elf/rtld.os] Error 1
make[2]: Leaving directory `/net/shadow/bld/glibc-2.3.2/elf'
make[1]: *** [elf/subdir_lib] Error 2
make[1]: Leaving directory `/net/shadow/bld/glibc-2.3.2'
make: *** [all] Error 2


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