[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Fkt-devel] Problem compiling fxt with gcc 4.6.1
From: |
Samuel Thibault |
Subject: |
Re: [Fkt-devel] Problem compiling fxt with gcc 4.6.1 |
Date: |
Fri, 16 Dec 2011 18:43:39 +0100 |
User-agent: |
Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30) |
François Trahay, le Thu 15 Dec 2011 10:06:45 +0100, a écrit :
> libtool: link: gcc -shared -fPIC -DPIC .libs/fxt.o .libs/names.o
> .libs/symbols.o .libs/pids.o .libs/get_cpu_info.o .libs/ev.o
> .libs/fut_setup.o .libs/fut_record.o -lbfd -lrt -O2 -Wl,-soname
> -Wl,libfxt.so.0 -o .libs/libfxt.so.0.0.0
> /usr/bin/ld:
> /data/urban/sw/gcc-4.6.1-exe0/lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../lib64/libiberty.a(cplus-dem.o):
> relocation R_X86_64_32S against `_sch_istable' can not be used when making a
> shared object; recompile with -fPIC
I wonder what pulls libiberty.a... It should be pulling libiberty_pic.a
instead. Could he run the gcc command above with an addition
-v -Wl,--verbose
and possibly try to pass libiberty_pic.a by hand.
Samuel