[GCC-XML] internal compiler error

Brad King brad.king at kitware.com
Sat May 20 12:27:01 EDT 2006

Moritz Bunse wrote:
> I've a problem with gccxml 0.7.0.
> I use gccxml as part of a software distribution of the ATLAS (LHC, Cern) 
> experiment. They recommend a Scientific Linux Cern 3.0.6 OS with a 2.4 
> Kernel and gcc 3.2.3. But I have to use SuSE 10 (Kernel 2.6, gcc 4.0.2) 
> to be compatible with our LinuxCluster here. During a KitValidation Test 
> gccxml ist used and I can reconstruct the error by just calling gccxml 
> without starting the complex KitValidation Suite. This is the error I got:
> .....sw/lcg/external/Boost/1.32.0/slc3_ia32_gcc323/
> include/boost-1_32/boost/tuple/detail/tuple_basic.hpp:311: internal 
> compiler error
> : tree
>   check: expected class 't', have 'd' (namespace_decl) in
>   write_CV_qualifiers_for_type, at cp/mangle.c:1585
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://gcc.gnu.org/bugs.html> for instructions.
> The problematic part of file tuple_basic.hpp is listed here:
> 308:     template <class T> struct wrap_non_storeable_type {
> 309:          typedef typename IF<
> 310:              ::boost::is_function<T>::value, non_storeable_type<T>, T
> 311:              >::RET type;
> 312:     };

I cannot duplicate the problem probably because I don't know what 
boost::tuple<> you are instantiating.  Please post a minimal source file 
on which running gccxml produces the error.  Perhaps something like

   // foo.cxx
   #include <boost/tuple/tuple.hpp>
   typedef boost::tuple< ...something... >::tuple my_tuple;

so that running

   gccxml -I /path/to/boost foo.cxx

produces the crash.


More information about the gccxml mailing list