Re: [fedora-arm] Re: Fedora 32 Mass Rebuild - fpc bootstrap on aarch64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Artur Iwicki:

> If you're asking "what's the source code", then it's built using the same source as the RPM. After going through %setup (i.e. extracting everything and applying patches), do:
> $ cd fpcsrc/
> $ make all CPU_TARGET=aarch64 OS_TARGET=linux BINUTILSPREFIX=aarch64-linux-gnu-
>
> If you're asking "where the binary comes from", then I've
> cross-compiled it (as described above) on my x86_64 machine.

Was this a Debian box by chance?  Or perhaps the paths are hard-coded
incorrectly in the sources?  Then you will have to patch them in
fpcsrc/compiler/systems/t_linux.pas before building the cross-compiler.

The bootstrap binary contains multi-arch paths only:

/usr/local/lib/fpc/
/usr/lib/fpc/
=/lib;=/usr/lib;=/usr/X11R6/lib
=/usr/lib/aarch64-linux-gnu
=/usr/lib

On Fedora, there should be /usr/lib64 there.  Not sure why the warning
about the missing crti.o file isn't printed, though.


Thanks,
Florian
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux