public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/37572]  New: compile Ada program fails (XML/Ada, 64 bit AMD)
@ 2008-09-18 17:21 jdecs at mssblue dot net
  2008-09-18 17:30 ` [Bug ada/37572] " jdecs at mssblue dot net
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: jdecs at mssblue dot net @ 2008-09-18 17:21 UTC (permalink / raw)
  To: gcc-bugs

(Bear with me, this is the first time I have done this!)
JDECS@75-105-179-87:~> gcc -v
Using built-in specs.
Target: x86_64-suse-linux
Configured with: ../configure --enable-threads=posix --prefix=/usr
--with-local-prefix=/usr/local --infodir=/usr/share/info
--mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64
--enable-languages=c,c++,objc,fortran,obj-c++,java,ada
--enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.2.1
--enable-ssp --disable-libssp --disable-libgcj --with-slibdir=/lib64
--with-system-zlib --enable-shared --enable-__cxa_atexit
--enable-libstdcxx-allocator=new --disable-libstdcxx-pch --program-suffix=-4.2
--enable-version-specific-runtime-libs --without-system-libunwind
--with-cpu=generic --host=x86_64-suse-linux
Thread model: posix
gcc version 4.2.1 (SUSE Linux)

The tbug command contains: BUILD=Debug gnatmake -P Project_File.gpr

JDECS@75-105-179-87:~/Ada/Sheba> ../tbug
gcc -c -gnatQ -shared -E -gnat05 -gnatwcfijkmruv -gnaty3abcefhiklmnoprstx -Wall
-g -gnata -gnatVa -gnatQ -gnato -gnatwe -I- -gnatA
/home/JDECS/Ada/Sheba/sheba.adb
+===========================GNAT BUG DETECTED==============================+
| 4.2.1 (SUSE Linux) (x86_64-suse-linux-gnu) Assert_Failure atree.adb:812  |
| Error detected at sheba.adb:58:18                                        |
| Please submit a bug report; see http://gcc.gnu.org/bugs.html.            |
| Use a subject line meaningful to you and us to track the bug.            |
| 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.

/home/JDECS/Ada/Sheba/sheba.adb
/home/JDECS/Ada/Sheba/source/agent.ads
/home/JDECS/Ada/Sheba/source/event.ads
/home/JDECS/Ada/Sheba/source/event_pattern.ads
/home/JDECS/Ada/Sheba/source/xml_config.ads
/usr/share/include/xmlada/dom.ads
/usr/share/include/xmlada/dom-core.ads
/usr/share/include/xmlada/unicode.ads
/usr/share/include/xmlada/unicode-ces.ads
/usr/share/include/xmlada/sax.ads
/usr/share/include/xmlada/sax-htable.ads

compilation abandoned
gcc -c -gnatQ -shared -E -gnat05 -gnatwcfijkmruv -gnaty3abcefhiklmnoprstx -Wall
-g -gnata -gnatVa -gnatQ -gnato -gnatwe -I- -gnatA
/home/JDECS/Ada/Sheba/source/agent.adb
gcc -c -gnatQ -shared -E -gnat05 -gnatwcfijkmruv -gnaty3abcefhiklmnoprstx -Wall
-g -gnata -gnatVa -gnatQ -gnato -gnatwe -I- -gnatA
/home/JDECS/Ada/Sheba/source/event.adb
gcc -c -gnatQ -shared -E -gnat05 -gnatwcfijkmruv -gnaty3abcefhiklmnoprstx -Wall
-g -gnata -gnatVa -gnatQ -gnato -gnatwe -I- -gnatA
/home/JDECS/Ada/Sheba/source/event_pattern.adb
gcc -c -gnatQ -shared -E -gnat05 -gnatwcfijkmruv -gnaty3abcefhiklmnoprstx -Wall
-g -gnata -gnatVa -gnatQ -gnato -gnatwe -I- -gnatA
/home/JDECS/Ada/Sheba/source/xml_config.adb
gnatmake: "/home/JDECS/Ada/Sheba/sheba.adb" compilation error
JDECS@75-105-179-87:~/Ada/Sheba>    

Do I attach the source here or somewhere else?


-- 
           Summary: compile Ada program fails (XML/Ada, 64 bit AMD)
           Product: gcc
           Version: 4.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jdecs at mssblue dot net


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


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

* [Bug ada/37572] compile Ada program fails (XML/Ada, 64 bit AMD)
  2008-09-18 17:21 [Bug ada/37572] New: compile Ada program fails (XML/Ada, 64 bit AMD) jdecs at mssblue dot net
@ 2008-09-18 17:30 ` jdecs at mssblue dot net
  2008-09-18 17:35 ` jdecs at mssblue dot net
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: jdecs at mssblue dot net @ 2008-09-18 17:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from jdecs at mssblue dot net  2008-09-18 17:29 -------
Created an attachment (id=16356)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16356&action=view)
the project file and all the files the bug report from the compiler named


-- 


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


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

* [Bug ada/37572] compile Ada program fails (XML/Ada, 64 bit AMD)
  2008-09-18 17:21 [Bug ada/37572] New: compile Ada program fails (XML/Ada, 64 bit AMD) jdecs at mssblue dot net
  2008-09-18 17:30 ` [Bug ada/37572] " jdecs at mssblue dot net
@ 2008-09-18 17:35 ` jdecs at mssblue dot net
  2008-09-19  9:07 ` sam at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: jdecs at mssblue dot net @ 2008-09-18 17:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from jdecs at mssblue dot net  2008-09-18 17:34 -------
thomas@kenshi.dk

Thomas Locke is the main author of this code, I am mostly the mathematician. It
seems to compile and run fine on his 32bit SLAC system, but fails on my SUSE
10.3 64 bit. Prior to the latest update, using the XML/Ada feature at the point
of the bug 
(sheba.adb 58:18 =>  Event_Data := XML.Get_Event_Data_Record (Stack_Index =>
i);
it was also compiling OK on my machine.


-- 


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


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

* [Bug ada/37572] compile Ada program fails (XML/Ada, 64 bit AMD)
  2008-09-18 17:21 [Bug ada/37572] New: compile Ada program fails (XML/Ada, 64 bit AMD) jdecs at mssblue dot net
  2008-09-18 17:30 ` [Bug ada/37572] " jdecs at mssblue dot net
  2008-09-18 17:35 ` jdecs at mssblue dot net
@ 2008-09-19  9:07 ` sam at gcc dot gnu dot org
  2008-09-19 13:04 ` jdecs at mssblue dot net
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: sam at gcc dot gnu dot org @ 2008-09-19  9:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from sam at gcc dot gnu dot org  2008-09-19 09:05 -------
Could you try a more recent GCC version and check whether the bug is still
present or not? It compiles fine with GCC 4.3.1 on x86_64/Debian GNU/Linux.


-- 

sam at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sam at gcc dot gnu dot org
   GCC host triplet|                            |x86_64-suse-linux


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


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

* [Bug ada/37572] compile Ada program fails (XML/Ada, 64 bit AMD)
  2008-09-18 17:21 [Bug ada/37572] New: compile Ada program fails (XML/Ada, 64 bit AMD) jdecs at mssblue dot net
                   ` (2 preceding siblings ...)
  2008-09-19  9:07 ` sam at gcc dot gnu dot org
@ 2008-09-19 13:04 ` jdecs at mssblue dot net
  2008-09-20 15:20 ` jdecs at mssblue dot net
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: jdecs at mssblue dot net @ 2008-09-19 13:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from jdecs at mssblue dot net  2008-09-19 13:03 -------
(In reply to comment #3)
> Could you try a more recent GCC version 
I can try. The last time I tried to find updates to GCC, GIT, and GNAT, there
were dependency problems on 64 bit systems.
I have also been in touch with Thomas and this may be a GPS related problem. I
will  research more today and return here, so you are welcome to simply let
this sit for 24 hours or so.
Thanks.


-- 


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


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

* [Bug ada/37572] compile Ada program fails (XML/Ada, 64 bit AMD)
  2008-09-18 17:21 [Bug ada/37572] New: compile Ada program fails (XML/Ada, 64 bit AMD) jdecs at mssblue dot net
                   ` (3 preceding siblings ...)
  2008-09-19 13:04 ` jdecs at mssblue dot net
@ 2008-09-20 15:20 ` jdecs at mssblue dot net
  2008-10-05 13:43 ` esigra at gmail dot com
  2010-03-04 19:57 ` jdecs at mssblue dot net
  6 siblings, 0 replies; 8+ messages in thread
From: jdecs at mssblue dot net @ 2008-09-20 15:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from jdecs at mssblue dot net  2008-09-20 15:19 -------
(In reply to comment #3)
> Could you try a more recent GCC version 
I am reasonably convinced that the changes Thomas made were for a known
compiler bug, using the GPS installed gnatmake to get around it. I am going to
close this, as I believe that the original bug is on the "work list" somewhere
and that my problems derive more from system differences than a specific hole
in GCC/Ada.
I am migrating my system to SUSE 11.0, which has a newer compiler available and
will work with Thomas to get the XML/Ada integrated.
Thanks for looking at this.


-- 

jdecs at mssblue dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WORKSFORME


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


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

* [Bug ada/37572] compile Ada program fails (XML/Ada, 64 bit AMD)
  2008-09-18 17:21 [Bug ada/37572] New: compile Ada program fails (XML/Ada, 64 bit AMD) jdecs at mssblue dot net
                   ` (4 preceding siblings ...)
  2008-09-20 15:20 ` jdecs at mssblue dot net
@ 2008-10-05 13:43 ` esigra at gmail dot com
  2010-03-04 19:57 ` jdecs at mssblue dot net
  6 siblings, 0 replies; 8+ messages in thread
From: esigra at gmail dot com @ 2008-10-05 13:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from esigra at gmail dot com  2008-10-05 13:42 -------
This problem went away for me when I upgraded to GCC 4.3.1 (Gentoo x86), so it
seems to be fixed.


-- 

esigra at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |esigra at gmail dot com


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


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

* [Bug ada/37572] compile Ada program fails (XML/Ada, 64 bit AMD)
  2008-09-18 17:21 [Bug ada/37572] New: compile Ada program fails (XML/Ada, 64 bit AMD) jdecs at mssblue dot net
                   ` (5 preceding siblings ...)
  2008-10-05 13:43 ` esigra at gmail dot com
@ 2010-03-04 19:57 ` jdecs at mssblue dot net
  6 siblings, 0 replies; 8+ messages in thread
From: jdecs at mssblue dot net @ 2010-03-04 19:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from jdecs at mssblue dot net  2010-03-04 19:56 -------
Original poster agrees - latest version of XMLAda solves problem (along with
latest gcc) - Thanks!


-- 


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


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

end of thread, other threads:[~2010-03-04 19:57 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-18 17:21 [Bug ada/37572] New: compile Ada program fails (XML/Ada, 64 bit AMD) jdecs at mssblue dot net
2008-09-18 17:30 ` [Bug ada/37572] " jdecs at mssblue dot net
2008-09-18 17:35 ` jdecs at mssblue dot net
2008-09-19  9:07 ` sam at gcc dot gnu dot org
2008-09-19 13:04 ` jdecs at mssblue dot net
2008-09-20 15:20 ` jdecs at mssblue dot net
2008-10-05 13:43 ` esigra at gmail dot com
2010-03-04 19:57 ` jdecs at mssblue dot net

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).