Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1016556: fpc: glibc 2.34 breaks fpc autopkgtest on arm64: undefined reference to `__libc_csu_init'

33 views
Skip to first unread message

Aurelien Jarno

unread,
Aug 2, 2022, 5:30:03 PM8/2/22
to
Source: fpc
Version: 3.2.2+dfsg-10
Severity: important
Tags: patch
User: debian...@lists.debian.org
Usertags: glibc2.34

Dear maintainer,

The autopkgtest of fpc fails in sid on amd64 when that autopkgtest is
run with the binary packages of glibc from experimental. It passes when
run with only packages from sid. In tabular form:

pass fail
glibc from sid 2.34-0experimental5
fpc from sid 3.2.2+dfsg-10
all others from sid from sid

Here is the relevant part of the test log:

/usr/bin/ppca64 fpmake.pp -n -Fu../../rtl/units/aarch64-linux -Fu../../packages/paszlib -Fu../../packages/fcl-process -Fu../../packages/hash -Fu../../packages/libtar -Fu../../packages/fpmkunit/units_bs/aarch64-linux @/tmp/autopkgtest-lxc.pdlnszmr/downtmp/build.u8l/src/debian/deb-build-fpc.cfg
/usr/bin/ld.bfd: /tmp/autopkgtest-lxc.pdlnszmr/downtmp/build.u8l/src/fpcsrc/rtl/units/aarch64-linux/cprt0.o: in function `_start':
(.text+0x54): undefined reference to `__libc_csu_init'
/usr/bin/ld.bfd: (.text+0x58): undefined reference to `__libc_csu_init'
/usr/bin/ld.bfd: (.text+0x5c): undefined reference to `__libc_csu_fini'
/usr/bin/ld.bfd: (.text+0x60): undefined reference to `__libc_csu_fini'
fpmake.pp(258) Error: Error while linking
fpmake.pp(258) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted

The full test log is available there:
https://ci.debian.net/data/autopkgtest/unstable/arm64/f/fpc/24224856/log.gz

It seems that the startup code has to be adjusted for glibc 2.34, Ubuntu
has a patch available there:
https://patches.ubuntu.com/f/fpc/fpc_3.2.2+dfsg-11ubuntu1.patch

Regards
Aurelien
0 new messages