Created attachment 181264 [details] Poudriere log I am trying to compile the graphics/jpeg-turbo for ARM64 (aarch64) using Poudriere (cross-compiling on amd64). The log is attached. Host computer: - FreeBSD 12.0-CURRENT r315864. - /usr/ports r436962 (devel/binutils, devel/aarch64, devel/aarch64-none-elf-binutils, devel/arm-gnueabi-binutils, and devel/arm-none-eabi-binutil are pinned to r436731, see: https://www.mail-archive.com/freebsd-ports@freebsd.org/msg73448.html) Poudriere aarch64 jail: - FreeBSD 12.0-CURRENT r313109 - /usr/ports r437014 (devel/binutils and others pinned to r436731 for the same reason as on the host computer)
Native build works fine.
Created attachment 181278 [details] make build log
Unfortunately "make build" on the target aarch64 system repeats the same error (see "make build log" attachment). Well, if it wouldn't, it would indicate the qemu and Poudriere problem. The target system was booted using the same FreeBSD "world" as it was used initially by Poudriere jail. I used the same port tree and tried to build the graphics/jpeg-turbo on the target system. What revision of 12.0-CURRENT aarch64 and ports tree are you testing on, should we synchronise to the same version first? I cannot use the head for ports tree, as it has broken aarch64-binutils (rendering crochet make buildworld fail). I cannot use the head for FreeBSD, as it does not work on my test aarch64 system (Raspberry Pi 3) anymore.
(In reply to Simon Rozman from comment #3) we are testing on 11.0-RELEASE, both ports/head and ports/quarterly
11.0-RELEASE does not support my aarch64 system (Raspberry Pi 3). devel/aarch64-binutils of ports/head is broken. I can't cross compile "make buildworld". If I revert it, the 11.0-RELEASE does compile, but the compiler from FreeBSD image is broken. Rendering the emulated aarch64 jail incapable of compiling ports. If I use ports/quarterly, u-boot lacks support for RPi3. Therefore, I can not synchronise my environment to yours. It smells like compiler/linker problem. May I suggest we wait until FreeBSD support for Raspberry Pi 3 improves and the dust with 12.0-CURRENT settles down a bit. Shall we mark this issue as "Closed" now and get back when all the fuss around compiler is resolved if necessary?