This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug driver/17608] New: [3.3.4/3.4/4.0 regression] -profile should prevent use of libgcc_s


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]