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
_______________________________________________
arm mailing list -- arm@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to arm-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/arm@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM (Vger)]     [Linux ARM]     [ARM Kernel]     [Fedora User Discussion]     [Older Fedora Users Discussion]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

Powered by Linux