Re: [squid-users] Re: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC

From: Nikolai Gorchilov <niki_at_x3me.net>
Date: Sun, 22 Dec 2013 09:52:45 +0200

Hi Brian,

Do you add CFLAGS/CXXFLAGS/etc while ./configure? I had similar issue,
until I completely removed them.

Best,
Niki

On Mon, Dec 16, 2013 at 3:31 PM, Brian J. Murrell <brian_at_interlinx.bc.ca> wrote:
> On Mon, 2013-12-16 at 15:08 +1300, Amos Jeffries wrote:
>>
>> I have a patch that fixes some of these at
>> <http://master.squid-cache.org/~amosjeffries/patches/squid-3_relocation_PIC_PIE_error.patch>
>>
>> It is not quite complete yet, you also need to use --disable-eui.
>
> I'm sure you know this but just to make sure there is positive
> confirmation, neither the patch nor the --disable-eui resolves the:
>
> /usr/bin/ld.bfd.real: ../snmplib/libsnmplib.a(snmp_vars.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
>
> Cheers,
> b.
>
Received on Sun Dec 22 2013 - 07:53:33 MST

This archive was generated by hypermail 2.2.0 : Sun Dec 22 2013 - 12:00:04 MST