[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Short question(s)



On Mon, Feb 28, 2005 at 09:04:09AM +0900, GOTO Masanori wrote:
> At Thu, 24 Feb 2005 11:50:48 +0100,
> Daniele Cruciani wrote:
> > I do want to build glibc setting kernel minimal version to 2.4.0
> > (2.4.22 .. does matter last digit??), and compile it with flags for my
> > machine (PIII).
> > 
> > (I actually use kernel 2.6.10)
> > 
> > Will I fall in any trouble?
> 
> It depends on your architecture.  At least i386 should work with
> 2.4.x, but we don't test it.  Note that tls and i686 are complied with
> 2.6.0.

I tried:

make[3]: Entering directory `/home/crux/LIBC/glibc-2.3.2.ds1/build-tree/glibc-2.
3.2/elf'
gcc-3.3 rtld.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-stri
ngs -fstrict-aliasing -g -pipe -mpreferred-stack-boundary=2  -fPIC -Wno-uninitia
lized -Wno-unused   -I../include -I. -I/home/crux/LIBC/glibc-2.3.2.ds1/build-tre
e/i386-libc/elf -I.. -I../libio  -I/home/crux/LIBC/glibc-2.3.2.ds1/build-tree/i3
86-libc -I../sysdeps/i386/elf -I../linuxthreads/sysdeps/unix/sysv/linux/i386 -I.
./linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sy
sdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix
 -I../linuxthreads/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/u
nix/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../s
ysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -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/ge
neric/elf -I../sysdeps/generic -nostdinc -isystem /usr/lib/gcc-lib/i486-linux/3.
3.5/include -isystem /home/crux/LIBC/glibc-2.3.2.ds1/debian/include -D_LIBC_REEN
TRANT -include ../include/libc-symbols.h  -DPIC -DSHARED -DNOT_IN_libc=1 -DIS_IN
_rtld=1     -o /home/crux/LIBC/glibc-2.3.2.ds1/build-tree/i386-libc/elf/rtld.os 
-MD -MP -MF /home/crux/LIBC/glibc-2.3.2.ds1/build-tree/i386-libc/elf/rtld.os.dt
rtld.c: In function `dl_main':
rtld.c:1719: error: variable `ldt_entry' has initializer but incomplete type
rtld.c:1719: warning: excess elements in struct initializer
rtld.c:1719: warning: (near initialization for `ldt_entry')
rtld.c:1719: warning: excess elements in struct initializer
rtld.c:1719: warning: (near initialization for `ldt_entry')
rtld.c:1719: warning: excess elements in struct initializer
rtld.c:1719: warning: (near initialization for `ldt_entry')
rtld.c:1719: warning: excess elements in struct initializer
rtld.c:1719: warning: (near initialization for `ldt_entry')
rtld.c:1719: warning: excess elements in struct initializer
rtld.c:1719: warning: (near initialization for `ldt_entry')
rtld.c:1719: warning: excess elements in struct initializer
rtld.c:1719: warning: (near initialization for `ldt_entry')
rtld.c:1719: warning: excess elements in struct initializer
rtld.c:1719: warning: (near initialization for `ldt_entry')
rtld.c:1719: warning: excess elements in struct initializer
rtld.c:1719: warning: (near initialization for `ldt_entry')
rtld.c:1719: warning: excess elements in struct initializer
rtld.c:1719: warning: (near initialization for `ldt_entry')
rtld.c:1719: warning: excess elements in struct initializer
rtld.c:1719: warning: (near initialization for `ldt_entry')
rtld.c:1719: error: storage size of `ldt_entry' isn't known
rtld.c:1719: error: variable `ldt_entry' has initializer but incomplete type
rtld.c:1719: warning: excess elements in struct initializer
rtld.c:1719: warning: (near initialization for `ldt_entry')
rtld.c:1719: warning: excess elements in struct initializer
rtld.c:1719: warning: (near initialization for `ldt_entry')
rtld.c:1719: warning: excess elements in struct initializer
rtld.c:1719: warning: (near initialization for `ldt_entry')
rtld.c:1719: warning: excess elements in struct initializer
rtld.c:1719: warning: (near initialization for `ldt_entry')
rtld.c:1719: warning: excess elements in struct initializer
rtld.c:1719: warning: (near initialization for `ldt_entry')
rtld.c:1719: warning: excess elements in struct initializer
rtld.c:1719: warning: (near initialization for `ldt_entry')
rtld.c:1719: warning: excess elements in struct initializer
rtld.c:1719: warning: (near initialization for `ldt_entry')
rtld.c:1719: warning: excess elements in struct initializer
rtld.c:1719: warning: (near initialization for `ldt_entry')
rtld.c:1719: warning: excess elements in struct initializer
rtld.c:1719: warning: (near initialization for `ldt_entry')
rtld.c:1719: warning: excess elements in struct initializer
rtld.c:1719: warning: (near initialization for `ldt_entry')
rtld.c:1719: error: storage size of `ldt_entry' isn't known

MIN_KERNEL_SUPPORTED := 2.4.22

LINUX_SOURCE not set

the only experimental thing is here is libgcc1 4.0 (2005-01-25)


Daniele.
p.s.: GOTO, I miss cc to ml .. sorry.



Reply to: