C++ exception handling on PPC with gcc 6.4.0 doesn't work

Andreas Falkenhahn andreas at falkenhahn.com
Sun May 19 19:13:55 UTC 2024


I'm using gcc-mp-6 (MacPorts gcc6 6.4.0_0) from 2017 on a PowerPC MacOS system 10.5. For some reason, using C++ exceptions doesn't seem to work with the compiler. Whenever my program tries to throw an exception, it just hangs and I need to use Ctrl-C to kill it.

Are C++ exceptions generally unsupported by the gcc-mp-6 version I'm using or is there any special compiler or linker flag that needs to be used to make C++ exceptions work with my gcc-mp-6 version? Any ideas?

-- 
Best regards,
 Andreas Falkenhahn                          mailto:andreas at falkenhahn.com



More information about the macports-users mailing list