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] support --without-multilib --with-specs=-pthread on AIX


On Tue, Feb 17, 2015 at 3:03 AM, Michael Haubenwallner
<michael.haubenwallner@ssi-schaefer.com> wrote:
> Hi David,
>
> according to LIB_SPEC found in config/rs6000/aix*.h, pthread linking was done with
> "-lpthreads -lc_r libc.a" for aix43, which simplified to "-lpthreads -lc" with aix51.
>
> But libgcc_s still is linked the aix43 way with "-lpthreads -lc_r libc.a".
>
> As libc_r.a is a symlink to libc.a now, do you know if its shared objects are loaded
> both as "libc.a(shr.o)" and "libc_r.a(shr.o)", or as "libc.a(shr.o)" only?
> Can this be a problem worth a bug entry?

What do you mean by "loaded as"?  There is only one shared object
loaded into the shared library segment.

> Anyway, this patch allows me to configure --without-multilib --with-specs=-pthread

libgcc build does not distinguish between different releases of AIX.
This patch will break AIX 4.3.  There apparently are people using
current GCC on AIX.  Why are you submitting a patch that explicitly
reverts AIX 4.3 support?

Thanks, David


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