<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Bo Berglund via fpc-pascal <<a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>> schrieb am So., 10. Dez. 2023, 01:19:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, 16 Nov 2023 13:15:27 +0100, Bo Berglund via fpc-pascal<br>
<<a href="mailto:fpc-pascal@lists.freepascal.org" target="_blank" rel="noreferrer">fpc-pascal@lists.freepascal.org</a>> wrote:<br>
<br>
>I tried to post this to the devel list but it seems to have failed so now trying<br>
>the general list instead...<br>
><br>
>See ticket:<br>
><a href="https://gitlab.com/freepascal.org/fpc/source/-/issues/39295" rel="noreferrer noreferrer" target="_blank">https://gitlab.com/freepascal.org/fpc/source/-/issues/39295</a><br>
><br>
>It was closed a year ago being purportedly resolved...<br>
><br>
>But only for powerpc 64 bit...<br>
><br>
>It is still there for aarch64-linux used by Pi-OS bookworm 64 bit, which is now<br>
>the recommended version...<br>
><br>
>RaspberryPi is a very popular platform so a solution for that is needed.<br>
><br>
>I have tried building (via fpcupdeluxe) several revisions of fpc up to and<br>
>including trunk, but all fail with the same error outlined in the ticket above.<br>
<br>
Soon 4 weeks and no reply to this...  :(<br>
<br>
I have now started using the Raspberry Pi5B with Pi-OS 64 bit bookworm and I<br>
cannot get past the linking error when building fpc from sources, I have tried<br>
the latest release 3.2.2 and also the pre-release 3.2.3 and 3.3.1 but all fail<br>
with the same error:<br>
undefined reference to `__libc_csu_init'<br>
<br>
So now I tested to download what I think might be the trunk:<br>
<a href="https://gitlab.com/freepascal.org/fpc/source/-/archive/main/source-main.tar.gz" rel="noreferrer noreferrer" target="_blank">https://gitlab.com/freepascal.org/fpc/source/-/archive/main/source-main.tar.gz</a><br>
<br>
And with these sources the linker error disappears and the build all succeeds.<br>
<br>
Could you not just make an intermediate tag for a version where this fix has<br>
been solved for the arm64 architecture running aarch64-linux?<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">3.2.3 already contains the same fixes that main has for that problem.</div><div dir="auto"><br></div><div dir="auto">And as I had written: I can not reproduce your problems as I can build and run both 3.2.3 and main with the 3.2.2 release we provide on our download locations. </div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>