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. If that's the case, the only way to fix this is by disabling the netlink plugin on mips as well. Cheers, Sebastian -- Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/ Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin
signature.asc
Description: Digital signature