Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 712580 - dev-lang/fpc-3.2.2 : (.text+<snip>): undefined reference to _libc_csu_init
Summary: dev-lang/fpc-3.2.2 : (.text+<snip>): undefined reference to _libc_csu_init
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Amy Liffey
: 919869 (view as bug list)
Depends on:
Reported: 2020-03-14 22:31 UTC by Toralf Förster
Modified: 2024-03-04 08:57 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---

emerge-info.txt (emerge-info.txt,15.40 KB, text/plain)
2020-03-14 22:31 UTC, Toralf Förster
dev-lang:fpc-3.0.4:20200314-205846.log (dev-lang:fpc-3.0.4:20200314-205846.log,364.68 KB, text/plain)
2020-03-14 22:31 UTC, Toralf Förster
emerge-history.txt (emerge-history.txt,88.39 KB, text/plain)
2020-03-14 22:31 UTC, Toralf Förster
environment (environment,46.27 KB, text/plain)
2020-03-14 22:31 UTC, Toralf Förster
etc.portage.tbz2 (etc.portage.tbz2,11.71 KB, application/x-bzip)
2020-03-14 22:31 UTC, Toralf Förster
logs.tbz2 (logs.tbz2,2.30 KB, application/x-bzip)
2020-03-14 22:31 UTC, Toralf Förster

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-03-14 22:31:13 UTC
/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
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:

==> /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"
Comment 1 Toralf Förster gentoo-dev 2020-03-14 22:31:16 UTC
Created attachment 619214 [details]
Comment 2 Toralf Förster gentoo-dev 2020-03-14 22:31:19 UTC
Created attachment 619216 [details]
Comment 3 Toralf Förster gentoo-dev 2020-03-14 22:31:21 UTC
Created attachment 619218 [details]
Comment 4 Toralf Förster gentoo-dev 2020-03-14 22:31:25 UTC
Created attachment 619220 [details]
Comment 5 Toralf Förster gentoo-dev 2020-03-14 22:31:28 UTC
Created attachment 619222 [details]
Comment 6 Toralf Förster gentoo-dev 2020-03-14 22:31:31 UTC
Created attachment 619224 [details]
Comment 7 Toralf Förster gentoo-dev 2020-03-16 16:12:27 UTC
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.
Comment 8 Agostino Sarubbo gentoo-dev 2024-02-21 08:17:13 UTC
tinderbox_x86 has reproduced this issue with version 3.2.2 - Updating summary.
Comment 9 Agostino Sarubbo gentoo-dev 2024-02-21 08:17:49 UTC
*** Bug 919869 has been marked as a duplicate of this bug. ***
Comment 10 Agostino Sarubbo gentoo-dev 2024-03-04 08:57:25 UTC
hit the same on x86 and arm64 (both glibc)