-z defs option
kaz Kojima
kkojima@rr.iij4u.or.jp
Mon Jan 13 04:59:00 GMT 2003
Ulrich Drepper <drepper@redhat.com> wrote:
>> Can we add a flag
>> to avoid -z defs for all shared libraries?
>
> I've made some change so that if you define
>
> no-z-defs = yes
>
> the option will never be used. Please try it.
It works fine. Thanks a lot.
> But you should also be aware that the -z defs test is a good check for
> correctness and avoiding this option is not the best thing to do. But I
> don't know the ABI well enough, maybe the undefined symbol cannot be
> avoided.
Sure. It might be better to add a new ld option to allow an exception
for -z defs something like --allow-shlib-undefined-sym SYMBOL.
Regards,
kaz
More information about the Libc-hacker
mailing list