package libc6-dev 2.34-0ubuntu3: missing '__libc_csu_fini', '__libc_csu_init' symbols

Bug #1947584 reported by Ihor Ivanov
30
This bug affects 5 people
Affects Status Importance Assigned to Milestone
GLibC
New
Undecided
Unassigned
glibc (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

The following error occurs when compilation of host tools for compiling ARM kernel is done:

prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/bin/x86_64-linux-gcc -Wp,-MD,scripts/basic/.fixdep.d -Iscripts/basic -Ikernel/msm-4.14/include/uapi -I/usr/include -I/usr/include/x86_64-linux-gnu -L/usr/lib -L/usr/lib/x86_64-linux-gnu -o scripts/basic/fixdep kernel/msm-4.14/scripts/basic/fixdep.c
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/bin/../sysroot/usr/lib/crt1.o(.text+0x12): error: undefined reference to '__libc_csu_fini'
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/bin/../sysroot/usr/lib/crt1.o(.text+0x19): error: undefined reference to '__libc_csu_init'
collect2: error: ld returned 1 exit status

I checked that neither libc.a nor libc_nonshared.a contains these symbols:

$ objdump -t /usr/lib/x86_64-linux-gnu/libc.a | grep csu_init
$ objdump -t /usr/lib/x86_64-linux-gnu/libc_nonshared.a | grep csu_init

Also I checked that the binaries from previous version contain these symbols:

libc2.33$ objdump -t usr/lib/x86_64-linux-gnu/libc.a | grep csu_init
0000000000000000 g F .text 0000000000000094 __libc_csu_init
libc2.33$ objdump -t usr/lib/x86_64-linux-gnu/libc_nonshared.a | grep csu_init
0000000000000000 g F .text 0000000000000065 __libc_csu_init

Is it intended that these symbols are removed in 2.34 version of libc6-dev package?

Ihor Ivanov (meetoul)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in glibc (Ubuntu):
status: New → Confirmed
Revision history for this message
Mads (madhurkiran2016) wrote (last edit ):

Team,

This is affecting the android builds on the latest ubuntu disro 21.10 which is based on glibc 2.34

-Mads

Revision history for this message
Ketan (ketpat18) wrote :

Any update on this issue? I upgraded to Ubuntu 22.04 LTS and I am facing issues with Android builds because of this.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.