public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "dv at vollmann dot ch" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/45053] libgcc_s link command misses crtsavgpr_s and crtresgpr_s for powerpc
Date: Sat, 24 Jul 2010 13:36:00 -0000	[thread overview]
Message-ID: <20100724133548.26809.qmail@sourceware.org> (raw)
In-Reply-To: <bug-45053-3249@http.gcc.gnu.org/bugzilla/>



------- Comment #3 from dv at vollmann dot ch  2010-07-24 13:35 -------
Subject: Re:  libgcc_s link command misses crtsavgpr_s
 and crtresgpr_s for powerpc

On 07/24/10 15:22, mikpe at it dot uu dot se wrote:
> ------- Comment #2 from mikpe at it dot uu dot se  2010-07-24 13:22 -------
> The build on some targets including powerpc is supposed to create libgcc_s.so
> as a linker script that inputs BOTH the real shared libgcc_s.so and the static
> libgcc.a, as some symbols are only defined in the static libgcc.  Please make
> sure that you're preserving this linker script when installing gcc.
> 
> If you want to backport PR41175 to 4.4 then you also need to backport
> config.gcc changes related to the powerpc linker script from r151568.
> 
> (ARM has the same issue.  No I'm not responsible for this misdesign.)
> 
> 
This is not an issue of the linker script, as the linker script
doesn't give a DSO (correctly) access to hidden symbols in another
library of the same group.
You relly need to link those objects into libgcc_s, as those symbols
aren't fit for calling through dynamic symbol lookup.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45053


  parent reply	other threads:[~2010-07-24 13:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-24 12:42 [Bug bootstrap/45053] New: " gcc-bugzilla at gcc dot gnu dot org
2010-07-24 13:23 ` [Bug bootstrap/45053] " mikpe at it dot uu dot se
2010-07-24 13:36 ` dv at vollmann dot ch [this message]
2010-07-24 19:36 ` mikpe at it dot uu dot se
2010-08-05 14:38 ` paolo dot carlini at oracle dot com
2010-08-11  4:29 ` ian at airs dot com
2010-08-11  7:27 ` paolo dot carlini at oracle dot com
2010-08-11  7:31 ` paolo dot carlini at oracle dot com
2010-08-11 10:56 ` dv at vollmann dot ch
     [not found] <bug-45053-4@http.gcc.gnu.org/bugzilla/>
2011-03-25 10:46 ` rguenth at gcc dot gnu.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=20100724133548.26809.qmail@sourceware.org \
    --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).