Re: aarch64: lang/gcc1* build regression between Mar-28 and Apr-8

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Tue, 25 Apr 2023 15:15:48 UTC
Moin-moin!


Some additional info.

With just-cooked -current (FreeBSD 14.0-CURRENT #1 883a49e5a: Tue Apr 25 13:43:56 MSK 2023  arm64 1400088)
all stable releases of GCC are unable to build with same error (gcc10, gcc11, gcc12) :(

But! gcc*-devel ports builds fine, and finally I can build ann gcc-depended stuff on my box.
Tested gcc11-devel, gcc12-devel, gcc13-devel



On 14.04.2023 00:42, Dima Panov wrote:
> Moin-moin!
> 
> Somethings changed in main branch between Mar, 28 and Apr, 8 which causes permanent build error for lang/gcc1[012] on aarch64 (exactly VMWare container on M1Pro mac)
> 
> during RTL pass: sched1
> gimple-match.cc: In function 'bool gimple_nop_atomic_bit_test_and_p(tree, tree_node**, tree_node* (*)(tree))':
> gimple-match.cc:39215:1: internal compiler error: Segmentation fault
> 39215 | }
>        | ^
> mmap: Invalid argument
> Please submit a full bug report, with preprocessed source (by using -freport-bug).
> See <https://gcc.gnu.org/bugs/> for instructions.
> gmake[4]: *** [Makefile:1145: gimple-match.o] Error 1
> gmake[4]: *** Waiting for unfinished jobs....
> rm gcc.pod gfortran.pod
> 
> 

-- 
Sincerely,
Dima (fluffy@FreeBSD.org, https://t.me/FluffyBSD)
(desktop, kde, x11, office, ports-secteam)@FreeBSD team