This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] collect2 should accept more AIX linker flags to change shared library search order


On Mon, Feb 4, 2013 at 5:56 AM, Michael Haubenwallner
<michael.haubenwallner@salomon.at> wrote:
>
> when using "-shared -Wl,-G" to create AIX shared libraries for use with runtime linking,
> without also using "-Wl,-brtl" collect2 still does search for lib.a before lib.so,
> eventually registering global constructors found in static lib.a, which are not exported
> by lib.so, so the subsequent link step fails resolving these symbols.

This is OK if it's OK with the AIX maintainers (do we have any AIX
maintainers?  dje?).

I'll also preapprove a patch to use strcmp and strncmp here, I have no
idea why this code is checking character by character.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]