public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug driver/17608] New: [3.3.4/3.4/4.0 regression] -profile should prevent use of libgcc_s
@ 2004-09-22 12:35 schwab at suse dot de
  2004-09-22 12:44 ` [Bug target/17608] " pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: schwab at suse dot de @ 2004-09-22 12:35 UTC (permalink / raw)
  To: gcc-bugs

When linking with -profile then -lc_p is used instead of -lc, and the former is 
only available as a static library.  Thus this should be treated like a static 
link, and no shared libgcc should be linked in.  But when HAVE_LD_AS_NEEDED 
then -lgcc_s is also being linked in by default, causing a shared link that 
uses both libc_p and libc, and the resulting binary will crash.

-- 
           Summary: [3.3.4/3.4/4.0 regression] -profile should prevent use
                    of libgcc_s
           Product: gcc
           Version: 3.3.4
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: driver
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: schwab at suse dot de
                CC: amodra at bigpond dot net dot au,gcc-bugs at gcc dot gnu
                    dot org,jakub at redhat dot com
GCC target triplet: ia64-suse-linux


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-12-22  4:16 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-22 12:35 [Bug driver/17608] New: [3.3.4/3.4/4.0 regression] -profile should prevent use of libgcc_s schwab at suse dot de
2004-09-22 12:44 ` [Bug target/17608] " pinskia at gcc dot gnu dot org
2004-09-22 21:21 ` pinskia at gcc dot gnu dot org
2004-11-01  0:45 ` mmitchel at gcc dot gnu dot org
2004-12-20  1:58 ` pinskia at gcc dot gnu dot org
2004-12-20  7:43 ` amodra at bigpond dot net dot au
2004-12-20  8:35 ` amodra at bigpond dot net dot au
2004-12-22  2:44 ` amodra at bigpond dot net dot au
2004-12-22  4:16 ` amodra at bigpond dot net dot au

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