public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/13695] New: glibc doesn't build properly with -frecord-gcc-switches in CFLAGS
@ 2012-02-15 18:54 asharif.tools at gmail dot com
  2012-02-15 19:55 ` [Bug libc/13695] " tschwinge at sourceware dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: asharif.tools at gmail dot com @ 2012-02-15 18:54 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=13695

             Bug #: 13695
           Summary: glibc doesn't build properly with
                    -frecord-gcc-switches in CFLAGS
           Product: glibc
           Version: 2.11
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper.fsp@gmail.com
        ReportedBy: asharif.tools@gmail.com
    Classification: Unclassified


Reproduction:

1. Build a toolchain with CFLAGS="-frecord-gcc-switches".
2. Try building an executable with gold as the linker. It will fail.

See: http://sources.redhat.com/ml/binutils/2011-11/msg00238.html

The reason is the following:

"""The glibc/csu/Makefile runs this code through a sed script that
deletes everything between HEADER_ENDS and _init_PROLOG_BEGINS, which
loses the ".text" directive, and the code for call_gmon_start ends up
placed in the .GCC.command.line section."""

taken from this ML thread:

http://sources.redhat.com/ml/binutils/2012-02/msg00109.html

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

end of thread, other threads:[~2014-06-26 15:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-15 18:54 [Bug libc/13695] New: glibc doesn't build properly with -frecord-gcc-switches in CFLAGS asharif.tools at gmail dot com
2012-02-15 19:55 ` [Bug libc/13695] " tschwinge at sourceware dot org
2012-02-16  2:35 ` asharif.tools at gmail dot com
2012-02-16  4:29 ` asharif.tools at gmail dot com
2012-02-16  4:30 ` asharif.tools at gmail dot com
2012-02-16 11:46 ` tschwinge at sourceware dot org
2012-02-17 17:34 ` vapier at gentoo dot org
2012-02-21  0:52 ` jsm28 at gcc dot gnu.org
2014-06-26 15:28 ` fweimer at redhat dot com

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