tech-userlevel 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 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

I've attached both symbol lists generated with 'objdump -t -T'.

-Mikko
librumpnet_sockin.so:     file format elf32-littlearm

SYMBOL TABLE:
000000d4 l    d  .hash  00000000 .hash
00000260 l    d  .dynsym        00000000 .dynsym
00000620 l    d  .dynstr        00000000 .dynstr
00000880 l    d  .rel.dyn       00000000 .rel.dyn
00000908 l    d  .rel.plt       00000000 .rel.plt
000009c8 l    d  .init  00000000 .init
000009e0 l    d  .plt   00000000 .plt
00000b14 l    d  .text  00000000 .text
00001668 l    d  .fini  00000000 .fini
0000167c l    d  .rodata        00000000 .rodata
00001810 l    d  .eh_frame      00000000 .eh_frame
00001814 l    d  .note.netbsd.ident     00000000 .note.netbsd.ident
0000182c l    d  .note.netbsd.pax       00000000 .note.netbsd.pax
00009840 l    d  .ctors 00000000 .ctors
00009848 l    d  .dtors 00000000 .dtors
00009850 l    d  .jcr   00000000 .jcr
00009854 l    d  .data.rel.ro   00000000 .data.rel.ro
000098b4 l    d  .dynamic       00000000 .dynamic
00009964 l    d  .got   00000000 .got
000099e8 l    d  .data  00000000 .data
00009a7c l    d  link_set_domains       00000000 link_set_domains
00009a80 l    d  .bss   00000000 .bss
00000000 l    d  .comment       00000000 .comment
00000000 l    d  .arm.atpcs     00000000 .arm.atpcs
00000000 l    d  *ABS*  00000000 .shstrtab
00000000 l    d  *ABS*  00000000 .symtab
00000000 l    d  *ABS*  00000000 .strtab
000099ec l     O .data  00000000 .hidden __dso_handle
00009964 l     O *ABS*  00000000 .hidden _GLOBAL_OFFSET_TABLE_
00000000         *UND*  00000000 m_freem
00009854 g     O .data.rel.ro   00000060 sockinsw
00009a7c g       *ABS*  00000000 __start_link_set_domains
00000000         *UND*  00000000 kmem_alloc
00000000         *UND*  00000000 rumpuser_poll
00001810 g       *ABS*  00000000 __exidx_end
000098b4 g     O *ABS*  00000000 _DYNAMIC
00009aac g       *ABS*  00000000 _bss_end__
00000000         *UND*  00000000 solocked
00000000         *UND*  00000000 kthread_create
00000000  w    F *UND*  00000000 __cxa_finalize
00000000       F *UND*  00000000 malloc
00009a80 g       *ABS*  00000000 __bss_start__
00000000         *UND*  00000000 rumpuser_net_connect
00001810 g       *ABS*  00000000 __exidx_start
00000000         *UND*  00000000 rumpuser_net_recvmsg
000009c8 g       .init  00000000 _init
00000000         *UND*  00000000 soreserve
00000000         *UND*  00000000 kmem_free
000099f4 g     O .data  00000084 sockindomain
00009a80 g       *ABS*  00000000 __stop_link_set_domains
00000000  w      *UND*  00000000 __deregister_frame_info
00009aac g       *ABS*  00000000 end
00000000         *UND*  00000000 rumpuser_close
00009aac g       *ABS*  00000000 __bss_end__
00000000         *UND*  00000000 mutex_exit
00000000         *UND*  00000000 __kernassert
00000000         *UND*  00000000 sbappendstream
00000000         *UND*  00000000 soisconnected
00000000         *UND*  00000000 panic
00000000         *UND*  00000000 mutex_init
00009a80 g       *ABS*  00000000 __bss_start
00000000         *UND*  00000000 rumpuser_net_sendmsg
00009aac g       *ABS*  00000000 __end__
00000000         *UND*  00000000 m_gethdr
00000000         *UND*  00000000 rumpuser_net_socket
00001668 g       .fini  00000000 _fini
00000000         *UND*  00000000 sosetlock
00000000         *UND*  00000000 sowakeup
00000000         *UND*  00000000 softnet_lock
00009a80 g       *ABS*  00000000 _edata
00009aac g       *ABS*  00000000 _end
00000000         *UND*  00000000 mutex_enter
00000000         *UND*  00000000 sbappendaddr
00000000         *UND*  00000000 mbtypes
00000000  w      *UND*  00000000 _Jv_RegisterClasses
00000000  w      *UND*  00000000 __register_frame_info


DYNAMIC SYMBOL TABLE:
000009c8 l    d  .init  00000000 .init
00000b14 l    d  .text  00000000 .text
00001668 l    d  .fini  00000000 .fini
0000167c l    d  .rodata        00000000 .rodata
00001810 l    d  .eh_frame      00000000 .eh_frame
00009840 l    d  .ctors 00000000 .ctors
00009848 l    d  .dtors 00000000 .dtors
00009850 l    d  .jcr   00000000 .jcr
00009854 l    d  .data.rel.ro   00000000 .data.rel.ro
000099e8 l    d  .data  00000000 .data
00009a7c l    d  link_set_domains       00000000 link_set_domains
00009a80 l    d  .bss   00000000 .bss
00000000      D  *UND*  00000000 m_freem
00009854 g    DO .data.rel.ro   00000060 sockinsw
00009a7c g    D  *ABS*  00000000 __start_link_set_domains
00000000      D  *UND*  00000000 kmem_alloc
00000000      D  *UND*  00000000 rumpuser_poll
00001810 g    D  *ABS*  00000000 __exidx_end
000098b4 g    DO *ABS*  00000000 _DYNAMIC
00009aac g    D  *ABS*  00000000 _bss_end__
00000000      D  *UND*  00000000 solocked
00000000      D  *UND*  00000000 kthread_create
00000000  w   DF *UND*  00000000 __cxa_finalize
00000000      DF *UND*  00000000 malloc
00009a80 g    D  *ABS*  00000000 __bss_start__
00000000      D  *UND*  00000000 rumpuser_net_connect
00001810 g    D  *ABS*  00000000 __exidx_start
00000000      D  *UND*  00000000 rumpuser_net_recvmsg
000009c8 g    D  .init  00000000 _init
00000000      D  *UND*  00000000 soreserve
00000000      D  *UND*  00000000 kmem_free
000099f4 g    DO .data  00000084 sockindomain
00009a80 g    D  *ABS*  00000000 __stop_link_set_domains
00000000  w   D  *UND*  00000000 __deregister_frame_info
00009aac g    D  *ABS*  00000000 end
00000000      D  *UND*  00000000 rumpuser_close
00009aac g    D  *ABS*  00000000 __bss_end__
00000000      D  *UND*  00000000 mutex_exit
00000000      D  *UND*  00000000 __kernassert
00000000      D  *UND*  00000000 sbappendstream
00000000      D  *UND*  00000000 soisconnected
00000000      D  *UND*  00000000 panic
00000000      D  *UND*  00000000 mutex_init
00009a80 g    D  *ABS*  00000000 __bss_start
00000000      D  *UND*  00000000 rumpuser_net_sendmsg
00009aac g    D  *ABS*  00000000 __end__
00000000      D  *UND*  00000000 m_gethdr
00000000      D  *UND*  00000000 rumpuser_net_socket
00001668 g    D  .fini  00000000 _fini
00000000      D  *UND*  00000000 sosetlock
00000000      D  *UND*  00000000 sowakeup
00000000      D  *UND*  00000000 softnet_lock
00009a80 g    D  *ABS*  00000000 _edata
00009aac g    D  *ABS*  00000000 _end
00000000      D  *UND*  00000000 mutex_enter
00000000      D  *UND*  00000000 sbappendaddr
00000000      D  *UND*  00000000 mbtypes
00000000  w   D  *UND*  00000000 _Jv_RegisterClasses
00000000  w   D  *UND*  00000000 __register_frame_info


librumpnet_sockin.so:     file format elf32-littlearm

SYMBOL TABLE:
000000b4 l    d  .hash  00000000 .hash
00000210 l    d  .dynsym        00000000 .dynsym
00000510 l    d  .dynstr        00000000 .dynstr
00000744 l    d  .rel.dyn       00000000 .rel.dyn
000007cc l    d  .rel.plt       00000000 .rel.plt
0000088c l    d  .init  00000000 .init
000008a4 l    d  .plt   00000000 .plt
000009d8 l    d  .text  00000000 .text
0000152c l    d  .fini  00000000 .fini
00001540 l    d  .rodata        00000000 .rodata
000016d4 l    d  .eh_frame      00000000 .eh_frame
000016d8 l    d  .note.netbsd.ident     00000000 .note.netbsd.ident
000016f0 l    d  .note.netbsd.pax       00000000 .note.netbsd.pax
00009704 l    d  .ctors 00000000 .ctors
0000970c l    d  .dtors 00000000 .dtors
00009714 l    d  .jcr   00000000 .jcr
00009718 l    d  .data.rel.ro   00000000 .data.rel.ro
00009778 l    d  .dynamic       00000000 .dynamic
00009828 l    d  .got   00000000 .got
000098ac l    d  .data  00000000 .data
00009940 l    d  link_set_domains       00000000 link_set_domains
00009944 l    d  .bss   00000000 .bss
00000000 l    d  .comment       00000000 .comment
00000000 l    d  .ARM.attributes        00000000 .ARM.attributes
00009828 l     O *ABS*  00000000 .hidden _GLOBAL_OFFSET_TABLE_
000098b0 l     O .data  00000000 .hidden __dso_handle
00009778 l     O *ABS*  00000000 .hidden _DYNAMIC
00009718 g     O .data.rel.ro   00000060 sockinsw
00000000  w      *UND*  00000000 __register_frame_info
00000000         *UND*  00000000 mutex_enter
00000000         *UND*  00000000 sbappendstream
00000000         *UND*  00000000 softnet_lock
00000000         *UND*  00000000 m_gethdr
00000000  w      *UND*  00000000 _Jv_RegisterClasses
00000000         *UND*  00000000 sbappendaddr
00009970 g       *ABS*  00000000 end
0000152c g       .fini  00000000 _fini
00000000         *UND*  00000000 rumpuser_net_connect
00000000  w    F *UND*  00000000 __cxa_finalize
00000000       F *UND*  00000000 malloc
00000000         *UND*  00000000 kthread_create
00000000         *UND*  00000000 kmem_free
00000000         *UND*  00000000 m_freem
000098ac g       .data  00000000 __data_start
00009944 g       *ABS*  00000000 __bss_start__
000016d4 g       *ABS*  00000000 __exidx_end
00000000         *UND*  00000000 sowakeup
00000000         *UND*  00000000 mutex_exit
00000000         *UND*  00000000 rumpuser_net_sendmsg
00000000         *UND*  00000000 rumpuser_net_socket
00009970 g       *ABS*  00000000 __end__
00009970 g       *ABS*  00000000 __bss_end__
00000000         *UND*  00000000 solocked
00000000         *UND*  00000000 sosetlock
00000000         *UND*  00000000 rumpuser_net_recvmsg
00009944 g       *ABS*  00000000 __bss_start
000098b8 g     O .data  00000084 sockindomain
00009970 g       *ABS*  00000000 _bss_end__
00000000         *UND*  00000000 rumpuser_poll
00000000         *UND*  00000000 mbtypes
00009970 g       *ABS*  00000000 _end
00000000         *UND*  00000000 rumpuser_close
00000000         *UND*  00000000 mutex_init
00000000         *UND*  00000000 kmem_alloc
00009944 g       *ABS*  00000000 _edata
000016d4 g       *ABS*  00000000 __exidx_start
00000000         *UND*  00000000 soreserve
00000000         *UND*  00000000 __kernassert
0000088c g       .init  00000000 _init
00000000         *UND*  00000000 soisconnected
00000000         *UND*  00000000 panic
00000000  w      *UND*  00000000 __deregister_frame_info


DYNAMIC SYMBOL TABLE:
0000088c l    d  .init  00000000 .init
00009704 l    d  .ctors 00000000 .ctors
00009718 g    DO .data.rel.ro   00000060 sockinsw
00000000  w   D  *UND*  00000000 __register_frame_info
00000000      D  *UND*  00000000 mutex_enter
00000000      D  *UND*  00000000 sbappendstream
00000000      D  *UND*  00000000 softnet_lock
00000000      D  *UND*  00000000 m_gethdr
00000000  w   D  *UND*  00000000 _Jv_RegisterClasses
00000000      D  *UND*  00000000 sbappendaddr
00009970 g    D  *ABS*  00000000 end
0000152c g    D  .fini  00000000 _fini
00000000      D  *UND*  00000000 rumpuser_net_connect
00000000  w   DF *UND*  00000000 __cxa_finalize
00000000      DF *UND*  00000000 malloc
00000000      D  *UND*  00000000 kthread_create
00000000      D  *UND*  00000000 kmem_free
00000000      D  *UND*  00000000 m_freem
000098ac g    D  .data  00000000 __data_start
00009944 g    D  *ABS*  00000000 __bss_start__
000016d4 g    D  *ABS*  00000000 __exidx_end
00000000      D  *UND*  00000000 sowakeup
00000000      D  *UND*  00000000 mutex_exit
00000000      D  *UND*  00000000 rumpuser_net_sendmsg
00000000      D  *UND*  00000000 rumpuser_net_socket
00009970 g    D  *ABS*  00000000 __end__
00009970 g    D  *ABS*  00000000 __bss_end__
00000000      D  *UND*  00000000 solocked
00000000      D  *UND*  00000000 sosetlock
00000000      D  *UND*  00000000 rumpuser_net_recvmsg
00009944 g    D  *ABS*  00000000 __bss_start
000098b8 g    DO .data  00000084 sockindomain
00009970 g    D  *ABS*  00000000 _bss_end__
00000000      D  *UND*  00000000 rumpuser_poll
00000000      D  *UND*  00000000 mbtypes
00009970 g    D  *ABS*  00000000 _end
00000000      D  *UND*  00000000 rumpuser_close
00000000      D  *UND*  00000000 mutex_init
00000000      D  *UND*  00000000 kmem_alloc
00009944 g    D  *ABS*  00000000 _edata
000016d4 g    D  *ABS*  00000000 __exidx_start
00000000      D  *UND*  00000000 soreserve
00000000      D  *UND*  00000000 __kernassert
0000088c g    D  .init  00000000 _init
00000000      D  *UND*  00000000 soisconnected
00000000      D  *UND*  00000000 panic
00000000  w   D  *UND*  00000000 __deregister_frame_info




Home | Main Index | Thread Index | Old Index