Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 712580 - dev-lang/fpc-3.0.4 : (.text+<snip>): undefined reference to _libc_csu_init
Summary: dev-lang/fpc-3.0.4 : (.text+<snip>): undefined reference to _libc_csu_init
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-14 22:31 UTC by Toralf Förster
Modified: 2020-03-29 09:53 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.40 KB, text/plain)
2020-03-14 22:31 UTC, Toralf Förster
Details
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
Details
emerge-history.txt (emerge-history.txt,88.39 KB, text/plain)
2020-03-14 22:31 UTC, Toralf Förster
Details
environment (environment,46.27 KB, text/plain)
2020-03-14 22:31 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.71 KB, application/x-bzip)
2020-03-14 22:31 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,2.30 KB, application/x-bzip)
2020-03-14 22:31 UTC, Toralf Förster
Details

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
/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"
Comment 1 Toralf Förster gentoo-dev 2020-03-14 22:31:16 UTC
Created attachment 619214 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-14 22:31:19 UTC
Created attachment 619216 [details]
dev-lang:fpc-3.0.4:20200314-205846.log
Comment 3 Toralf Förster gentoo-dev 2020-03-14 22:31:21 UTC
Created attachment 619218 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-03-14 22:31:25 UTC
Created attachment 619220 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-03-14 22:31:28 UTC
Created attachment 619222 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-14 22:31:31 UTC
Created attachment 619224 [details]
logs.tbz2
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.