From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24595 invoked by alias); 14 Jan 2004 18:51:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 24582 invoked by uid 48); 14 Jan 2004 18:51:45 -0000 Date: Wed, 14 Jan 2004 18:51:00 -0000 Message-ID: <20040114185145.24581.qmail@sources.redhat.com> From: "rearnsha at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20030821181555.12015.dhazeghi@yahoo.com> References: <20030821181555.12015.dhazeghi@yahoo.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug bootstrap/12015] [arm-netbsdelf] hidden symbol __fixunsdfsi referenced by DSO X-Bugzilla-Reason: CC X-SW-Source: 2004-01/txt/msg01596.txt.bz2 List-Id: ------- 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