bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/1443] /lib/libc.so.6: undefined reference to address@hidden'


From: dave at hiauly1 dot hia dot nrc dot ca
Subject: [Bug ld/1443] /lib/libc.so.6: undefined reference to address@hidden'
Date: 10 Oct 2005 20:43:20 -0000

------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca  
2005-10-10 20:43 -------
Subject: Re:  /lib/libc.so.6: undefined reference to address@hidden'

> This shouldn't be a problem since executable doesn't use any symbols in ld.so.
> If you can provide a testcase, I will try to look into it.

I see the following comment in elf-hppa.h:

  /* HP's shared libraries have references to symbols that are not
     defined anywhere.  The generic ELF BFD linker code will complain
     about such symbols.

     So we detect the losing case and arrange for the flags on the symbol
     to indicate that it was never referenced.  This keeps the generic
     ELF BFD link code happy and appears to not create any secondary
     problems.  Ultimately we need a way to control the behavior of the
     generic ELF BFD link code better.  */
     elf_link_hash_traverse (elf_hash_table (info),
                             elf_hppa_unmark_useless_dynamic_symbols,
                             info);

However, the code is only used for elf64.  At the moment, I don't see
any code that unsets DYN_DT_NEEDED.  Possibly, the bug is that the
info field unresolved_syms_in_shared_libs should be set to RM_IGNORE.

Dave


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=1443

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]