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

Bug 924321

Summary: =xfce-base/libxfce4ui-4.19.4 several undefined references with LLD
Product: Gentoo Linux Reporter: David Carlos Manuelda <StormByte>
Component: Current packagesAssignee: XFCE Team <xfce>
Status: UNCONFIRMED ---    
Severity: normal CC: mgorny, StormByte
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://gitlab.xfce.org/xfce/libxfce4ui/-/merge_requests/116
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
Full build log

Description David Carlos Manuelda 2024-02-12 02:29:09 UTC
When building xfce4-base/libxfce4ui-4.19.4 (not reproducible with 4.19.3) with clang (+compiler-rt +libcxx in runtime) and LLD as linker I get 6 undefined references:

ld.lld: error: undefined reference due to --no-allow-shlib-undefined: IceSetIOErrorHandler
>>> referenced by ./.libs/libxfce4ui-2.so

ld.lld: error: undefined reference due to --no-allow-shlib-undefined: IceAddConnectionWatch
>>> referenced by ./.libs/libxfce4ui-2.so

ld.lld: error: undefined reference due to --no-allow-shlib-undefined: IceConnectionNumber
>>> referenced by ./.libs/libxfce4ui-2.so

ld.lld: error: undefined reference due to --no-allow-shlib-undefined: IceProcessMessages
>>> referenced by ./.libs/libxfce4ui-2.so

ld.lld: error: undefined reference due to --no-allow-shlib-undefined: IceSetShutdownNegotiation
>>> referenced by ./.libs/libxfce4ui-2.so

ld.lld: error: undefined reference due to --no-allow-shlib-undefined: IceCloseConnection
>>> referenced by ./.libs/libxfce4ui-2.so

Reproducible: Always
Comment 1 David Carlos Manuelda 2024-02-12 02:29:52 UTC
Created attachment 884762 [details]
emerge --info
Comment 2 David Carlos Manuelda 2024-02-12 02:30:05 UTC
Created attachment 884763 [details]
Full build log
Comment 3 David Carlos Manuelda 2024-02-12 02:32:56 UTC
If compiling with LDFLAGS="-lICE" then it compiles again, not a proper bugfix but an indicative of a missing library adition in linkage.

I suspect that the new X ISE is the culprit