public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/39001] New: lto branch doesn't build
@ 2009-01-28 13:17 rguenth at gcc dot gnu dot org
2009-01-28 13:41 ` [Bug bootstrap/39001] " dnovillo at gcc dot gnu dot org
` (9 more replies)
0 siblings, 10 replies; 11+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-01-28 13:17 UTC (permalink / raw)
To: gcc-bugs
It doesn't build on SLES10 either, libelf0-0.8.10-36, it ICEs during
build of libgcc:
...
/gcc/spec/sb-haydn-df-64/gcc/libgcc/../gcc/libgcc2.c:1102: internal
compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
libelf shouldn't come into play while building, no?
Program received signal SIGSEGV, Segmentation fault.
output_call_frame_info (for_eh=0)
at /gcc/spec/sb-haydn-df-64/gcc/gcc/expr.h:806
806 tree personality = DECL_FUNCTION_PERSONALITY (decl);
#0 output_call_frame_info (for_eh=0)
at /gcc/spec/sb-haydn-df-64/gcc/gcc/expr.h:806
#1 0x00000000004ccf37 in dwarf2out_frame_finish ()
at /gcc/spec/sb-haydn-df-64/gcc/gcc/dwarf2out.c:3351
#2 0x0000000000630dd6 in toplev_main (argc=<value optimized out>, argv=0x0)
at /gcc/spec/sb-haydn-df-64/gcc/gcc/toplev.c:1023
#3 0x00002ae177b25154 in __libc_start_main () from /lib64/libc.so.6
#4 0x0000000000404199 in _start ()
this is on x86_64, the above ICE is with -m32.
Richard.
--
Summary: lto branch doesn't build
Product: gcc
Version: lto
Status: UNCONFIRMED
Keywords: ice-on-valid-code, build
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rguenth at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39001
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/39001] lto branch doesn't build
2009-01-28 13:17 [Bug bootstrap/39001] New: lto branch doesn't build rguenth at gcc dot gnu dot org
@ 2009-01-28 13:41 ` dnovillo at gcc dot gnu dot org
2009-01-28 14:49 ` ramana dot r at gmail dot com
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: dnovillo at gcc dot gnu dot org @ 2009-01-28 13:41 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from dnovillo at gcc dot gnu dot org 2009-01-28 13:41 -------
Additional information on the failure and a suggestion on a possible fix:
http://gcc.gnu.org/ml/gcc/2009-01/msg00074.html
--
dnovillo at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |dnovillo at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-01-28 13:41:30
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39001
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/39001] lto branch doesn't build
2009-01-28 13:17 [Bug bootstrap/39001] New: lto branch doesn't build rguenth at gcc dot gnu dot org
2009-01-28 13:41 ` [Bug bootstrap/39001] " dnovillo at gcc dot gnu dot org
@ 2009-01-28 14:49 ` ramana dot r at gmail dot com
2009-01-28 21:08 ` dnovillo at gcc dot gnu dot org
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: ramana dot r at gmail dot com @ 2009-01-28 14:49 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from ramana dot r at gmail dot com 2009-01-28 14:49 -------
(In reply to comment #0)
> It doesn't build on SLES10 either, libelf0-0.8.10-36, it ICEs during
> build of libgcc:
>
> ...
> /gcc/spec/sb-haydn-df-64/gcc/libgcc/../gcc/libgcc2.c:1102: internal
> compiler error: Segmentation fault
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <http://gcc.gnu.org/bugs.html> for instructions.
>
> libelf shouldn't come into play while building, no?
>
> Program received signal SIGSEGV, Segmentation fault.
> output_call_frame_info (for_eh=0)
> at /gcc/spec/sb-haydn-df-64/gcc/gcc/expr.h:806
> 806 tree personality = DECL_FUNCTION_PERSONALITY (decl);
>
> #0 output_call_frame_info (for_eh=0)
> at /gcc/spec/sb-haydn-df-64/gcc/gcc/expr.h:806
> #1 0x00000000004ccf37 in dwarf2out_frame_finish ()
> at /gcc/spec/sb-haydn-df-64/gcc/gcc/dwarf2out.c:3351
> #2 0x0000000000630dd6 in toplev_main (argc=<value optimized out>, argv=0x0)
> at /gcc/spec/sb-haydn-df-64/gcc/gcc/toplev.c:1023
> #3 0x00002ae177b25154 in __libc_start_main () from /lib64/libc.so.6
> #4 0x0000000000404199 in _start ()
>
> this is on x86_64, the above ICE is with -m32.
>
> Richard.
>
The same trouble appears on x86_64 Debian etch.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39001
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/39001] lto branch doesn't build
2009-01-28 13:17 [Bug bootstrap/39001] New: lto branch doesn't build rguenth at gcc dot gnu dot org
2009-01-28 13:41 ` [Bug bootstrap/39001] " dnovillo at gcc dot gnu dot org
2009-01-28 14:49 ` ramana dot r at gmail dot com
@ 2009-01-28 21:08 ` dnovillo at gcc dot gnu dot org
2009-02-04 17:49 ` dnovillo at gcc dot gnu dot org
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: dnovillo at gcc dot gnu dot org @ 2009-01-28 21:08 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from dnovillo at gcc dot gnu dot org 2009-01-28 21:08 -------
*** Bug 39011 has been marked as a duplicate of this bug. ***
--
dnovillo at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |andreast at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39001
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/39001] lto branch doesn't build
2009-01-28 13:17 [Bug bootstrap/39001] New: lto branch doesn't build rguenth at gcc dot gnu dot org
` (2 preceding siblings ...)
2009-01-28 21:08 ` dnovillo at gcc dot gnu dot org
@ 2009-02-04 17:49 ` dnovillo at gcc dot gnu dot org
2009-02-04 18:06 ` dnovillo at gcc dot gnu dot org
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: dnovillo at gcc dot gnu dot org @ 2009-02-04 17:49 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from dnovillo at gcc dot gnu dot org 2009-02-04 17:49 -------
Testing patch with the more straightforward of the two suggestions from Cary:
http://gcc.gnu.org/ml/gcc/2009-01/msg00105.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39001
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/39001] lto branch doesn't build
2009-01-28 13:17 [Bug bootstrap/39001] New: lto branch doesn't build rguenth at gcc dot gnu dot org
` (3 preceding siblings ...)
2009-02-04 17:49 ` dnovillo at gcc dot gnu dot org
@ 2009-02-04 18:06 ` dnovillo at gcc dot gnu dot org
2009-02-04 21:23 ` dnovillo at gcc dot gnu dot org
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: dnovillo at gcc dot gnu dot org @ 2009-02-04 18:06 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from dnovillo at gcc dot gnu dot org 2009-02-04 18:06 -------
Subject: Bug 39001
Author: dnovillo
Date: Wed Feb 4 18:05:51 2009
New Revision: 143935
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143935
Log:
PR 39001
* toplev.c (eh_personality_decl): Fix comment.
* dwarf2out.c (dwarf2out_do_cfi_asm): Return true if
current_function_decl is NULL.
Modified:
branches/lto/gcc/ChangeLog.lto
branches/lto/gcc/dwarf2out.c
branches/lto/gcc/toplev.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39001
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/39001] lto branch doesn't build
2009-01-28 13:17 [Bug bootstrap/39001] New: lto branch doesn't build rguenth at gcc dot gnu dot org
` (4 preceding siblings ...)
2009-02-04 18:06 ` dnovillo at gcc dot gnu dot org
@ 2009-02-04 21:23 ` dnovillo at gcc dot gnu dot org
2009-03-26 13:27 ` espindola at gcc dot gnu dot org
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: dnovillo at gcc dot gnu dot org @ 2009-02-04 21:23 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from dnovillo at gcc dot gnu dot org 2009-02-04 21:23 -------
The recent patch only fixes the case for x86_64. This is still broken on ppc.
Will try to implement the first suggestion from
http://gcc.gnu.org/ml/gcc/2009-01/msg00074.html
/* confdefs.h. */
#define PACKAGE_NAME "GNU C Runtime Library"
#define PACKAGE_TARNAME "libgcc"
#define PACKAGE_VERSION "1.0"
#define PACKAGE_STRING "GNU C Runtime Library 1.0"
#define PACKAGE_BUGREPORT ""
/* end confdefs.h. */
int
main ()
{
;
return 0;
}
$ /home/dnovillo/lto/native/bld/./gcc/xgcc
-B/home/dnovillo/lto/native/bld/./gcc/
-B/home/dnovillo/lto/native/powerpc64-unknown-linux-gnu/bin/
-B/home/dnovillo/lto/native/powerpc64-unknown-linux-gnu/lib/ -isystem
/home/dnovillo/lto/native/powerpc64-unknown-linux-gnu/include -isystem
/home/dnovillo/lto/native/powerpc64-unknown-linux-gnu/sys-include -c -g -O2
conftest.c >&5
conftest.c:16: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39001
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/39001] lto branch doesn't build
2009-01-28 13:17 [Bug bootstrap/39001] New: lto branch doesn't build rguenth at gcc dot gnu dot org
` (5 preceding siblings ...)
2009-02-04 21:23 ` dnovillo at gcc dot gnu dot org
@ 2009-03-26 13:27 ` espindola at gcc dot gnu dot org
2009-03-27 19:53 ` andreast at gcc dot gnu dot org
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: espindola at gcc dot gnu dot org @ 2009-03-26 13:27 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from espindola at gcc dot gnu dot org 2009-03-26 13:27 -------
Subject: Bug 39001
Author: espindola
Date: Thu Mar 26 13:26:56 2009
New Revision: 145088
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=145088
Log:
2009-03-26 Rafael Avila de Espindola <espindola@google.com>
PR 39001
* dwarf2out.c (dwarf2out_do_cfi_asm): Make the check for
current_function_decl being null the first thing in the function.
Modified:
branches/lto/gcc/ChangeLog.lto
branches/lto/gcc/dwarf2out.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39001
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/39001] lto branch doesn't build
2009-01-28 13:17 [Bug bootstrap/39001] New: lto branch doesn't build rguenth at gcc dot gnu dot org
` (6 preceding siblings ...)
2009-03-26 13:27 ` espindola at gcc dot gnu dot org
@ 2009-03-27 19:53 ` andreast at gcc dot gnu dot org
2009-04-04 12:12 ` rguenth at gcc dot gnu dot org
2009-04-04 12:40 ` dnovillo at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: andreast at gcc dot gnu dot org @ 2009-03-27 19:53 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from andreast at gcc dot gnu dot org 2009-03-27 19:53 -------
I confirm a successful bootstrap on powerpc-unknown-linux-gnu.
Thanks Rafael!
[andreast@mini objdir]$ ./gcc/xgcc -v
Using built-in specs.
COLLECT_GCC=./gcc/xgcc
Target: powerpc-unknown-linux-gnu
Configured with: /share1/devel/gcc-testing/lto/gcc/configure --disable-checking
--enable-languages=c,c++,lto
Thread model: posix
gcc version 4.4.0 20090305 (experimental) [lto revision 145091] (lto merged
with rev 144635)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39001
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/39001] lto branch doesn't build
2009-01-28 13:17 [Bug bootstrap/39001] New: lto branch doesn't build rguenth at gcc dot gnu dot org
` (7 preceding siblings ...)
2009-03-27 19:53 ` andreast at gcc dot gnu dot org
@ 2009-04-04 12:12 ` rguenth at gcc dot gnu dot org
2009-04-04 12:40 ` dnovillo at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-04-04 12:12 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from rguenth at gcc dot gnu dot org 2009-04-04 12:12 -------
It now works for me, so - is this fixed?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39001
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/39001] lto branch doesn't build
2009-01-28 13:17 [Bug bootstrap/39001] New: lto branch doesn't build rguenth at gcc dot gnu dot org
` (8 preceding siblings ...)
2009-04-04 12:12 ` rguenth at gcc dot gnu dot org
@ 2009-04-04 12:40 ` dnovillo at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: dnovillo at gcc dot gnu dot org @ 2009-04-04 12:40 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from dnovillo at gcc dot gnu dot org 2009-04-04 12:40 -------
Fixed.
--
dnovillo at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39001
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2009-04-04 12:40 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-28 13:17 [Bug bootstrap/39001] New: lto branch doesn't build rguenth at gcc dot gnu dot org
2009-01-28 13:41 ` [Bug bootstrap/39001] " dnovillo at gcc dot gnu dot org
2009-01-28 14:49 ` ramana dot r at gmail dot com
2009-01-28 21:08 ` dnovillo at gcc dot gnu dot org
2009-02-04 17:49 ` dnovillo at gcc dot gnu dot org
2009-02-04 18:06 ` dnovillo at gcc dot gnu dot org
2009-02-04 21:23 ` dnovillo at gcc dot gnu dot org
2009-03-26 13:27 ` espindola at gcc dot gnu dot org
2009-03-27 19:53 ` andreast at gcc dot gnu dot org
2009-04-04 12:12 ` rguenth at gcc dot gnu dot org
2009-04-04 12:40 ` dnovillo 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).