This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: make install install_root problem upgrading from 2.2.5 to 2.3.2
- From: Frédéric L. W. Meunier <0 at pervalidus dot net>
- To: libc-alpha at sources dot redhat dot com
- Date: Mon, 3 Mar 2003 17:48:38 -0300 (BRT)
- Subject: Re: make install install_root problem upgrading from 2.2.5 to 2.3.2
Even a make install fails. I retried with 2.3.2.
# cd /home/fredlwm/objdir
# make install install_root=/root/glibc
make: /lib/ld-linux.so.2: version `GLIBC_PRIVATE' not found (required by libc.so.6)
# make install
make: /lib/ld-linux.so.2: version `GLIBC_PRIVATE' not found (required by libc.so.6)
# foo: /lib/ld-linux.so.2: version `GLIBC_PRIVATE' not found (required by libc.so.6)
Then I cd outside objdir and any command works.
LD_LIBRARY_PATH=elf/ld-linux.so.2 nm elf/ld-linux.so.2| grep GLIBC_PRIVATE
returns
00000000 A GLIBC_PRIVATE
I tried copying ld.so and libc.so to /lib/ld-2.3.2.so and
/lib/libc-2.3.2.so, made the appropriate symlinks, and ran make
install install_root=/root/glibc.
It then seem to have relinked everything but complained at some
point with "undefined symbol: _dl_cpuclock_offset." when it
ran perl.
I notice _dl_cpuclock_offset is only available on optimized
builds, but it's in my 2.2.5. Shouldn't it be in my 2.3.2 since
GCC 3.2.2 was configured for i686-pc-linux-gnu ?
LD_LIBRARY_PATH=elf/ld-linux.so.2 nm linuxthreads/libpthread.so.0 | grep _dl_cpuclock_offset
returns nothing.
I think I'll stick with 2.2.5 until I do another install with
some 2.3.x.
BTW, I'm not sure if the following should happen. From
config.log.
configure:5390: checking for DWARF2 unwind info support
configure:5425: gcc -g -O2 -DCHECK__register_frame_info
-nostdlib -nostartfiles
-o conftest conftest.c -lgcc >&5
configure: In function `abort':
configure:5417: warning: `noreturn' function does return
/tmp/cco5PHzX.o(.text+0xf): In function `_start':
/home/fredlwm/objdir/configure:5404: undefined reference to `__register_frame_info'
/tmp/cco5PHzX.o(.text+0x1c):/home/fredlwm/objdir/configure:5405: undefined reference to `__deregister_frame_info'
collect2: ld returned 1 exit status
configure:5428: $? = 1
There are also
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../../i686-pc-linux-gnu/bin/ld:
warning: cannot find entry symbol _start; defaulting to 08048080
checking for __builtin_expect and local label subtraction.
--
0 at pervalidus dot {tk, dyndns.org}