Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[question] mpg123/1.29.3 undefined reference to __log_finite #12826

Closed
Tumb1eweed opened this issue Sep 5, 2022 · 2 comments
Closed

[question] mpg123/1.29.3 undefined reference to __log_finite #12826

Tumb1eweed opened this issue Sep 5, 2022 · 2 comments
Labels
question Further information is requested

Comments

@Tumb1eweed
Copy link

/usr/bin/ld: /data/.data/usr/bin/ld: /data/.data/mpg123/1.29.3/_/_/package/02fd5e63b781d133a4587cf199933a864f2873cf/lib/libmpg123.a(libmpg123_la-frame.o): in function `INT123_do_rva':
frame.c:(.text+0x1942): undefined reference to `__exp_finite'
/usr/bin/ld: /data/.data/mpg123/1.29.3/_/_/package/02fd5e63b781d133a4587cf199933a864f2873cf/lib/libmpg123.a(libmpg123_la-tabinit.o): in function `INT123_make_conv16to8_table':
tabinit.c:(.text+0x111f): undefined reference to `__log_finite'
/usr/bin/ld: tabinit.c:(.text+0x1179): undefined reference to `__log_finite'
/usr/bin/ld: /data/.data/mpg123/1.29.3/_/_/package/02fd5e63b781d133a4587cf199933a864f2873cf/lib/libmpg123.a(libmpg123_la-layer3.o): in function `INT123_init_layer3_gainpow2_mmx':
layer3.c:(.text+0x41ff): undefined reference to `__exp2_finite'
/usr/bin/ld: /data/.data/mpg123/1.29.3/_/_/package/02fd5e63b781d133a4587cf199933a864f2873cf/lib/libmpg123.a(libmpg123_la-layer3.o): in function `INT123_init_layer3_gainpow2':
layer3.c:(.text+0x424f): undefined reference to `__exp2_finite'
collect2: error: ld returned 1 exit status
/mpg123/1.29.3/_/_/package/02fd5e63b781d133a4587cf199933a864f2873cf/lib/libmpg123.a(libmpg123_la-frame.o): in function `INT123_do_rva':
frame.c:(.text+0x1942): make: *** [Makefile:669: test_ekho] Error 1
make: *** Waiting for unfinished jobs....
undefined reference to `__exp_finite'
/usr/bin/ld: /data/.data/mpg123/1.29.3/_/_/package/02fd5e63b781d133a4587cf199933a864f2873cf/lib/libmpg123.a(libmpg123_la-tabinit.o): in function `INT123_make_conv16to8_table':
tabinit.c:(.text+0x111f): undefined reference to `__log_finite'
/usr/bin/ld: tabinit.c:(.text+0x1179): undefined reference to `__log_finite'
/usr/bin/ld: /data/.data/mpg123/1.29.3/_/_/package/02fd5e63b781d133a4587cf199933a864f2873cf/lib/libmpg123.a(libmpg123_la-layer3.o): in function `INT123_init_layer3_gainpow2_mmx':
layer3.c:(.text+0x41ff): undefined reference to `__exp2_finite'
/usr/bin/ld: /data/.data/mpg123/1.29.3/_/_/package/02fd5e63b781d133a4587cf199933a864f2873cf/lib/libmpg123.a(libmpg123_la-layer3.o): in function `INT123_init_layer3_gainpow2':
layer3.c:(.text+0x424f): undefined reference to `__exp2_finite'
collect2: error: ld returned 1 exit status
@Tumb1eweed Tumb1eweed added the question Further information is requested label Sep 5, 2022
@krishkat
Copy link

krishkat commented Dec 12, 2022

I am running into the same issue too:

/usr/bin/ld: /home/krishkat/.conan/data/mpg123/1.29.3/_/_/package/02fd5e63b781d133a4587cf199933a864f2873cf/lib/libmpg123.a(libmpg123_la-frame.o): in function `INT123_do_rva':
frame.c:(.text+0x1942): undefined reference to `__exp_finite'
/usr/bin/ld: /home/krishkat/.conan/data/mpg123/1.29.3/_/_/package/02fd5e63b781d133a4587cf199933a864f2873cf/lib/libmpg123.a(libmpg123_la-tabinit.o): in function `INT123_make_conv16to8_table':
tabinit.c:(.text+0x111f): undefined reference to `__log_finite'
/usr/bin/ld: tabinit.c:(.text+0x1179): undefined reference to `__log_finite'
/usr/bin/ld: /home/krishkat/.conan/data/mpg123/1.29.3/_/_/package/02fd5e63b781d133a4587cf199933a864f2873cf/lib/libmpg123.a(libmpg123_la-layer3.o): in function `INT123_init_layer3_gainpow2_mmx':
layer3.c:(.text+0x41ff): undefined reference to `__exp2_finite'
/usr/bin/ld: /home/krishkat/.conan/data/mpg123/1.29.3/_/_/package/02fd5e63b781d133a4587cf199933a864f2873cf/lib/libmpg123.a(libmpg123_la-layer3.o): in function `INT123_init_layer3_gainpow2':
layer3.c:(.text+0x424f): undefined reference to `__exp2_finite'
collect2: error: ld returned 1 exit status

It only occurs when using Unity-Builds in CMake, e.g. passing the parameter -DCMAKE_UNITY_BUILD=ON to CMake

@etiennebonnafoux
Copy link

I have the same issue. I reported it here #18951

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants