Re: lang/gcc* and MULTILIB: arm64 (aarch64) is never set up, even for main

From: Lorenzo Salvadore <developer_at_lorenzosalvadore.it>
Date: Fri, 09 Feb 2024 09:29:24 UTC
On Thursday, February 8th, 2024 at 07:12, Mark Millard <marklmi@yahoo.com> wrote:

> 
> 
> The lang/gcc*/Makefile codes like:
> 
> .if exists(/usr/lib32/libc.so)
> OPTIONS_DEFINE_amd64+= MULTILIB
> OPTIONS_DEFAULT_amd64+= MULTILIB
> OPTIONS_DEFINE_powerpc64+= MULTILIB
> #OPTIONS_DEFAULT_powerpc64+= MULTILIB # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105010
> MULTILIB_DESC= Build support for 32-bit and 64-bit targets
> MULTILIB_CONFIGURE_ENABLE= multilib
> .else
> CONFIGURE_ARGS+= --disable-multilib
> .endif
> 
> never adds MULTILIB for aarch64 (arm64).
> 
> But these days arm64 (aarch64) has lib32 support:
> 14.0-RELEASE has it and main [so: 15] has it.
> 
> Is this lack of MULTILIB building deliberate for
> some reason?
> 
> ===
> Mark Millard
> marklmi at yahoo.com

I think this is not deliberate, but I have never touched this block
of code since I took the GCC ports maintainership yet. We can
probably add MULTILIB for aarch64 too and I will check into it
as soon as possible.

Cheers,

Lorenzo Salvadore