public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/35597]  New: libstdc++ -ffunction-sections -fdata-sections disabled on AIX
@ 2008-03-15  2:54 dje at gcc dot gnu dot org
  2008-03-15  2:55 ` [Bug libstdc++/35597] " dje at gcc dot gnu dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: dje at gcc dot gnu dot org @ 2008-03-15  2:54 UTC (permalink / raw)
  To: gcc-bugs

"-g" was added to CXXFLAGS in the GLIBCXX_CHECK_COMPILER_FEATURES configure
test in libstdc++.  This option causes G++ to warn: "-ffunction-sections may
affect debugging on some targets".  CXXFLAGS also includes "-Werror" causing
the warning to become an error.  This results in -ffunction-sections
-fdata-sections being disabled.

"-ffunction-sections -fdata-sections" works fine on AIX and should be used
because it generates functions as intended and improves performance by allowing
the AIX linker to reorder functions.


-- 
           Summary: libstdc++ -ffunction-sections -fdata-sections disabled
                    on AIX
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: missed-optimization
          Severity: major
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dje at gcc dot gnu dot org
 GCC build triplet: powerpc-ibm-aix5.3.0.0
  GCC host triplet: powerpc-ibm.aix5.3.0.0
GCC target triplet: powerpc-ibm-aix5.3.0.0


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


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

end of thread, other threads:[~2008-04-24 18:07 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-15  2:54 [Bug libstdc++/35597] New: libstdc++ -ffunction-sections -fdata-sections disabled on AIX dje at gcc dot gnu dot org
2008-03-15  2:55 ` [Bug libstdc++/35597] " dje at gcc dot gnu dot org
2008-03-15 10:46 ` rguenth at gcc dot gnu dot org
2008-03-15 13:33 ` dje at gcc dot gnu dot org
2008-03-20 16:17 ` bkoz at gcc dot gnu dot org
2008-03-20 22:20 ` brian at dessent dot net
2008-04-09 14:42 ` dje at gcc dot gnu dot org
2008-04-14 20:09 ` bkoz at gcc dot gnu dot org
2008-04-24 16:59 ` bkoz at gcc dot gnu dot org
2008-04-24 18:00 ` dje at gcc dot gnu dot org
2008-04-24 18:07 ` dje at gcc dot gnu dot org

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