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

dje at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Mar 21 21:11:00 GMT 2015


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

--- Comment #9 from David Edelsohn <dje at gcc dot gnu.org> ---
-bkeepfile probably will produce more SVR4-like semantics, but I suspect the
-bkeepfile and replicating each object file name probably can blow out the
argument list length limit.  The object files can be fully qualified paths.

Fixing one, obscure corner case on AIX often creates another, obscure corner
case.  At least now, a user can explicitly add -Wl,-bkeepfile: to the command
line.  If collect2 added this implicitly and the link line, it would be
difficult to avoid.  Both failure modes are fairly confusing to the average
user.



More information about the Gcc-bugs mailing list