On 2009-04-18 17:19:10 (+0200), Sebastian Harl <s...@tokkee.org> wrote:
> Hi,
> 
> Thanks for reporting this.
> 
> On Sat, Apr 18, 2009 at 01:15:32PM +0300, Peter De Schrijver wrote:
> > > /bin/sh ../libtool --tag=CC   --mode=link mips-linux-gnu-gcc -Wall 
> > > -Werror  -Wall -g -O2 -module -avoid-version  -o netlink.la -rpath 
> > > /usr/lib/collectd netlink_la-netlink.lo -lnetlink 
> > > mips-linux-gnu-gcc -shared  .libs/netlink_la-netlink.o  -lnetlink  
> > > -Wl,-soname -Wl,netlink.so -o .libs/netlink.so
> > > /usr/bin/ld: 
> > > /usr/lib/gcc/mips-linux-gnu/4.3.3/../../../../lib/libnetlink.a(libnetlink.o):
> > >  relocation R_MIPS_HI16 against `__gnu_local_gp' can not be used when 
> > > making a shared object; recompile with -fPIC
> > > /usr/lib/gcc/mips-linux-gnu/4.3.3/../../../../lib/libnetlink.a: could not 
> > > read symbols: Bad value
> > > collect2: ld returned 1 exit status
> 
> That looks like mips behaves like most other architectures and does not
> allow to link static object compiled without -fPIC into shared objects.
> Is that true? I wonder why it has had been working so far then.
> 

That's true yes. I have no idea why it has been working up till now then.

> If that's the case, the only way to fix this is by disabling the netlink
> plugin on mips as well.
> 

Ok.

Cheers,

Peter.



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to