[Bug driver/17608] New: [3.3.4/3.4/4.0 regression] -profile should prevent use of libgcc_s
schwab at suse dot de
gcc-bugzilla@gcc.gnu.org
Wed Sep 22 12:35:00 GMT 2004
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
More information about the Gcc-bugs
mailing list