This is the mail archive of the
mailing list for the binutils project.
Re: The Linux binutils 126.96.36.199.7 is released.
- To: Josue Amaro <josue dot amaro at oracle dot com>
- Subject: Re: The Linux binutils 188.8.131.52.7 is released.
- From: "H . J . Lu" <hjl at lucon dot org>
- Date: Tue, 16 Oct 2001 23:18:42 -0700
- Cc: binutils at sourceware dot cygnus dot com
- References: <20011016201334.A31989@lucon.org> <3BCD0A64.email@example.com>
On Tue, Oct 16, 2001 at 09:34:44PM -0700, Josue Amaro wrote:
> H. J.,
> I need some information about the implementation of "-z defs" on ld.
> Does it behave the same way that the Solaris tools do?
> Since -z options were included for Solaris compatibility, shouldn't it
> behave in the same way?
It is supposed to behave the same. But I don't know what Solaris' ld
does when symbols are missing from DSOs being linked against.
> Should -z defs ignore the glibc missing symbols?
The -z defs option in the GNU ld ignores symbols missing from DSOs
being linked against. It is done on purpose. The theory is if you want
to make sure those DSOs are ok, you should build them with -z defs. If
you don't build them, you have to assume they are ok.