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][Aarch64] Fix multi-arch support in ILP32 mode


On Thu, 2017-12-21 at 23:54 +0100, Matthias Klose wrote:
> On 21.12.2017 22:59, Steve Ellcey wrote:
> > 
> > > As far as I understand it from Linaro connect and conversations with
> > > Debian/Ubuntu port maintainers, the correct triplet should be:
> > > 
> > >   aarch64-none-linux-gnu_ilp32
> > > 
> > > If you're revisiting this patch, it is OK to go in, but please use the
> > > agreed triplet.
> well, it's called triplet, not quadruplet. No other multiarch tuple contains an
> explicit vendor field. Do you really want to use that?
> > > Thanks,
> > > James
> > OK, I fixed the triplet and checked it in.
> hmm ...
> 
> Matthias

Actually, I got so focused on moving where the _ilp32 was I forgot
about the '-none-' part so what I actually checked in was:

MULTILIB_OSDIRNAMES += mabi.ilp32=../libilp32$(call if_multiarch,:aarch64$(AARCH_BE)-linux-gnu_ilp32)

This seems to match the dynamic linker name in gcc and glibc:

gcc/gcc/config/aarch64/aarch64-linux.h:
#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-aarch64%{mbig-endian:_be}%{mabi=ilp32:_ilp32}.so.1"

This doesn't have a '-none-' in it but does have the _ilp32 at the end.

Steve Ellcey
sellcey@cavium.com


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