public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rearnsha at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/12015] [arm-netbsdelf] hidden symbol __fixunsdfsi referenced by DSO
Date: Wed, 14 Jan 2004 18:51:00 -0000	[thread overview]
Message-ID: <20040114185145.24581.qmail@sources.redhat.com> (raw)
In-Reply-To: <20030821181555.12015.dhazeghi@yahoo.com>


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


  parent reply	other threads:[~2004-01-14 18:51 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-21 18:16 [Bug bootstrap/12015] New: " dhazeghi at yahoo dot com
2003-08-21 18:19 ` [Bug bootstrap/12015] " dhazeghi at yahoo dot com
2003-08-21 18:31 ` pinskia at gcc dot gnu dot org
2003-08-21 19:57 ` dhazeghi at yahoo dot com
2003-08-21 20:00 ` pinskia at gcc dot gnu dot org
2003-08-23  1:27 ` dhazeghi at yahoo dot com
2003-08-24 17:40 ` dhazeghi at yahoo dot com
2004-01-14 18:51 ` rearnsha at gcc dot gnu dot org [this message]
2004-01-16  3:59 ` dhazeghi at yahoo dot com
2004-02-06  1:42 ` pinskia at gcc dot gnu dot org
2004-12-29  0:25 ` rth at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040114185145.24581.qmail@sources.redhat.com \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).