This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: linker question
- To: Arkadiusz Miskiewicz <misiek at pld dot ORG dot PL>
- Subject: Re: linker question
- From: "H . J . Lu" <hjl at lucon dot org>
- Date: Sat, 16 Jun 2001 17:42:48 -0700
- Cc: gcc at gcc dot gnu dot org
- References: <87lmmsm4ga.fsf@arm.t19.ds.pwr.wroc.pl>
On Sun, Jun 17, 2001 at 12:43:01AM +0200, Arkadiusz Miskiewicz wrote:
>
> Hi,
>
> I tried to compile gcc 3.0 (20010615 snap) but unfortunately:
> ...
> /home/users/builder/rpm/BUILD/gcc-3.0-20010615/obj-i686-pld-linux/gcc/xgcc
> -B/home/users/builder/rpm/BUILD/gcc-3.0-20010615/obj-i686-pld-linux/gcc/
> -B/usr/i686-pld-linux/bin/ -B/usr/i686-pld-linux/lib/ -isystem
> /usr/i686-pld-linux/include -shared .libs/prims.o .libs/posix.o ........
> .libs/posix-threads.o -Wl,--whole-archive
> ../libffi/.libs/libfficonvenience.a ./libltdl/.libs/libltdlc.a
> -Wl,--no-whole-archive
> -L/home/users/builder/rpm/BUILD/gcc-3.0-20010615/obj-i686-pld-linux/i686-pld-linux/libjava
> ../libffi/.libs/libfficonvenience.a -lpthread
> ./libltdl/.libs/libltdlc.a -ldl -lc -Wl,-soname -Wl,libgcj.so.2 -o
> .libs/libgcj.so.2.0.0
> /usr/bin/ld: .libs/libgcj.so.2.0.0: undefined versioned symbol name
> __register_frame_info@@GLIBC_2.0/usr/bin/ld: failed to set dynamic
> section sizes: Bad value
> collect2: ld returned 1 exit status
> make[3]: *** [libgcj.la] Error 1
>
> [misiek@arm misiek]$ objdump -T /lib/libc.so.6 | grep _register_frame_info
> 000fb090 g DF .text 0000007a GLIBC_2.0 __register_frame_info_table
> 000fafd4 g DF .text 0000007e GLIBC_2.0 __register_frame_info
>
> glibc-2.2.3-3
> gcc-2.95.3-1
> binutils-2.11.90.0.15-1
> 2.4.5 on x86
>
> Any suggestions?
I believe gcc 3.0 is broken.
H.J.