From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Lance Taylor To: rth@twiddle.net Cc: geoffk@ozemail.com.au, hjl@lucon.org, drepper@cygnus.com, binutils@sourceware.cygnus.com, libc-hacker@sourceware.cygnus.com, jgg@ualberta.ca Subject: Re: A glibc dynamic linker or gld bug? Date: Tue, 06 Jul 1999 19:31:00 -0000 Message-id: <19990707023020.28663.qmail@daffy.airs.com> References: <19990704205206.7C71E57B9@ocean.lucon.org> <199907050455.OAA00862@geoffk.wattle.id.au> <19990705204814.A26423@twiddle.net> <19990707021030.28537.qmail@daffy.airs.com> <19990706192811.A20081@twiddle.net> X-SW-Source: 1999-q3/msg00050.html Date: Tue, 6 Jul 1999 19:28:11 -0700 From: Richard Henderson > It is perhaps worth noting that the System V linker and the SGI > linker, unlike the GNU linker and the Solaris linker, considers a weak > definition followed by a strong definition to be a multiple definition > error. Really? SGI does this? I'm a bit surprised. It actually follows from a careful reading of the SVR4 generic ELF ABI. The GNU linker originally behaved this way as well. However, somebody complained, and I checked Solaris. Since Solaris acts differently, I changed the GNU linker, thus unfortunately perpetuating a split. Ian