[Bug 1947584] Re: package libc6-dev 2.34-0ubuntu3: missing '__libc_csu_fini', '__libc_csu_init' symbols

Ketan 1947584 at bugs.launchpad.net
Wed Aug 24 18:05:06 UTC 2022


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

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/1947584

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

Status in GLibC:
  New
Status in glibc package in Ubuntu:
  Confirmed

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?

To manage notifications about this bug go to:
https://bugs.launchpad.net/glibc/+bug/1947584/+subscriptions




More information about the foundations-bugs mailing list