Date: Sat, 24 Oct 1998 07:30:04 +1000 (EST) From: John Birrell <jb@cimlogic.com.au> To: jin@portnoy.lbl.gov (Jin Guojun) Cc: jdp@polstra.com, hackers@FreeBSD.ORG Subject: Re: ld for loading dynamic library changed in 3.0-RELEASE? Message-ID: <199810232130.HAA11763@cimlogic.com.au> In-Reply-To: <199810232100.OAA08835@portnoy.lbl.gov> from Jin Guojun at "Oct 23, 98 02:00:37 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
Jin Guojun wrote: > The ld works exactly as other platforms, like Solaris (ELF), SunOS4 (not ELF), > FreeBSD 2.x (aout), without such a problem. If you argue this is aout bug, > I think the idea is wrong. All ELF system as I know, such as Solaris, Linux, > work are same as non-ELF system, except FreeBSD 3.0. Therefore, it is > FreeBSD 3.0 elf problem. Unless you believe every body else is wrong. I notice different behaviour between FreeBSD 3.0-ELF and Digital Unix. The binutils ld reports unresolved and possibly unreferenced symbols at link time. I think this is the "bug" you are complaining about. On Digital Unix, the linker doesn't report the unreferenced, unresolved symbols, but the run-time linker _does_. I find that annoying. If there is a way of configuring binutils (without hacking the sources) to get behaviour that is "consistent" with other systems, we can consider that. IMHO, hacking the binutils sources so that ld behaves differently from what the binutils programmers intended will just leave us in the same position we ended up with the old tools - out in the cold. -- John Birrell - jb@cimlogic.com.au; jb@freebsd.org http://www.cimlogic.com.au/ CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810232130.HAA11763>
