> On 26 Nov 2023, at 14:24, Sebastian Huber
> <sebastian.hu...@embedded-brains.de> wrote:
>
> On 26.11.23 11:15, Iain Sandoe wrote:
>>> On 26 Nov 2023, at 10:05, Sebastian
>>> Huber<sebastian.hu...@embedded-brains.de> wrote:
>>>
>>> On 26.11.23 01:35, Iain Sandoe wrote:
>>>>> On 25 Nov 2023, at 21:44, Sebastian
>>>>> Huber<sebastian.hu...@embedded-brains.de> wrote:
>>>>>
>>>>> On 25.11.23 14:59, Richard Biener wrote:
>>>>>> On Sat, Nov 25, 2023 at 12:26 PM Sebastian Huber
>>>>>> <sebastian.hu...@embedded-brains.de> wrote:
>>>>>>> contrib/ChangeLog
>>>>>> Did you verify an in-tree build with these works and the testsuite
>>>>>> is clean?
>>>>> I was able to build a native GCC:
<snip>
>>> Specifically for ISL 0.24 this is:
>>>
>>> https://devel.rtems.org/raw-attachment/ticket/4657/fix-mac-arm64-isl-config.patch
>> OK, it is possible (even likely) that the issue you are seeing is
>> configuring with “arm64-xxxx-darwinNN”.
>> Although Apple has named the platform Arm64, the configuration used for OSS
>> is still “aarch64-apple-darwinNN”
>> When I first began work on the port, I discussed this with the config script
>> maintainers, and the end result was that “aarch64-apple-darwinNN” had
>> already been adopted (and that was, shall we say, a “firm position” from
>> their perspective), so arm64-apple-darwinNN is not actually canonical.
>> We do use “-arch arm64” in specs etc. that have to interface with system
>> tools (like ld etc); but elsewhere the port is ‘aarch64’.
>> e.g.
>> $ ./config.sub arm64-apple-darwin21
>> aarch64-apple-darwin21
>
> For the RTEMS Project, we only build cross compilers. Maybe this caused the
> trouble. We observed also other issues with recent Apple systems and GCC:
>
> https://lists.rtems.org/pipermail/users/2023-November/068909.html
Yes, XCode 15 has a new linker, and the initial releases have/had/has some
issues (depending on the beta), there is a workaround, which is to use
“ld-classic” which is essentially the old linker.
(but that is unrelated to the aarch64 configuration issue).
Iain