libgcc problems with shared libraries

David Edelsohn dje@watson.ibm.com
Wed Jan 14 23:17:00 GMT 1998


>>>>> pooh  writes:

>> If AIX ld -G flag when linking a library fixes this, it probably
>> is because one of the implications of that flag is the AIX ld -berok flag
>> meaning that unresolved symbols are okay.  -G implies much more and forces
>> the -brtl flag at application link time.  If -berok is a workaround, that
>> option is present in all AIX releases and is not limited to AIX 4.2 and
>> later. 

pooh> No, -berok doesn't solve the problem, because undefined symbol
pooh> will be resolved only using run-time linking.

	Yes they will if the symbols also are satisfied by other static
libraries which are present again when the application -- as opposed to
the library -- is linked.

David



More information about the Gcc mailing list