CXX tests failure, gmp 5.0.4, compiled with gcc 4.6.2 on openindiana

Marc Glisse marc.glisse at
Sun Mar 25 12:50:59 CEST 2012

On Sun, 25 Mar 2012, Michael Figiel wrote:

> Hallo,
> I tried to build gmp version 5.0.4 with --enable-cxx on openindiana (64 bit). 
> The build was successful but three of the c++ tests fail:
> terminate called after throwing an instance of 'std::invalid_argument'

It seems that C++ exceptions are broken on your platform (so you should 
talk to whoever maintains your compiler port). We had a similar report on 
BSD and on arm-linux, both with gcc 4.6.*, if you want to search the list. 
I am a bit surprised that exceptions can be totally broken on so many 

Marc Glisse

More information about the gmp-bugs mailing list