[Bug libgcc/60939] AIX: exceptions not caught when calling function via pointer

zoltan at hidvegi dot com gcc-bugzilla@gcc.gnu.org
Sat Mar 21 07:43:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60939

--- Comment #8 from Zoltan Hidvegi <zoltan at hidvegi dot com> ---
How about using -bkeepfile: for all linked .o objects, that would create a very
similar semantics to other platforms, all .o objects are included, and only
objects that resolve undefined symbols would be included from .a files. This
would be a fix for the current bugreport, since it juse uses two .o files, and
one is collected away, but not completely, only in the first link pass, not in
the second link pass, due to the export file I guess. Certainly using -bexpall
is not a good idea.



More information about the Gcc-bugs mailing list