This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: relocation R_X86_64_PC32: but fPIC used
- From: "H. J. Lu" <hjl at lucon dot org>
- To: sean darcy <seandarcy2 at gmail dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Sun, 24 Apr 2005 11:21:51 -0700
- Subject: Re: relocation R_X86_64_PC32: but fPIC used
- References: <c195ebf70504241112c4e39b4@mail.gmail.com>
On Sun, Apr 24, 2005 at 02:12:00PM -0400, sean darcy wrote:
> I'm trying to build smilutils, a video conversion utility, on amd64.
>
> /usr/bin/ld: .libs/filehandler.o: relocation R_X86_64_PC32 against
> `std::basic_string<char, std::char_traits<char>, std::allocator<char>
> >::~basic_string()@@GLIBCXX_3.4' can not be used when making a shared
> object; recompile with -fPIC
> /usr/bin/ld: final link failed: Bad value
> collect2: ld returned 1 exit status
>
> But they're al built with -fPIC:
>
Is this the same as
http://sources.redhat.com/bugzilla/show_bug.cgi?id=584
Can you try the latest Linux binutils?
H.J.