public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug inline-asm/33864]  New: gcc 4.3 svn fails to compile glibc 2.7's crti.o
@ 2007-10-22 21:03 bero at arklinux dot org
  2007-10-22 21:04 ` [Bug inline-asm/33864] " bero at arklinux dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: bero at arklinux dot org @ 2007-10-22 21:03 UTC (permalink / raw)
  To: gcc-bugs

../sysdeps/generic/initfini.c: Assembler messages:
../sysdeps/generic/initfini.c:149: Error: undefined symbol `.LCFI0' in
operation
../sysdeps/generic/initfini.c:149: Error: undefined symbol `.LFB10' in
operation
../sysdeps/generic/initfini.c:155: Error: undefined symbol `.LCFI1' in
operation
../sysdeps/generic/initfini.c:155: Error: undefined symbol `.LCFI0' in
operation
../sysdeps/generic/initfini.c:146: Error: can't resolve `.LFE10' {*UND*
section} - `.LFB10' {*UND* section}
../sysdeps/generic/initfini.c:165: Error: can't resolve `.LFE12' {*UND*
section} - `.LFB12' {.init section}
../sysdeps/generic/initfini.c:188: Error: can't resolve `.LFE13' {*UND*
section} - `.LFB13' {.fini section}


-- 
           Summary: gcc 4.3 svn fails to compile glibc 2.7's crti.o
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: inline-asm
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bero at arklinux dot org
 GCC build triplet: i586-pc-linux-gnu
  GCC host triplet: i586-pc-linux-gnu
GCC target triplet: i586-pc-linux-gnu


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


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

* [Bug inline-asm/33864] gcc 4.3 svn fails to compile glibc 2.7's crti.o
  2007-10-22 21:03 [Bug inline-asm/33864] New: gcc 4.3 svn fails to compile glibc 2.7's crti.o bero at arklinux dot org
@ 2007-10-22 21:04 ` bero at arklinux dot org
  2007-10-22 21:41 ` [Bug other/33864] " pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: bero at arklinux dot org @ 2007-10-22 21:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from bero at arklinux dot org  2007-10-22 21:04 -------
Created an attachment (id=14393)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14393&action=view)
Preprocessor output


-- 


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


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

* [Bug other/33864] gcc 4.3 svn fails to compile glibc 2.7's crti.o
  2007-10-22 21:03 [Bug inline-asm/33864] New: gcc 4.3 svn fails to compile glibc 2.7's crti.o bero at arklinux dot org
  2007-10-22 21:04 ` [Bug inline-asm/33864] " bero at arklinux dot org
@ 2007-10-22 21:41 ` pinskia at gcc dot gnu dot org
  2007-10-22 22:00 ` bero at arklinux dot org
  2010-05-22 17:38 ` jsm28 at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-10-22 21:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2007-10-22 21:41 -------
And why do you think this is a bug in GCC?
The whole source is preprocessed assembly.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|inline-asm                  |other


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


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

* [Bug other/33864] gcc 4.3 svn fails to compile glibc 2.7's crti.o
  2007-10-22 21:03 [Bug inline-asm/33864] New: gcc 4.3 svn fails to compile glibc 2.7's crti.o bero at arklinux dot org
  2007-10-22 21:04 ` [Bug inline-asm/33864] " bero at arklinux dot org
  2007-10-22 21:41 ` [Bug other/33864] " pinskia at gcc dot gnu dot org
@ 2007-10-22 22:00 ` bero at arklinux dot org
  2010-05-22 17:38 ` jsm28 at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: bero at arklinux dot org @ 2007-10-22 22:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from bero at arklinux dot org  2007-10-22 21:59 -------
The problem goes away by not using the -fasynchronous-unwind-tables compiler
flag.

That seems to point at a gcc bug because the code and/or ld shouldn't care, but
I might be wrong - I haven't had enough time to really figure out gcc
internals.


-- 


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


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

* [Bug other/33864] gcc 4.3 svn fails to compile glibc 2.7's crti.o
  2007-10-22 21:03 [Bug inline-asm/33864] New: gcc 4.3 svn fails to compile glibc 2.7's crti.o bero at arklinux dot org
                   ` (2 preceding siblings ...)
  2007-10-22 22:00 ` bero at arklinux dot org
@ 2010-05-22 17:38 ` jsm28 at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2010-05-22 17:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from jsm28 at gcc dot gnu dot org  2010-05-22 17:38 -------
Not a GCC bug; glibc is manipulating .s output from GCC in ways that
aren't expected to work with all possible options.  FWIW, EGLIBC has a fix
to allow it to build for x86 when unwind tables are enabled by default:

2009-06-25  Kazu Hirata  <kazu@codesourcery.com>

        * sysdeps/i386/Makefile (CFLAGS-initfini.s): Add
        -fno-asynchronous-unwind-tables and -fno-unwind-tables.
        (CFLAGS-pt-initfini.s): New.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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


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

end of thread, other threads:[~2010-05-22 17:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-22 21:03 [Bug inline-asm/33864] New: gcc 4.3 svn fails to compile glibc 2.7's crti.o bero at arklinux dot org
2007-10-22 21:04 ` [Bug inline-asm/33864] " bero at arklinux dot org
2007-10-22 21:41 ` [Bug other/33864] " pinskia at gcc dot gnu dot org
2007-10-22 22:00 ` bero at arklinux dot org
2010-05-22 17:38 ` jsm28 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).