[PATCH 0/4] GLIBC_PRIVATE ABI cleanups

Florian Weimer fweimer@redhat.com
Wed Jul 7 11:04:36 GMT 2021


* Szabolcs Nagy:

>> Florian Weimer (4):
>>   nptl: Use internal low-level lock type for !IS_IN (libc)
>>   nptl: Remove GLIBC_2.34 versions of __pthread_mutex_lock,
>>     __pthread_mutex_unlock
>>   nptl: Reduce the GLIBC_PRIVATE ABI
>>   elf: Clean up GLIBC_PRIVATE exports of internal libdl symbols
>
> after these commits on arm i see
>
> /usr/bin/ld: /work/glibc-armhf-linux/build/build/nis/libnsl_pic.a(ypclnt.os): in function `__GI_yp_unbind':
> /work/glibc-armhf-linux/build/glibc/nis/ypclnt.c:267: undefined reference to `__libc_do_syscall'
> /usr/bin/ld: /work/glibc-armhf-linux/build/build/nis/libnsl_pic.a(ypclnt.os): in function `__GI_yp_get_default_domain':
> /work/glibc-armhf-linux/build/glibc/nis/ypclnt.c:415: undefined reference to `__libc_do_syscall'
> /usr/bin/ld: /work/glibc-armhf-linux/build/build/nis/libnsl_pic.a(ypclnt.os): in function `do_ypcall':
> /work/glibc-armhf-linux/build/glibc/nis/ypclnt.c:332: undefined reference to `__libc_do_syscall'
> /usr/bin/ld: /work/glibc-armhf-linux/build/glibc/nis/ypclnt.c:319: undefined reference to `__libc_do_syscall'
> /usr/bin/ld: /work/glibc-armhf-linux/build/build/nis/libnsl_pic.a(nis_call.os): in function `get_ckey':
> /work/glibc-armhf-linux/build/glibc/nis/nis_call.c:177: undefined reference to `__libc_do_syscall'
> /usr/bin/ld: /work/glibc-armhf-linux/build/build/nis/libnsl_pic.a(nis_call.os):/work/glibc-armhf-linux/build/glibc/nis/nis_call.c:177: more undefined references to `__libc_do_syscall' follow
> collect2: error: ld returned 1 exit status

I did build this on arm-linux-gnueabihf with build-many-glibcs.py, so
this is very surprising.  Looking at
sysdeps/unix/sysv/linux/arm/sysdep.h, I wonder if you are building in
thumb mode, and if so, why this isn't covered by build-many-glibcs.py.

Is the comment about the r7 register still accurate?

Thanks,
Florian



More information about the Libc-alpha mailing list