public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/12313] New: [tree-ssa] Bootstrap failure due to missing label
@ 2003-09-17 11:19 schwab at suse dot de
2003-09-17 15:27 ` [Bug bootstrap/12313] " dnovillo at redhat dot com
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: schwab at suse dot de @ 2003-09-17 11:19 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=12313
Summary: [tree-ssa] Bootstrap failure due to missing label
Product: gcc
Version: tree-ssa
Status: UNCONFIRMED
Keywords: wrong-code
Severity: critical
Priority: P2
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: schwab at suse dot de
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: ia64-suse-linux
Bootstrap fails on ia64 because there is no definition of dummy from
uw_update_reg_address in the assembler output.
/tmp/cvs/gcc-20030917/Build/gcc/xgcc -B/tmp/cvs/gcc-20030917/Build/gcc/ -B/usr/
local/ia64-suse-linux/bin/ -B/usr/local/ia64-suse-linux/lib/ -isystem /usr/
local/ia64-suse-linux/include -isystem /usr/local/ia64-suse-linux/sys-include
-O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -shared -nodefaultlibs
-Wl,--soname=libgcc_s.so.1 -Wl,--version-script=libgcc/./libgcc.map -o
libgcc_s.so.1 libgcc/./__divtf3.o libgcc/./__divdf3.o libgcc/./__divsf3.o
libgcc/./__divdi3.o libgcc/./__moddi3.o libgcc/./__udivdi3.o libgcc/./
__umoddi3.o libgcc/./__divsi3.o libgcc/./__modsi3.o libgcc/./__udivsi3.o
libgcc/./__umodsi3.o libgcc/./__save_stack_nonlocal.o libgcc/./
__nonlocal_goto.o libgcc/./__restore_stack_nonlocal.o libgcc/./__trampoline.o
libgcc/./_muldi3.o libgcc/./_negdi2.o libgcc/./_lshrdi3.o libgcc/./_ashldi3.o
libgcc/./_ashrdi3.o libgcc/./_cmpdi2.o libgcc/./_ucmpdi2.o libgcc/./
_floatdidf.o libgcc/./_floatdisf.o libgcc/./_fixunsdfsi.o libgcc/./
_fixunssfsi.o libgcc/./_fixunsdfdi.o libgcc/./_fixdfdi.o libgcc/./_fixunssfdi.o
libgcc/./_fixsfdi.o libgcc/./_fixxfdi.o libgcc/./_fixunsxfdi.o libgcc/./
_floatdixf.o libgcc/./_fixunsxfsi.o libgcc/./_fixtfdi.o libgcc/./_fixunstfdi.o
libgcc/./_floatditf.o libgcc/./_clear_cache.o libgcc/./_trampoline.o libgcc/./
__main.o libgcc/./_absvsi2.o libgcc/./_absvdi2.o libgcc/./_addvsi3.o libgcc/./
_addvdi3.o libgcc/./_subvsi3.o libgcc/./_subvdi3.o libgcc/./_mulvsi3.o
libgcc/./_mulvdi3.o libgcc/./_negvsi2.o libgcc/./_negvdi2.o libgcc/./_ctors.o
libgcc/./_ffssi2.o libgcc/./_ffsdi2.o libgcc/./_clz.o libgcc/./_clzsi2.o
libgcc/./_clzdi2.o libgcc/./_ctzsi2.o libgcc/./_ctzdi2.o libgcc/./
_popcount_tab.o libgcc/./_popcountsi2.o libgcc/./_popcountdi2.o libgcc/./
_paritysi2.o libgcc/./_paritydi2.o libgcc/./_divdi3.o libgcc/./_moddi3.o
libgcc/./_udivdi3.o libgcc/./_umoddi3.o libgcc/./_udiv_w_sdiv.o libgcc/./
_udivmoddi4.o libgcc/./unwind-ia64.o libgcc/./unwind-sjlj.o libgcc/./
unwind-c.o libgcc/./fde-glibc.o -lc && rm -f libgcc_s.so && ln -s libgcc_s.so.1
libgcc_s.so
/usr/bin/ld: libgcc/./unwind-ia64.o: @gprel relocation against dynamic symbol
dummy.1
collect2: ld returned 1 exit status
make[3]: *** [libgcc_s.so] Error 1
make[3]: Leaving directory `/tmp/cvs/gcc-20030917/Build/gcc'
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/12313] [tree-ssa] Bootstrap failure due to missing label
2003-09-17 11:19 [Bug bootstrap/12313] New: [tree-ssa] Bootstrap failure due to missing label schwab at suse dot de
@ 2003-09-17 15:27 ` dnovillo at redhat dot com
2003-09-17 15:44 ` schwab at suse dot de
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: dnovillo at redhat dot com @ 2003-09-17 15:27 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=12313
------- Additional Comments From dnovillo at redhat dot com 2003-09-17 14:54 -------
Subject: Re: New: [tree-ssa] Bootstrap failure due to
missing label
On Wed, 2003-09-17 at 04:32, schwab at suse dot de wrote:
> /usr/bin/ld: libgcc/./unwind-ia64.o: @gprel relocation against dynamic symbol
> dummy.1
> collect2: ld returned 1 exit status
> make[3]: *** [libgcc_s.so] Error 1
> make[3]: Leaving directory `/tmp/cvs/gcc-20030917/Build/gcc'
>
Hmm, my tester also got this but I can't reproduce it in my local tree.
Do you get this with --enable-checking? I also have a couple of local
fixes that I'm working on. I'll check later with checking disabled.
Diego.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/12313] [tree-ssa] Bootstrap failure due to missing label
2003-09-17 11:19 [Bug bootstrap/12313] New: [tree-ssa] Bootstrap failure due to missing label schwab at suse dot de
2003-09-17 15:27 ` [Bug bootstrap/12313] " dnovillo at redhat dot com
@ 2003-09-17 15:44 ` schwab at suse dot de
2003-09-18 11:34 ` schwab at suse dot de
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: schwab at suse dot de @ 2003-09-17 15:44 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=12313
------- Additional Comments From schwab at suse dot de 2003-09-17 15:24 -------
--enable-checking is default in tree-ssa.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/12313] [tree-ssa] Bootstrap failure due to missing label
2003-09-17 11:19 [Bug bootstrap/12313] New: [tree-ssa] Bootstrap failure due to missing label schwab at suse dot de
2003-09-17 15:27 ` [Bug bootstrap/12313] " dnovillo at redhat dot com
2003-09-17 15:44 ` schwab at suse dot de
@ 2003-09-18 11:34 ` schwab at suse dot de
2003-09-18 15:34 ` schwab at suse dot de
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: schwab at suse dot de @ 2003-09-18 11:34 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=12313
------- Additional Comments From schwab at suse dot de 2003-09-18 09:19 -------
This is how I configured the compiler:
../configure --host=ia64-suse-linux --enable-shared --enable-threads
--with-system-zlib
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/12313] [tree-ssa] Bootstrap failure due to missing label
2003-09-17 11:19 [Bug bootstrap/12313] New: [tree-ssa] Bootstrap failure due to missing label schwab at suse dot de
` (2 preceding siblings ...)
2003-09-18 11:34 ` schwab at suse dot de
@ 2003-09-18 15:34 ` schwab at suse dot de
2003-09-23 17:23 ` schwab at suse dot de
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: schwab at suse dot de @ 2003-09-18 15:34 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=12313
schwab at suse dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |jason at redhat dot com
|dot org |
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2003-09-18 14:30:09
date| |
------- Additional Comments From schwab at suse dot de 2003-09-18 14:30 -------
This is the change that triggers the failure:
2003-09-15 Jason Merrill <jason@redhat.com>
* tree-simple.c (is_gimple_val): Allow addresses of all decls.
(is_gimple_const): Allow addresses of all non-weak statics.
* tree-ssa-ccp.c (fold_stmt): Return bool.
* tree-flow.h: Adjust prototype.
* tree-ssa-dom.c (optimize_stmt): If folding changed stuff, we
need to recalculate the vops.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/12313] [tree-ssa] Bootstrap failure due to missing label
2003-09-17 11:19 [Bug bootstrap/12313] New: [tree-ssa] Bootstrap failure due to missing label schwab at suse dot de
` (3 preceding siblings ...)
2003-09-18 15:34 ` schwab at suse dot de
@ 2003-09-23 17:23 ` schwab at suse dot de
2003-09-28 11:03 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: schwab at suse dot de @ 2003-09-23 17:23 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=12313
schwab at suse dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |tree-ssa
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/12313] [tree-ssa] Bootstrap failure due to missing label
2003-09-17 11:19 [Bug bootstrap/12313] New: [tree-ssa] Bootstrap failure due to missing label schwab at suse dot de
` (4 preceding siblings ...)
2003-09-23 17:23 ` schwab at suse dot de
@ 2003-09-28 11:03 ` pinskia at gcc dot gnu dot org
2003-09-28 16:51 ` schwab at suse dot de
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-09-28 11:03 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=12313
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-09-28 06:44 -------
There was recently a merge with the mainline, can you try this again?
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/12313] [tree-ssa] Bootstrap failure due to missing label
2003-09-17 11:19 [Bug bootstrap/12313] New: [tree-ssa] Bootstrap failure due to missing label schwab at suse dot de
` (5 preceding siblings ...)
2003-09-28 11:03 ` pinskia at gcc dot gnu dot org
@ 2003-09-28 16:51 ` schwab at suse dot de
2003-10-12 17:20 ` schwab at suse dot de
2003-10-13 10:46 ` schwab at suse dot de
8 siblings, 0 replies; 10+ messages in thread
From: schwab at suse dot de @ 2003-09-28 16:51 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=12313
------- Additional Comments From schwab at suse dot de 2003-09-28 16:02 -------
Still exactly the same.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/12313] [tree-ssa] Bootstrap failure due to missing label
2003-09-17 11:19 [Bug bootstrap/12313] New: [tree-ssa] Bootstrap failure due to missing label schwab at suse dot de
` (6 preceding siblings ...)
2003-09-28 16:51 ` schwab at suse dot de
@ 2003-10-12 17:20 ` schwab at suse dot de
2003-10-13 10:46 ` schwab at suse dot de
8 siblings, 0 replies; 10+ messages in thread
From: schwab at suse dot de @ 2003-10-12 17:20 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=12313
------- Additional Comments From schwab at suse dot de 2003-10-12 17:20 -------
Applying this patch to revert only one part of the change will also fix the
bug:
ndex: tree-simple.c
===================================================================
RCS file: /backup/gcc-cvs/gcc/gcc/Attic/tree-simple.c,v
retrieving revision 1.1.4.57
diff -u -p -a -u -p -a -r1.1.4.57 tree-simple.c
--- tree-simple.c 18 Sep 2003 00:19:27 -0000 1.1.4.57
+++ tree-simple.c 12 Oct 2003 17:15:30 -0000
@@ -285,7 +285,7 @@
return 1;
if (TREE_CODE (t) == ADDR_EXPR
- && DECL_P (TREE_OPERAND (t, 0))
+ && TREE_CODE (TREE_OPERAND (t, 0)) == FUNCTION_DECL
&& (TREE_STATIC (TREE_OPERAND (t, 0))
|| (DECL_EXTERNAL (TREE_OPERAND (t, 0))
&& !DECL_WEAK (TREE_OPERAND (t, 0)))))
@@ -449,7 +449,8 @@
return 1;
/* Allow the address of a decl. */
- if (TREE_CODE (t) == ADDR_EXPR && DECL_P (TREE_OPERAND (t, 0)))
+ if (TREE_CODE (t) == ADDR_EXPR
+ && TREE_CODE (TREE_OPERAND (t, 0)) == FUNCTION_DECL)
return 1;
/* Allow address of vla, so that we do not replace it in the call_expr of
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/12313] [tree-ssa] Bootstrap failure due to missing label
2003-09-17 11:19 [Bug bootstrap/12313] New: [tree-ssa] Bootstrap failure due to missing label schwab at suse dot de
` (7 preceding siblings ...)
2003-10-12 17:20 ` schwab at suse dot de
@ 2003-10-13 10:46 ` schwab at suse dot de
8 siblings, 0 replies; 10+ messages in thread
From: schwab at suse dot de @ 2003-10-13 10:46 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=12313
schwab at suse dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
------- Additional Comments From schwab at suse dot de 2003-10-13 10:46 -------
Not reproducable any more.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2003-10-13 10:46 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-17 11:19 [Bug bootstrap/12313] New: [tree-ssa] Bootstrap failure due to missing label schwab at suse dot de
2003-09-17 15:27 ` [Bug bootstrap/12313] " dnovillo at redhat dot com
2003-09-17 15:44 ` schwab at suse dot de
2003-09-18 11:34 ` schwab at suse dot de
2003-09-18 15:34 ` schwab at suse dot de
2003-09-23 17:23 ` schwab at suse dot de
2003-09-28 11:03 ` pinskia at gcc dot gnu dot org
2003-09-28 16:51 ` schwab at suse dot de
2003-10-12 17:20 ` schwab at suse dot de
2003-10-13 10:46 ` schwab at suse dot de
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).