[Debian-med-packaging] Bug#797651: Bug#797651: mummy fails to build (libgccxml-dev vs GCC-5)

Gert Wollny gw.fossdev at gmail.com
Thu Oct 29 16:56:01 UTC 2015


Hello Daniele, 

On Thu, 2015-10-29 at 17:30 +0100, Daniele E. Domenichelli wrote:
> building the package with
> 
>   -DCMAKE_CXX_FLAGS=-D_GLIBCXX_USE_CXX11_ABI=0
> 
> fixes this issue for me.


> 
> Anyway I'm not sure whether the real issue is in this package or in
> libgccxml-dev that is built using
> 
>   export CXX=g++-4.9
> 
> instead.

Yes, this is the real reason for the compile failure because g++-4.9
does only provide the old C++11 abi, but ... 

Since gccxml is abandoned by upstream in favor of castxml [1],
libgccxml has not been updated to work with g++-5 - it may compile with
g++-5, but when it is used to parse code in order to get the xml-files
that are then used to create language bindings it will choke on g++-5
provided headers, which means it is on no use on systems with g++ >= 5
as the default compiler. 

Best, 
Gert 

[1] https://github.com/CastXML/CastXML



More information about the Debian-med-packaging mailing list