[oi-dev] Gimp and G++10 issue
Bob Friesenhahn
bfriesen at simple.dallas.tx.us
Fri Jan 20 22:38:48 UTC 2023
On Fri, 20 Jan 2023, Carsten Grzemba via oi-dev wrote:
>
> If libc.so.1 the only involved C code shared object, would that mean that libc has to build with gcc10 and option -fexceptions?
That would depend on who is calling who. Normally the C/C++ run-time
arranges to call a main() routine which is not part of libc. If a
shared library is involved then shared library initializer functions
may be called and I am not sure what code is responsible for that.
If the C++ code has static objects then the C++ run-time needs to
assure that those are constructed before main() is called.
Regardless, GraphicsMagick has a test in its C++ component (Magick++)
because this failure to catch exceptions used to be a common problem.
Bob
--
Bob Friesenhahn
bfriesen at simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
Public Key, http://www.simplesystems.org/users/bfriesen/public-key.txt
More information about the oi-dev
mailing list