Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 950374 - dev-libs/sleef-3.7-r1 [test] compilation failure : bin/mveclibtest-sse2 bin/mveclibtest-avx : libm-tester/mveclibtest.c:13:(.text.startup+0x9f): undefined reference to `sin'
Summary: dev-libs/sleef-3.7-r1 [test] compilation failure : bin/mveclibtest-sse2 bin...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Tupone Alfredo
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2025-02-28 15:27 UTC by Arniiiii
Modified: 2025-04-06 13:05 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (file_950374.txt,572.14 KB, text/plain)
2025-02-28 15:27 UTC, Arniiiii
Details
emerge --info (file_950374.txt,15.77 KB, text/plain)
2025-02-28 15:28 UTC, Arniiiii
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arniiiii 2025-02-28 15:27:52 UTC
Created attachment 920034 [details]
build.log

from build.log:
```
FAILED: bin/mveclibtest-sse2
: && /usr/bin/x86_64-pc-linux-gnu-gcc -O3 -pipe -march=alderlake -mabm -mno-cldemote -mno-kl -mno-pconfig -mno-sgx -mno-widekl -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=30720 -fuse-linker-plugin -flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -fgraphite-identity -floop-interchange -floop-strip-mine -floop-nest-optimize -ftree-loop-linear -ggdb3 -frecord-gcc-switches -Wall -Wno-unused-function -Wno-attributes -Wno-unused-result -Wno-psabi -ffp-contract=off -fno-math-errno -fno-trapping-math -fno-strict-aliasing -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0     -Wl,--dependency-file=src/libm-tester/CMakeFiles/mveclibtest-sse2.dir/link.d src/libm-tester/CMakeFiles/mveclibtest-sse2.dir/mveclibtest.c.o src/libm-tester/CMakeFiles/mveclibtest-sse2.dir/__/common/main_checkfeature.c.o -o bin/mveclibtest-sse2 -L/var/tmp/portage/dev-libs/sleef-3.7-r1/work/sleef-3.7_build/lib   -L/var/tmp/portage/dev-libs/sleef-3.7-r1/work/sleef-3.7_build/src/common -Wl,-rpath,/var/tmp/portage/dev-libs/sleef-3.7-r1/work/sleef-3.7_build/lib:/var/tmp/portage/dev-libs/sleef-3.7-r1/work/sleef-3.7_build/src/common  lib/libsleef.so.3.7.0  lib/libsleefgnuabi.so.3.7 && :
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/dev-libs/sleef-3.7-r1/temp/cc6v3RNP.ltrans0.ltrans.o: in function `main':
/var/tmp/portage/dev-libs/sleef-3.7-r1/work/sleef-3.7/src/libm-tester/mveclibtest.c:13:(.text.startup+0x9f): undefined reference to `sin'
collect2: error: ld returned 1 exit status
[472/506] : && /usr/bin/x86_64-pc-linux-gnu-gcc -O3 -pipe -march=alderlake -mabm -mno-cldemote -mno-kl -mno-pconfig -mno-sgx -mno-widekl -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=30720 -fuse-linker-plugin -flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -fgraphite-identity -floop-interchange -floop-strip-mine -floop-nest-optimize -ftree-loop-linear -ggdb3 -frecord-gcc-switches -Wall -Wno-unused-function -Wno-attributes -Wno-unused-result -Wno-psabi -ffp-contract=off -fno-math-errno -fno-trapping-math -fno-strict-aliasing -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0     -Wl,--dependency-file=src/libm-tester/CMakeFiles/mveclibtest-avx.dir/link.d src/libm-tester/CMakeFiles/mveclibtest-avx.dir/mveclibtest.c.o src/libm-tester/CMakeFiles/mveclibtest-avx.dir/__/common/main_checkfeature.c.o -o bin/mveclibtest-avx -L/var/tmp/portage/dev-libs/sleef-3.7-r1/work/sleef-3.7_build/lib   -L/var/tmp/portage/dev-libs/sleef-3.7-r1/work/sleef-3.7_build/src/common -Wl,-rpath,/var/tmp/portage/dev-libs/sleef-3.7-r1/work/sleef-3.7_build/lib:/var/tmp/portage/dev-libs/sleef-3.7-r1/work/sleef-3.7_build/src/common  lib/libsleef.so.3.7.0  lib/libsleefgnuabi.so.3.7 && :
FAILED: bin/mveclibtest-avx
: && /usr/bin/x86_64-pc-linux-gnu-gcc -O3 -pipe -march=alderlake -mabm -mno-cldemote -mno-kl -mno-pconfig -mno-sgx -mno-widekl -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=30720 -fuse-linker-plugin -flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -fgraphite-identity -floop-interchange -floop-strip-mine -floop-nest-optimize -ftree-loop-linear -ggdb3 -frecord-gcc-switches -Wall -Wno-unused-function -Wno-attributes -Wno-unused-result -Wno-psabi -ffp-contract=off -fno-math-errno -fno-trapping-math -fno-strict-aliasing -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0     -Wl,--dependency-file=src/libm-tester/CMakeFiles/mveclibtest-avx.dir/link.d src/libm-tester/CMakeFiles/mveclibtest-avx.dir/mveclibtest.c.o src/libm-tester/CMakeFiles/mveclibtest-avx.dir/__/common/main_checkfeature.c.o -o bin/mveclibtest-avx -L/var/tmp/portage/dev-libs/sleef-3.7-r1/work/sleef-3.7_build/lib   -L/var/tmp/portage/dev-libs/sleef-3.7-r1/work/sleef-3.7_build/src/common -Wl,-rpath,/var/tmp/portage/dev-libs/sleef-3.7-r1/work/sleef-3.7_build/lib:/var/tmp/portage/dev-libs/sleef-3.7-r1/work/sleef-3.7_build/src/common  lib/libsleef.so.3.7.0  lib/libsleefgnuabi.so.3.7 && :
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/dev-libs/sleef-3.7-r1/temp/ccKg68NP.ltrans0.ltrans.o: in function `main':
/var/tmp/portage/dev-libs/sleef-3.7-r1/work/sleef-3.7/src/libm-tester/mveclibtest.c:13:(.text.startup+0x9f): undefined reference to `sin'
collect2: error: ld returned 1 exit status
```
Comment 1 Arniiiii 2025-02-28 15:28:23 UTC
Created attachment 920035 [details]
emerge --info
Comment 2 Tupone Alfredo gentoo-dev 2025-03-03 19:32:07 UTC
Please test with latest version.
If it does not work, try removing lto and see