public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/16442] New: Crossbuilding the Ada RTS fails
@ 2004-07-08 20:07 willy at debian dot org
2004-07-08 20:34 ` [Bug ada/16442] " pinskia at gcc dot gnu dot org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: willy at debian dot org @ 2004-07-08 20:07 UTC (permalink / raw)
To: gcc-bugs
/home/willy/gcc/gcc-3.4/configure --host=ia64-linux --target=arm-linux
--prefix=/home/willy/arm --enable-languages=c,ada --disable-shared --disable-nls
make
This part works fine. Then I need to build gnatlib:
cd gcc
make gnatlib
[...]
../../xgcc -B../../ -c -g -O2 -W -Wall -gnatpg g-debpoo.adb -o g-debpoo.o
../../xgcc -B../../ -c -g -O2 -W -Wall -gnatpg g-diopit.adb -o g-diopit.o
../../xgcc -B../../ -c -g -O2 -W -Wall -gnatpg g-dirope.adb -o g-dirope.o
+===========================GNAT BUG DETECTED==============================+
| 3.4.2 20040706 (prerelease) (arm-unknown-linux-gnu) GCC error: |
| in dwarf2out_frame_debug_expr, at dwarf2out.c:1463 |
| Error detected at s-secsta.ads:64:14 |
| Please submit a bug report; see http://gcc.gnu.org/bugs.html. |
| Include the entire contents of this bug box in the report. |
| Include the exact gcc or gnatmake command that you entered. |
| Also include sources listed below in gnatchop format |
| (concatenated together with no headers between files). |
+==========================================================================+
Please include these source files with error report
Note that list may not be accurate in some cases,
so please double check that the problem can still
be reproduced with the set of files listed.
compilation abandoned
make[2]: *** [g-dirope.o] Error 1
The host compiler is version 3.3.4 (Debian 1:3.3.4-2)
--
Summary: Crossbuilding the Ada RTS fails
Product: gcc
Version: 3.4.2
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: ada
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: willy at debian dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: ia64-unknown-linux-gnu
GCC host triplet: ia64-unknown-linux-gnu
GCC target triplet: arm-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16442
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug ada/16442] Crossbuilding the Ada RTS fails
2004-07-08 20:07 [Bug ada/16442] New: Crossbuilding the Ada RTS fails willy at debian dot org
@ 2004-07-08 20:34 ` pinskia at gcc dot gnu dot org
2004-07-09 11:27 ` willy at debian dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-08 20:34 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-07-08 20:34 -------
Can you try to compile a native 3.4.0 and then try again the cross compiler? It might be a native
compiler miscompiling the cross compiler?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16442
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug ada/16442] Crossbuilding the Ada RTS fails
2004-07-08 20:07 [Bug ada/16442] New: Crossbuilding the Ada RTS fails willy at debian dot org
2004-07-08 20:34 ` [Bug ada/16442] " pinskia at gcc dot gnu dot org
@ 2004-07-09 11:27 ` willy at debian dot org
2004-07-13 19:39 ` [Bug debug/16442] " charlet at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: willy at debian dot org @ 2004-07-09 11:27 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From willy at debian dot org 2004-07-09 11:27 -------
I compiled a native 3.4.2 (CVS as of a day or two ago) for the host compiler.
This works even less well, dying during the 'make' portion of compiling the
cross-compiler:
mkdir -p ada/bldtools
cp -p /home/willy/gcc/gcc-3.4/gcc/ada/sinfo.ads
/home/willy/gcc/gcc-3.4/gcc/ada/nmake.adt
/home/willy/gcc/gcc-3.4/gcc/ada/xnmake.adb ada/bldtools
(cd ada/bldtools; gnatmake -q xnmake ; ./xnmake -b ../nmake.adb )
make[1]: *** [ada/nmake.adb] Error 139
$ gnatmake xnmake
gnatmake: "xnmake" up to date.
$ ./xnmake -s ../nmake.ads
Segmentation fault
$ gdb ./xnmake
GNU gdb 6.1-debian
(gdb) set args -s ../nmake.ads
(gdb) run
Starting program: /home/willy/gcc/build-3.4/gcc/ada/bldtools/xnmake -s ../nmake.ads
Program received signal SIGSEGV, Segmentation fault.
gnat.spitbol.patterns.xmatch (subject=Unhandled dwarf expression opcode 0x93
) at g-spipat.adb:4055
4055 if Subject (Cursor + 1) = Node.Char then
Current language: auto; currently minimal
(gdb) bt
#0 gnat.spitbol.patterns.xmatch (subject=Unhandled dwarf expression opcode 0x93
) at g-spipat.adb:4055
#1 0x40000000000576c0 in gnat.spitbol.patterns.match (
subject=@0x60000fffffff8c90, pat=@0x60000fffffff9490, replace=Unhandled
dwarf expression opcode 0x93
)
at g-spipat.adb:2875
#2 0x400000000001c6b0 in _ada_xnmake ()
#3 0x4000000000002c10 in main ()
I double-checked that the gnatlink/gnatmake/gnatbind/gcc in my path are coming
from the new compiler:
gcc -v -c xnmake.adb
Reading specs from /home/willy/ia64/lib/gcc/ia64-unknown-linux-gnu/3.4.2/specs
Configured with: ../gcc-3.4/configure --prefix=/home/willy/ia64
Thread model: posix
gcc version 3.4.2 20040706 (prerelease)
/home/willy/ia64/libexec/gcc/ia64-unknown-linux-gnu/3.4.2/gnat1 -quiet
-dumpbase xnmake.adb xnmake.adb -o /var/tmp/cclDXTRC.s
as -x -o xnmake.o /var/tmp/cclDXTRC.s
which gnatbind
/home/willy/ia64/bin/gnatbind
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16442
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug debug/16442] Crossbuilding the Ada RTS fails
2004-07-08 20:07 [Bug ada/16442] New: Crossbuilding the Ada RTS fails willy at debian dot org
2004-07-08 20:34 ` [Bug ada/16442] " pinskia at gcc dot gnu dot org
2004-07-09 11:27 ` willy at debian dot org
@ 2004-07-13 19:39 ` charlet at gcc dot gnu dot org
2005-07-02 1:23 ` pinskia at gcc dot gnu dot org
2005-07-11 18:03 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: charlet at gcc dot gnu dot org @ 2004-07-13 19:39 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From charlet at gcc dot gnu dot org 2004-07-13 19:39 -------
You are mixxing two different issues.
The native bootstrap issue on ia64 is already part of another PR.
This one seems to be a GCC error when generating debug info.
Arno
--
What |Removed |Added
----------------------------------------------------------------------------
Component|ada |debug
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16442
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug debug/16442] Crossbuilding the Ada RTS fails
2004-07-08 20:07 [Bug ada/16442] New: Crossbuilding the Ada RTS fails willy at debian dot org
` (2 preceding siblings ...)
2004-07-13 19:39 ` [Bug debug/16442] " charlet at gcc dot gnu dot org
@ 2005-07-02 1:23 ` pinskia at gcc dot gnu dot org
2005-07-11 18:03 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-02 1:23 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
GCC target triplet|arm-unknown-linux-gnu |arm-linux-gnu
Keywords| |ice-on-valid-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16442
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug debug/16442] Crossbuilding the Ada RTS fails
2004-07-08 20:07 [Bug ada/16442] New: Crossbuilding the Ada RTS fails willy at debian dot org
` (3 preceding siblings ...)
2005-07-02 1:23 ` pinskia at gcc dot gnu dot org
@ 2005-07-11 18:03 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-11 18:03 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-11 17:59 -------
Does this work in 4.0.x?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16442
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-07-11 18:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-08 20:07 [Bug ada/16442] New: Crossbuilding the Ada RTS fails willy at debian dot org
2004-07-08 20:34 ` [Bug ada/16442] " pinskia at gcc dot gnu dot org
2004-07-09 11:27 ` willy at debian dot org
2004-07-13 19:39 ` [Bug debug/16442] " charlet at gcc dot gnu dot org
2005-07-02 1:23 ` pinskia at gcc dot gnu dot org
2005-07-11 18:03 ` pinskia 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).