This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Multilib support for amd64 FreeBSD
- From: Jeff Law <law at redhat dot com>
- To: Andreas Tobler <andreast-list at fgznet dot ch>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 18 Mar 2019 15:22:41 -0600
- Subject: Re: [patch] Multilib support for amd64 FreeBSD
- References: <b879a650-fcd8-c3cc-4e69-ebe381490638@fgznet.ch>
On 3/17/19 2:40 PM, Andreas Tobler wrote:
> Hi all,
>
> this patch adds support for multilib on x86_64-unknown-freebsd*
> The multilibs are 32-bit.
>
> This patch is functionality tested on gcc8 and gcc9. Test suite testing
> is a bit tricky since the FreeBSD dynamic linker handles both, the
> 32-bit and the 64-bit binaries. So, if I have a 64-bit libgcc in the
> LD_LIBRARY_PATH the test fails.
> I tweaked the build tree and removed the 64-bit libgcc to test the
> 32-bit binaries built. So far it looks good. Need to find a way to
> extend the testsuite to handle this situation.
>
> Any comments about it are welcome.
>
> Also, when would be the best time to commit this patch? Afair trunk is
> in stage4, right?
> The patch itself only affects x86_64-unknown-freebsd.
>
> TIA,
> Andreas
>
> 2019-03-17 Andreas Tobler <andreast@gcc.gnu.org>
>
> * config/i386/freebsd64.h: Add bits for 32-bit multilib support.
> * config/i386/t-freebsd64: New file.
> * config.gcc: Add the t-freebsd64 for multilib support.
>
>
stage4 is supposed to be regression fixes only, so it's difficult to
make a case for this patch to get into gcc-9.
I'd say defer to gcc-10.
jeff