Why are libgcc.a and libgcc_eh.a compiled with -fvisibility=hidden?

Eric Botcazou ebotcazou@adacore.com
Thu Mar 8 07:22:00 GMT 2012


> True, but not, as far as I can see, an explanation for why the symbols
> are hidden.  Hiding the symbols doesn't fix the problem of having
> multiple libgcc_eh on those platforms.

Yes, it does, as it prevents libgcc_eh from being linked in shared libraries, 
thus forcing you to use libgcc_s.so, at least on those platforms.

-- 
Eric Botcazou



More information about the Gcc mailing list