Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 935630

Summary: dev-libs/simde-0.8.2 fails to compile: round.c:(.text+0x1f697): undefined reference to roundevenf
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Ionen Wolkens <ionen>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=926488
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2024-07-06 06:45:35 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-libs/simde-0.8.2 fails to compile.
Discovered on: amd64 (internal ref: tinderbox_musl)
System: MUSL-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#MUSL)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0002
Comment 1 Agostino Sarubbo gentoo-dev 2024-07-06 06:45:37 UTC
Created attachment 897132 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-07-06 06:45:37 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


/usr/lib/gcc/x86_64-pc-linux-musl/14/../../../../x86_64-pc-linux-musl/bin/ld: round.c:(.text+0x2018f): undefined reference to `roundevenf'
/usr/lib/gcc/x86_64-pc-linux-musl/14/../../../../x86_64-pc-linux-musl/bin/ld: round.c:(.text+0x20c87): undefined reference to `roundevenf'
/usr/lib/gcc/x86_64-pc-linux-musl/14/../../../../x86_64-pc-linux-musl/bin/ld: round.c:(.text+0x2177f): undefined reference to `roundevenf'
/usr/lib/gcc/x86_64-pc-linux-musl/14/../../../../x86_64-pc-linux-musl/bin/ld: round.c:(.text+0x23061): undefined reference to `roundeven'
/usr/lib/gcc/x86_64-pc-linux-musl/14/../../../../x86_64-pc-linux-musl/bin/ld: round.c:(.text+0x23b91): undefined reference to `roundeven'
/usr/lib/gcc/x86_64-pc-linux-musl/14/../../../../x86_64-pc-linux-musl/bin/ld: round.c:(.text+0x246c1): undefined reference to `roundeven'
FAILED: test/x86/avx512/round-emul-c 
round.c:(.text+0x1f697): undefined reference to `roundevenf'
round.c:(.text+0x22531): undefined reference to `roundeven'
collect2: error: ld returned 1 exit status
Comment 3 Ionen Wolkens gentoo-dev 2024-07-06 10:06:55 UTC
Guess bug #926488 came back on musl (due to lacking C23 roundevenf which is more of a problem with musl than simde).

I'll have a look later albeit it's not urgent given this only happens when building tests and afaik kitty doesn't use this code path.