MantisBT - GCC-XML
View Issue Details
0011861GCC-XML(No Category)public2011-02-15 08:312015-03-26 11:59
adrian 
Brad King 
normalminoralways
resolvedsuspended 
PPCLinuxFedora 15
0011861: All gccxml tests are failing
Running the test fails on ppc and s390 with:

0% tests passed, 11 tests failed out of 11

The following tests FAILED:
          1 - gxConfiguration.cxx (Failed)
          2 - gxConfiguration.h (Failed)
          3 - gxDocumentation.cxx (Failed)
          4 - gxDocumentation.h (Failed)
          5 - gxFlagsParser.cxx (Failed)
          6 - gxFlagsParser.h (Failed)
          7 - gxFront.cxx (Failed)
          8 - gxSystemTools.cxx (Failed)
          9 - gxSystemTools.h (Failed)
         10 - TestFullPathInclude.cxx (Failed)
         11 - TestUsualInclude.cxx (Failed)
Errors while running CTest

http://ppc.koji.fedoraproject.org/koji/getfile?taskID=130138&name=build.log [^]
http://s390.koji.fedoraproject.org/koji/getfile?taskID=286203&name=build.log [^]
run ctest
No tags attached.
? test.failed (166,337) 2011-02-15 10:25
https://public.kitware.com/Bug/file/3700/test.failed
Issue History
2011-02-15 08:31adrianNew Issue
2011-02-15 08:39Brad KingNote Added: 0025432
2011-02-15 10:25adrianFile Added: test.failed
2011-02-25 17:16adrianNote Added: 0025583
2011-02-28 08:22Brad KingNote Added: 0025593
2011-02-28 08:22Brad KingAssigned To => Brad King
2011-02-28 08:22Brad KingStatusnew => assigned
2015-03-26 11:59Brad KingNote Added: 0038323
2015-03-26 11:59Brad KingStatusassigned => resolved
2015-03-26 11:59Brad KingResolutionopen => suspended

Notes
(0025432)
Brad King   
2011-02-15 08:39   
Please run

  ctest -V

so we can see the output of the failing tests.
(0025583)
adrian   
2011-02-25 17:16   
any news why the test are failing?
(0025593)
Brad King   
2011-02-28 08:22   
Sorry for the delay. For some reason I never received the email notification that you updated the bug with the attached file.

The test output has errors like this:

/usr/lib/gcc/ppc64-redhat-linux/4.5.1/../../../../include/c++/4.5.1/ppc64-redhat-linux/bits/c++config.h:250: error: expected unqualified-id before 'namespace'

gccxml uses a patched GCC 4.2 parser. The GCC 4.5 system headers must be using constructs it doesn't understand. This is common so in order to parse through system headers of other compilers we copy/patch their headers. This was done for GCC 4.5 but not for these architectures. Look in the GCC_XML/Support/GCC/4.5 directory for the patches we have so far. You can copy the c++config header into bits/c++config under this directory and patch it as needed. Then please attach the original and patched versions of the header.
(0038323)
Brad King   
2015-03-26 11:59   
As announced here:

 [ANNOUNCE] GCC-XML maintenance moving to Github
 http://thread.gmane.org/gmane.comp.compilers.gccxml/731 [^]
 http://public.kitware.com/pipermail/gccxml/2015-March/003206.html [^]

gccxml will no longer be developed by its original author, who will instead focus on CastXML:

 https://github.com/CastXML/CastXML#readme [^]

The original GCC-XML issue tracker is now closed. In order to facilitate ongoing maintenance by community participants, issues will now be tracked on the Github repository page:

 https://github.com/gccxml/gccxml/issues [^]