public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug optimization/11350] New: undefined labels with -Os -fPIC
@ 2003-06-27 12:13 debian-gcc at lists dot debian dot org
  2003-06-27 12:14 ` [Bug optimization/11350] " debian-gcc at lists dot debian dot org
                   ` (24 more replies)
  0 siblings, 25 replies; 26+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2003-06-27 12:13 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: undefined labels with -Os -fPIC
           Product: gcc
           Version: 3.3
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: debian-gcc at lists dot debian dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i386-linux
  GCC host triplet: i386-linux
GCC target triplet: i386-linux

[forwarded from http://bugs.debian.org/195911]

rechecked with 3.3 CVS 20030626 and HEAD CVS 20030531

While compiling XFree86 CVS with gcc-3.3 it compiles fine with default
optimization flags; but trying to compile with -Os results in undefined
symbols in shared libraries (i.e. this problem is only seen with -fPIC
and not otherwise) such as .L99. The problem was narrowed down to the
compilation of a few files e.g. xc/lib/Xaw/SimpleMenu.c, xc/lib/dps/dpsXclient.c
A check of assembly code shows that .L99 was being called with it being
absent; with -O2 it was present. Same problem comes with undefined .L92 in
xc/lib/Xaw6/SimpleMenu.c

Attaching the preprocessed source (.i and .s) in a followup.


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

end of thread, other threads:[~2004-01-27 13:07 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-27 12:13 [Bug optimization/11350] New: undefined labels with -Os -fPIC debian-gcc at lists dot debian dot org
2003-06-27 12:14 ` [Bug optimization/11350] " debian-gcc at lists dot debian dot org
2003-06-27 12:15 ` debian-gcc at lists dot debian dot org
2003-06-27 12:16 ` [Bug optimization/11350] [3.3/3.4 regression] " debian-gcc at lists dot debian dot org
2003-06-27 12:31 ` pinskia at physics dot uc dot edu
2003-06-27 13:12 ` pinskia at physics dot uc dot edu
2003-06-27 14:56 ` pinskia at physics dot uc dot edu
2003-06-27 15:19 ` pinskia at physics dot uc dot edu
2003-06-30 15:18 ` pinskia at physics dot uc dot edu
2003-07-15 23:33 ` pinskia at physics dot uc dot edu
2003-07-17 22:34 ` rth at gcc dot gnu dot org
2003-08-03 16:02 ` mmitchel at gcc dot gnu dot org
2003-08-03 16:03 ` mmitchel at gcc dot gnu dot org
2003-08-13  7:43 ` debian-gcc at lists dot debian dot org
2003-08-13  8:14 ` debian-gcc at lists dot debian dot org
2003-08-14 13:08 ` pinskia at gcc dot gnu dot org
2003-10-16  9:42 ` mmitchel at gcc dot gnu dot org
2003-12-21 20:28 ` gdr at gcc dot gnu dot org
2003-12-26 13:43 ` pinskia at gcc dot gnu dot org
2004-01-10 22:07 ` pinskia at gcc dot gnu dot org
2004-01-14  8:15 ` gdr at gcc dot gnu dot org
2004-01-14 20:04 ` rth at redhat dot com
2004-01-16 11:07 ` cvs-commit at gcc dot gnu dot org
2004-01-16 11:31 ` cvs-commit at gcc dot gnu dot org
2004-01-16 11:32 ` rth at gcc dot gnu dot org
2004-01-27 13:07 ` cvs-commit 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).