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

Re: Problem compiling (gcc? glibc?)



On Sun, 23 Jan 2005 4:14 am, Michael Marsh wrote:
> The only other thing I can think of is for you to post the results of
> $ nm -D /lib/ld-2.3.2.so
$ nm -D /lib/ld-2.3.2.so
00000000 A GLIBC_2.0
00000000 A GLIBC_2.1
00000000 A GLIBC_2.3
00000000 A GLIBC_PRIVATE
0000e9b0 T ___tls_get_addr
00016d30 B __libc_enable_secure
0000fa20 W __libc_memalign
00016e10 B __libc_stack_end
0000e100 T __tls_get_addr
0000e870 T _dl_allocate_tls
0000e690 T _dl_allocate_tls_init
00016c40 B _dl_argv
0000beb0 T _dl_catch_error
0000cf80 T _dl_check_map_versions
0000e890 T _dl_deallocate_tls
0000cb50 T _dl_debug_printf
0000c690 T _dl_debug_state
00003dc0 T _dl_dst_count
00003ea0 T _dl_dst_substitute
0000ecc0 T _dl_get_origin
0000e5d0 T _dl_get_tls_static_info
0000c120 T _dl_init
00007d60 T _dl_lookup_symbol
00008080 T _dl_lookup_symbol_skip
00008330 T _dl_lookup_versioned_symbol
00008790 T _dl_lookup_versioned_symbol_skip
00006230 T _dl_map_object
0000aab0 T _dl_map_object_deps
0000ddb0 T _dl_mcount
000123e0 R _dl_out_of_memory
000092b0 T _dl_relocate_object
00006b30 T _dl_rtld_di_serinfo
0000bc10 T _dl_signal_error
0000d500 T _dl_start_profile
00016c44 V _dl_starting_up
0000e4a0 T _dl_tls_setup
0000e8f0 T _dl_tls_symaddr
00007450 T _dl_unload_cache
00016e24 B _r_debug
000164a0 D _rtld_global
0000fb60 W calloc
0000fb90 W free
0000fb30 W malloc
0000fbe0 W realloc

$ nm -D /lib/tls/ld-2.3.2.so
00000000 A GLIBC_2.0
00000000 A GLIBC_2.1
00000000 A GLIBC_2.3
00000000 A GLIBC_PRIVATE
0000e4c0 T ___tls_get_addr
00015894 B __libc_enable_secure
0000f6b0 W __libc_memalign
00015970 B __libc_stack_end
0000de80 T __tls_get_addr
0000e8c0 T _dl_allocate_tls
0000e2c0 T _dl_allocate_tls_init
000157a0 B _dl_argv
0000bcd0 T _dl_catch_error
0000ca00 T _dl_check_map_versions
0000e930 T _dl_deallocate_tls
0000c570 T _dl_debug_printf
0000c4b0 T _dl_debug_state
00003c00 T _dl_dst_count
00003ce0 T _dl_dst_substitute
0000ea40 T _dl_get_origin
0000e1d0 T _dl_get_tls_static_info
0000be20 T _dl_init
000072f0 T _dl_lookup_symbol
00007610 T _dl_lookup_symbol_skip
000078c0 T _dl_lookup_versioned_symbol
00007d30 T _dl_lookup_versioned_symbol_skip
000041e0 T _dl_map_object
0000a870 T _dl_map_object_deps
0000dbb0 T _dl_mcount
00011a00 R _dl_out_of_memory
000090f0 T _dl_relocate_object
00004ae0 T _dl_rtld_di_serinfo
0000ba30 T _dl_signal_error
0000d2f0 T _dl_start_profile
000157a4 V _dl_starting_up
0000e7f0 T _dl_tls_setup
0000e490 T _dl_tls_symaddr
000072a0 T _dl_unload_cache
0001597c B _r_debug
00015000 D _rtld_global
0000f7f0 W calloc
0000f820 W free
0000f7c0 W malloc
0000f870 W realloc

Does that mean anything to you?
> That's where all of the undefined symbols are.  The file's
> world-readable as well as world-executable, right?
$ ls -l /lib/ld-2.3.2.so /lib/tls/ld-2.3.2.so
-rwxr-xr-x  1 root root 90088 Dec 27 15:41 /lib/ld-2.3.2.so
-rwxr-xr-x  1 root root 88904 Dec 27 15:41 /lib/tls/ld-2.3.2.so


Thanks for all your suggestions so far. I hope someone can work out what's 
causing the problem soon.

Andrew Walbran



Reply to: