error when building master

Adhemerval Zanella Netto adhemerval.zanella@linaro.org
Thu Jul 24 18:49:50 GMT 2025



On 24/07/25 11:05, Andreas K. Huettel wrote:
> Am Donnerstag, 24. Juli 2025, 11:07:21 Mitteleuropäische Sommerzeit schrieb Paul Zimmermann:
>>        Hi,
>>
>> when building master (3ff17af) on a Intel(R) Core(TM) i7-8700 I get an error:
>>
>> $ ../configure --disable-sanity-checks
>> [...]
>> $ make
>> [...]
>> /usr/bin/ld: /localdisk/zimmerma/glibc/build/math/libm_pic.a(s_asinh.os): in function `asinh_ifunc_selector':
>> /localdisk/zimmerma/glibc/math/../sysdeps/x86_64/fpu/multiarch/ifunc-fma.h:30:(.text+0x1b1): undefined reference to `__asinh_fma'
>> /usr/bin/ld: /localdisk/zimmerma/glibc/build/math/libm_pic.a(s_asinh.os): relocation R_X86_64_PC32 against undefined hidden symbol `__asinh_fma' can not be used when making a shared object
>>
>> Does it ring a bell to someone?
>>
>> I use gcc version 14.2.0 (Debian 14.2.0-19).
> 
> Hi Paul, 
> 
> I haven't seen this anywhere. 
> 
> Sorry I'm not so familiar with Debian releases...
> * what binutils (ld) version?
> * any special CFLAGS or similar?
> * ideally, could you file a bug and upload the whole build log please?

Hi Paul,

Afaik x86_64 does not provide ifunc support or asinh:

x86_64-linux-gnu $ objdump -t math/s_asinh.os | grep  asinh
math/s_asinh.os:     file format elf64-x86-64
0000000000000000 l    df *ABS*  0000000000000000 s_asinh.c
0000000000000000 g     F .text  00000000000001b0 __asinh
0000000000000000  w    F .text  00000000000001b0 asinhf32x
0000000000000000  w    F .text  00000000000001b0 asinhf64
0000000000000000  w    F .text  00000000000001b0 asinh

You can double check that there is no entry for asinh on 
sysdeps/x86_64/fpu/multiarch/Makefile.


More information about the Libc-alpha mailing list