tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: rump_nfs dependencies and binutils 2.18.50



On Tue Nov 25 2008 at 14:35:59 +0200, Mikko Rapeli wrote:
> On Tue, Nov 25, 2008 at 02:01:39PM +0200, Antti Kantee wrote:
> > On Tue Nov 25 2008 at 13:48:39 +0200, Mikko Rapeli wrote:
> > > /home/mira/src/netbsd/netbsd-thumb/obj/destdir.evbarm/usr/lib/librumpnet.so:
> > > undefined reference to `__start_link_set_domains'
> > > /home/mira/src/netbsd/netbsd-thumb/obj/destdir.evbarm/usr/lib/librumpnet.so:
> > > undefined reference to `__stop_link_set_domains'
> > > collect2: ld returned 1 exit status
> > 
> > Curious, since as you can easily verify, rumpnet_sockin provides a
> > networking domain and the "missing" symbols.
> 
> It does when compiled with binutils 2.16.1 from current but
> doesn't after upgrade to 2.18.50. Odd.
> 
> current from today:
> 
> $../../../tooldir.Linux-2.6.24-etchnhalf.1-686-unknown/bin/arm--netbsdelf-objdump
>  -t -T librumpnet_sockin.so | grep  __start_link_set_domains
> 00009a7c g       *ABS*  00000000 __start_link_set_domains
> 00009a7c g    D  *ABS*  00000000 __start_link_set_domains
> 
> current from last Thursday with binutils 2.18.50:
> 
> $../../../tooldir.Linux-2.6.24-etchnhalf.1-686-unknown/bin/arm--netbsdelf-objdump
>  -t -T librumpnet_sockin.so | grep __start_link_set_domains

Looks fishy.  Especially you should note that 2.18.50 has
link_set_domains and sockindomain, which are both generated by the
DOMAIN_DEFINE(sockindomain); directive.

For some reason __start/stop_link_set is lost somewhere or not generated
at all.  If you have energy, you can try to track down where the behaviour
is different (compile/assemble/link).

But I still don't understand why the alternative networking domains
would work, since they do the same thing.


Home | Main Index | Thread Index | Old Index