How to get a crosscompile toolchain for aarch64 for use in poudriere[?]

Meyer, Wolfgang wolfgang.meyer at hob.de
Fri Feb 10 16:24:56 UTC 2017


> > Hello,
> >
> > I am gaining experience in building packages for aarch64 on an amd64 host
> using poudriere and it works (most of the time) quite well but it is really slow.
> >
> > In order to accelerate the build I wanted to crosscompile within
> > poudriere using the instructions provided in
> > http://phaq.phunsites.net/2015/10/11/freebsd-on-armv6-cross-compile-
> pe
> > rformance-optimization-for-poudriere/comment-page-1/
> > and getting it to work with aarch64.
>
> I don't know if this will help, but I created a proper [1] cross-compiler for
> aarch64 last week:
> http://www.freshports.org/lang/gnatcross-aarch64/
>
> John
>
> [1] By proper, I mean based on FreeBSD/ARM64 sysroot (currently only
> Release 11.0 available)
>

Thanks, I will look at it next week. Is there a documentation on how the toolchain was created, or is it basically along the lines of normal gcc-based toolchain creation? Although I somehow would prefer if I can manage to base my cross-compile toolchain on the base system toolchain.

Regards,
Wolfgang


________________________________

Follow HOB:

- HOB: http://www.hob.de/redirect/hob.html
- Xing: http://www.hob.de/redirect/xing.html
- LinkedIn: http://www.hob.de/redirect/linkedin.html
- HOBLink Mobile: http://www.hob.de/redirect/hoblinkmobile.html
- Facebook: http://www.hob.de/redirect/facebook.html
- Twitter: http://www.hob.de/redirect/twitter.html
- YouTube: http://www.hob.de/redirect/youtube.html
- E-Mail: http://www.hob.de/redirect/mail.html


HOB GmbH & Co. KG
Schwadermuehlstr. 3
D-90556 Cadolzburg

Geschaeftsfuehrung: Klaus Brandstaetter, Zoran Adamovic

AG Fuerth, HRA 5180
Steuer-Nr. 218/163/00107
USt-ID-Nr. DE 132747002

Komplementaerin HOB electronic Beteiligungs GmbH
AG Fuerth, HRB 3416


More information about the freebsd-arm mailing list