public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/37441] New: [4.4 regression] dwarf2 unwind info patches produce undefined symbols
@ 2008-09-09 12:54 ro at gcc dot gnu dot org
2008-09-09 12:55 ` [Bug bootstrap/37441] " ro at gcc dot gnu dot org
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: ro at gcc dot gnu dot org @ 2008-09-09 12:54 UTC (permalink / raw)
To: gcc-bugs
Between 20080801 and 20080903, mainline bootstrap started to fail on IRIX 6.5.
The symptom is a configuration failure when configuring stage2 support
libraries
like zlib:
checking whether the
/vol/gccsrc/obj/gcc-4.4.0-20080903/6.5-gcc/./prev-gcc/xgcc
-B/vol/gccsrc/obj/gcc-4.4.0-20080903/6.5-gcc/./prev-gcc/
-B/vol/gcc/mips-sgi-irix6.5/bin/ linker (/usr/bin/ld -n32) supports shared
libraries... configure: error: Link tests are not allowed after
GCC_NO_EXECUTABLES.
make[2]: *** [configure-stage2-zlib]
>From zlib/config.log, it seems like the checking for suffix of executables test
fails:
configure:2484: /vol/gccsrc/obj/gcc-4.4.0-20080903/6.5-gcc/./prev-gcc/xgcc
-B/vol/gccsrc/obj/gcc-4.4.0-20080903/6.5-gcc/./prev-gcc/
-B/vol/gcc/mips-sgi-irix6.5/bin/ -o conftest -g -O2 conftest.c >&5
ld32: ERROR 33 : Unresolved data symbol ".LSFDE0" -- 1st referenced by
/var/tmp//ccrBXRSg.o.
Use linker option -v to see when and which objects, archives and dsos
are loaded.
ld32: ERROR 33 : Unresolved data symbol ".LSFDE2" -- 1st referenced by
/vol/gccsrc/obj/gcc-4.4.0-20080903/6.5-gcc/./prev-gcc/libgcc_eh.a(unwind-dw2-fde.o).
Use linker option -v to see when and which objects, archives and dsos
are loaded.
ld32: ERROR 33 : Unresolved data symbol ".LSFDE4" -- 1st referenced by
/vol/gccsrc/obj/gcc-4.4.0-20080903/6.5-gcc/./prev-gcc/libgcc_eh.a(unwind-dw2-fde.o).
Use linker option -v to see when and which objects, archives and dsos
are loaded.
ld32: ERROR 33 : Unresolved data symbol ".LSFDE6" -- 1st referenced by
/vol/gccsrc/obj/gcc-4.4.0-20080903/6.5-gcc/./prev-gcc/libgcc_eh.a(unwind-dw2-fde.o).
Use linker option -v to see when and which objects, archives and dsos
are loaded.
ld32: ERROR 33 : Unresolved data symbol ".LSFDE8" -- 1st referenced by
/vol/gccsrc/obj/gcc-4.4.0-20080903/6.5-gcc/./prev-gcc/libgcc_eh.a(unwind-dw2-fde.o).
Use linker option -v to see when and which objects, archives and dsos
are loaded.
ld32: ERROR 33 : Unresolved data symbol ".LSFDE10" -- 1st referenced by
/vol/gccsrc/obj/gcc-4.4.0-20080903/6.5-gcc/./prev-gcc/libgcc_eh.a(unwind-dw2-fde.o).
Use linker option -v to see when and which objects, archives and dsos
are loaded.
ld32: ERROR 33 : Unresolved data symbol ".LSFDE12" -- 1st referenced by
/vol/gccsrc/obj/gcc-4.4.0-20080903/6.5-gcc/./prev-gcc/libgcc_eh.a(unwind-dw2-fde.o).
Use linker option -v to see when and which objects, archives and dsos
are loaded.
ld32: ERROR 33 : Unresolved data symbol ".LSFDE14" -- 1st referenced by
/vol/gccsrc/obj/gcc-4.4.0-20080903/6.5-gcc/./prev-gcc/libgcc_eh.a(unwind-dw2-fde.o).
Use linker option -v to see when and which objects, archives and dsos
are loaded.
ld32: ERROR 33 : Unresolved data symbol ".LSFDE16" -- 1st referenced by
/vol/gccsrc/obj/gcc-4.4.0-20080903/6.5-gcc/./prev-gcc/libgcc_eh.a(unwind-dw2-fde.o).
Use linker option -v to see when and which objects, archives and dsos
are loaded.
ld32: ERROR 33 : Unresolved data symbol ".LSFDE18" -- 1st referenced by
/vol/gccsrc/obj/gcc-4.4.0-20080903/6.5-gcc/./prev-gcc/libgcc_eh.a(unwind-dw2-fde.o).
Use linker option -v to see when and which objects, archives and dsos
are loaded.
ld32: ERROR 33 : Unresolved data symbol ".LSFDE20" -- 1st referenced by
/vol/gccsrc/obj/gcc-4.4.0-20080903/6.5-gcc/./prev-gcc/libgcc_eh.a(unwind-dw2-fde.o).
Use linker option -v to see when and which objects, archives and dsos
are loaded.
ld32: ERROR 33 : Unresolved data symbol ".LSFDE22" -- 1st referenced by
/vol/gccsrc/obj/gcc-4.4.0-20080903/6.5-gcc/./prev-gcc/libgcc_eh.a(unwind-dw2-fde.o).
Use linker option -v to see when and which objects, archives and dsos
are loaded.
ld32: ERROR 33 : Unresolved data symbol ".LSFDE24" -- 1st referenced by
/vol/gccsrc/obj/gcc-4.4.0-20080903/6.5-gcc/./prev-gcc/libgcc_eh.a(unwind-dw2-fde.o).
Use linker option -v to see when and which objects, archives and dsos
are loaded.
ld32: ERROR 33 : Unresolved data symbol ".LSFDE26" -- 1st referenced by
/vol/gccsrc/obj/gcc-4.4.0-20080903/6.5-gcc/./prev-gcc/libgcc_eh.a(unwind-dw2-fde.o).
Use linker option -v to see when and which objects, archives and dsos
are loaded.
ld32: ERROR 33 : Unresolved data symbol ".LSFDE28" -- 1st referenced by
/vol/gccsrc/obj/gcc-4.4.0-20080903/6.5-gcc/./prev-gcc/libgcc_eh.a(unwind-dw2-fde.o).
Use linker option -v to see when and which objects, archives and dsos
are loaded.
ld32: ERROR 33 : Unresolved data symbol ".LSFDE30" -- 1st referenced by
/vol/gccsrc/obj/gcc-4.4.0-20080903/6.5-gcc/./prev-gcc/libgcc_eh.a(unwind-dw2-fde.o).
Use linker option -v to see when and which objects, archives and dsos
are loaded.
ld32: ERROR 33 : Unresolved data symbol ".LSFDE32" -- 1st referenced by
/vol/gccsrc/obj/gcc-4.4.0-20080903/6.5-gcc/./prev-gcc/libgcc_eh.a(unwind-dw2-fde.o).
Use linker option -v to see when and which objects, archives and dsos
are loaded.
ld32: ERROR 33 : Unresolved data symbol ".LSFDE34" -- 1st referenced by
/vol/gccsrc/obj/gcc-4.4.0-20080903/6.5-gcc/./prev-gcc/libgcc_eh.a(unwind-dw2-fde.o).
Use linker option -v to see when and which objects, archives and dsos
are loaded.
ld32: ERROR 33 : Unresolved data symbol ".LSFDE36" -- 1st referenced by
/vol/gccsrc/obj/gcc-4.4.0-20080903/6.5-gcc/./prev-gcc/libgcc_eh.a(unwind-dw2-fde.o).
Use linker option -v to see when and which objects, archives and dsos
are loaded.
ld32: ERROR 33 : Unresolved data symbol ".LSFDE38" -- 1st referenced by
/vol/gccsrc/obj/gcc-4.4.0-20080903/6.5-gcc/./prev-gcc/libgcc_eh.a(unwind-dw2-fde.o).
Use linker option -v to see when and which objects, archives and dsos
are loaded.
ld32: ERROR 33 : Unresolved data symbol ".LSFDE40" -- 1st referenced by
/vol/gccsrc/obj/gcc-4.4.0-20080903/6.5-gcc/./prev-gcc/libgcc_eh.a(unwind-dw2-fde.o).
Use linker option -v to see when and which objects, archives and dsos
are loaded.
ld32: ERROR 33 : Unresolved data symbol ".LSFDE42" -- 1st referenced by
/vol/gccsrc/obj/gcc-4.4.0-20080903/6.5-gcc/./prev-gcc/libgcc_eh.a(unwind-dw2-fde.o).
Use linker option -v to see when and which objects, archives and dsos
are loaded.
ld32: ERROR 33 : Unresolved data symbol ".LSFDE44" -- 1st referenced by
/vol/gccsrc/obj/gcc-4.4.0-20080903/6.5-gcc/./prev-gcc/libgcc_eh.a(unwind-dw2-fde.o).
Use linker option -v to see when and which objects, archives and dsos
are loaded.
ld32: INFO 152: Output file removed because of error.
collect2: ld returned 2 exit status
configure:2487: $? = 1
With the following conftest.c
int
main ()
{
;
return 0;
}
gcc -g -O2 conftest.c -v -save-temps -dA -fverbose-asm
works successfully as of 20080801, while the 20080903 version fails to link as
above. It turns out that both .s files contain a reference to the .LSFDE0
label (from DW_AT_MIPS_fde), but the definition is lost. I've included both .s
files
for reference. With -fno-dwarf2-cfi-asm, the problem is gone in conftest.s,
but of course the undefined .LSFDE* symbols in libgcc_eh.a remain.
--
Summary: [4.4 regression] dwarf2 unwind info patches produce
undefined symbols
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: major
Priority: P3
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ro at gcc dot gnu dot org
GCC build triplet: mips-sgi-irix6.5
GCC host triplet: mips-sgi-irix6.5
GCC target triplet: mips-sgi-irix6.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37441
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug bootstrap/37441] [4.4 regression] dwarf2 unwind info patches produce undefined symbols
2008-09-09 12:54 [Bug bootstrap/37441] New: [4.4 regression] dwarf2 unwind info patches produce undefined symbols ro at gcc dot gnu dot org
@ 2008-09-09 12:55 ` ro at gcc dot gnu dot org
2008-09-09 12:56 ` ro at gcc dot gnu dot org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: ro at gcc dot gnu dot org @ 2008-09-09 12:55 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from ro at gcc dot gnu dot org 2008-09-09 12:54 -------
Created an attachment (id=16264)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16264&action=view)
working version of conftest.s
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37441
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug bootstrap/37441] [4.4 regression] dwarf2 unwind info patches produce undefined symbols
2008-09-09 12:54 [Bug bootstrap/37441] New: [4.4 regression] dwarf2 unwind info patches produce undefined symbols ro at gcc dot gnu dot org
2008-09-09 12:55 ` [Bug bootstrap/37441] " ro at gcc dot gnu dot org
@ 2008-09-09 12:56 ` ro at gcc dot gnu dot org
2008-09-09 19:36 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: ro at gcc dot gnu dot org @ 2008-09-09 12:56 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from ro at gcc dot gnu dot org 2008-09-09 12:54 -------
Created an attachment (id=16265)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16265&action=view)
broken version of conftest.s
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37441
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug bootstrap/37441] [4.4 regression] dwarf2 unwind info patches produce undefined symbols
2008-09-09 12:54 [Bug bootstrap/37441] New: [4.4 regression] dwarf2 unwind info patches produce undefined symbols ro at gcc dot gnu dot org
2008-09-09 12:55 ` [Bug bootstrap/37441] " ro at gcc dot gnu dot org
2008-09-09 12:56 ` ro at gcc dot gnu dot org
@ 2008-09-09 19:36 ` pinskia at gcc dot gnu dot org
2008-09-10 6:36 ` jakub at gcc dot gnu dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-09-09 19:36 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Target Milestone|--- |4.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37441
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug bootstrap/37441] [4.4 regression] dwarf2 unwind info patches produce undefined symbols
2008-09-09 12:54 [Bug bootstrap/37441] New: [4.4 regression] dwarf2 unwind info patches produce undefined symbols ro at gcc dot gnu dot org
` (2 preceding siblings ...)
2008-09-09 19:36 ` pinskia at gcc dot gnu dot org
@ 2008-09-10 6:36 ` jakub at gcc dot gnu dot org
2008-09-11 11:25 ` ro at techfak dot uni-bielefeld dot de
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-09-10 6:36 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from jakub at gcc dot gnu dot org 2008-09-10 06:35 -------
There is no way to reference start of FDE when using .cfi_* directives, so
#ifdef MIPS_DEBUGGING_INFO
/* Add a reference to the FDE for this routine. */
add_AT_fde_ref (subr_die, DW_AT_MIPS_fde, current_funcdef_fde);
#endif
references undefined label. I'm afraid at least until some support is added to
gas to handle that, we should:
#ifdef MIPS_DEBUGGING_INFO
return false;
#endif
early in dwarf2out_do_cfi_asm. Wonder why alpha defines MIPS_DEBUGGING_INFO
too
and if e.g. alpha-linux needs to emit DW_AT_MIPS_fde attributes.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37441
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug bootstrap/37441] [4.4 regression] dwarf2 unwind info patches produce undefined symbols
2008-09-09 12:54 [Bug bootstrap/37441] New: [4.4 regression] dwarf2 unwind info patches produce undefined symbols ro at gcc dot gnu dot org
` (3 preceding siblings ...)
2008-09-10 6:36 ` jakub at gcc dot gnu dot org
@ 2008-09-11 11:25 ` ro at techfak dot uni-bielefeld dot de
2008-09-12 18:48 ` ro at techfak dot uni-bielefeld dot de
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: ro at techfak dot uni-bielefeld dot de @ 2008-09-11 11:25 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from ro at techfak dot uni-bielefeld dot de 2008-09-11 11:23 -------
Subject: Re: [4.4 regression] dwarf2 unwind info patches produce undefined
symbols
jakub at gcc dot gnu dot org writes:
> references undefined label. I'm afraid at least until some support is added to
> gas to handle that, we should:
> #ifdef MIPS_DEBUGGING_INFO
> return false;
> #endif
> early in dwarf2out_do_cfi_asm. Wonder why alpha defines MIPS_DEBUGGING_INFO
> too
> and if e.g. alpha-linux needs to emit DW_AT_MIPS_fde attributes.
The following patch
Index: gcc/dwarf2out.c
===================================================================
--- gcc/dwarf2out.c (revision 140226)
+++ gcc/dwarf2out.c (working copy)
@@ -139,6 +139,9 @@ dwarf2out_do_cfi_asm (void)
if (!flag_dwarf2_cfi_asm || !dwarf2out_do_frame ())
return false;
+#ifdef MIPS_DEBUGGING_INFO
+ return false;
+#endif
if (!eh_personality_libfunc)
return true;
if (!HAVE_GAS_CFI_PERSONALITY_DIRECTIVE)
allowed for the bootstrap to complete. The testsuite is still running;
when it's done, I'll submit it to gcc-patches.
Rainer
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37441
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug bootstrap/37441] [4.4 regression] dwarf2 unwind info patches produce undefined symbols
2008-09-09 12:54 [Bug bootstrap/37441] New: [4.4 regression] dwarf2 unwind info patches produce undefined symbols ro at gcc dot gnu dot org
` (4 preceding siblings ...)
2008-09-11 11:25 ` ro at techfak dot uni-bielefeld dot de
@ 2008-09-12 18:48 ` ro at techfak dot uni-bielefeld dot de
2008-09-17 12:29 ` ro at gcc dot gnu dot org
2008-09-17 12:29 ` ro at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: ro at techfak dot uni-bielefeld dot de @ 2008-09-12 18:48 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from ro at techfak dot uni-bielefeld dot de 2008-09-12 18:47 -------
Subject: Re: [4.4 regression] dwarf2 unwind info patches produce undefined
symbols
Patch here:
http://gcc.gnu.org/ml/gcc-patches/2008-09/msg00978.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37441
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug bootstrap/37441] [4.4 regression] dwarf2 unwind info patches produce undefined symbols
2008-09-09 12:54 [Bug bootstrap/37441] New: [4.4 regression] dwarf2 unwind info patches produce undefined symbols ro at gcc dot gnu dot org
` (6 preceding siblings ...)
2008-09-17 12:29 ` ro at gcc dot gnu dot org
@ 2008-09-17 12:29 ` ro at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: ro at gcc dot gnu dot org @ 2008-09-17 12:29 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from ro at gcc dot gnu dot org 2008-09-17 12:28 -------
Subject: Bug 37441
Author: ro
Date: Wed Sep 17 12:26:43 2008
New Revision: 140417
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140417
Log:
PR bootstrap/37441
* dwarf2out.c (dwarf2out_do_cfi_asm) [MIPS_DEBUGGING_INFO]: Return
false.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/dwarf2out.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37441
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug bootstrap/37441] [4.4 regression] dwarf2 unwind info patches produce undefined symbols
2008-09-09 12:54 [Bug bootstrap/37441] New: [4.4 regression] dwarf2 unwind info patches produce undefined symbols ro at gcc dot gnu dot org
` (5 preceding siblings ...)
2008-09-12 18:48 ` ro at techfak dot uni-bielefeld dot de
@ 2008-09-17 12:29 ` ro at gcc dot gnu dot org
2008-09-17 12:29 ` ro at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: ro at gcc dot gnu dot org @ 2008-09-17 12:29 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from ro at gcc dot gnu dot org 2008-09-17 12:28 -------
Fixed for 4.4.0.
--
ro at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37441
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2008-09-17 12:29 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-09 12:54 [Bug bootstrap/37441] New: [4.4 regression] dwarf2 unwind info patches produce undefined symbols ro at gcc dot gnu dot org
2008-09-09 12:55 ` [Bug bootstrap/37441] " ro at gcc dot gnu dot org
2008-09-09 12:56 ` ro at gcc dot gnu dot org
2008-09-09 19:36 ` pinskia at gcc dot gnu dot org
2008-09-10 6:36 ` jakub at gcc dot gnu dot org
2008-09-11 11:25 ` ro at techfak dot uni-bielefeld dot de
2008-09-12 18:48 ` ro at techfak dot uni-bielefeld dot de
2008-09-17 12:29 ` ro at gcc dot gnu dot org
2008-09-17 12:29 ` ro 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).