[Bug bootstrap/12015] [arm-netbsdelf] hidden symbol __fixunsdfsi referenced by DSO
rearnsha at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Jan 14 18:51:00 GMT 2004
------- Additional Comments From rearnsha at gcc dot gnu dot org 2004-01-14 18:51 -------
I've seen this myself if I try to use a recent version of GNU ld. The problem
is that ld now implements the .hidden binding on symbols correctly and won't
allow a DSO to reference a hidden symbol in the main application (previously it
would quietly allow this). Since libc on arm-netbsd systems does not contain
its own definition of __fixunsdfsi the link fails with the error you are seeing.
I have a patch to NetBSD-current in my own source tree that fixes this problem
(by adding __fixunsdfsi and a few other similar cases to libc.so), but I haven't
fed it back into the netbsd source tree yet, and it probably doesn't apply to
the 1.6 release since the compiler and support libraries have all changed since
then.
Your best bet is to make sure you use the system linker rather than the GNU one
for now.
You can also peruse a discussion on this issue on the tech-toolchain mailing
list back in Nov 2003 (subject "softfloat fixuns woes").
Can you confirm my suspicions about your version of ld? If so, I think this is
really a NetBSD problem rather than a GCC one.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |rearnsha at arm dot com
Status|NEW |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12015
More information about the Gcc-bugs
mailing list