/usr/bin/ld: warning: link.res contains output sections; did you forget -T? /usr/bin/ld: /var/tmp/portage/dev-lang/fpc-3.0.4/work/fpcbuild-3.0.4/fpcsrc/rtl/units/x86_64-linux/cprt0.o: in function _start: (.text+0x3c): undefined reference to __libc_csu_init /usr/bin/ld: (.text+0x43): undefined reference to __libc_csu_fini fpmake.pp(47,1) Error: Error while linking fpmake.pp(47,1) Fatal: There were 1 errors compiling module, stopping ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl-20200311-204810 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-gentoo-linux-musl-9.2.0 * [2] x86_64-gentoo-linux-musl-9.3.0 clang version 10.0.0 Target: x86_64-gentoo-linux-musl Thread model: posix InstalledDir: /usr/lib/llvm/10/bin /usr/lib/llvm/10 10.0.0 Available Python interpreters, in order of preference: [1] python3.8 [2] python3.7 [3] python3.6 [4] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * Available Rust versions: [1] rust-1.41.1 * The following VMs are available for generation-2: repository: ==> /var/db/repos/gentoo/metadata/timestamp.chk <== Sat, 14 Mar 2020 19:38:56 +0000 emerge -qpvO dev-lang/fpc [ebuild N ] dev-lang/fpc-3.0.4 USE="-doc -ide -source"
Created attachment 619214 [details] emerge-info.txt
Created attachment 619216 [details] dev-lang:fpc-3.0.4:20200314-205846.log
Created attachment 619218 [details] emerge-history.txt
Created attachment 619220 [details] environment
Created attachment 619222 [details] etc.portage.tbz2
Created attachment 619224 [details] logs.tbz2
The first attempt to tinderbox a musl image failed at all. I'll mass close therefore all filed bug reports of the last days related to this tinderbox image. Please feel free to re-open if you think that the bug is real in musl and not fixed by the musl overlay.
tinderbox_x86 has reproduced this issue with version 3.2.2 - Updating summary.
*** Bug 919869 has been marked as a duplicate of this bug. ***
hit the same on x86 and arm64 (both glibc)
Created attachment 907897 [details] fpc-3.2.2 build log log of fpc build on aarch64/pinebook.
i also have this problem on aarch64 with glibc system. however when i download binary aarch64 fpc 3.2.2 from freepascal.org, it works well.
now when i used fpc binary version, lazarus doesn't build with the same --libc_csu_fini error.