Created attachment 872164 [details] build log In a clang-17[default-libcxx] environment, net-wireless/bluez-5.70 will fail to link during emerge with the following error message: ``` ld.lld: error: version script assignment of 'global' to symbol 'error' failed: symbol not defined ld.lld: error: version script assignment of 'global' to symbol 'debug' failed: symbol not defined clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [Makefile:6203: src/bluetoothd] Error 1 make: *** [Makefile:4556: all] Error 2 ``` This can be avoided by passing "-Wl,--undefined-version" to LDFLAGS. Attaching logs.
Created attachment 872165 [details] emerge --info
parona, did you ever send this to the ML? (see comments on https://github.com/bluez/bluez/pull/623)
clang-lld_tinderbox has reproduced this issue with version 5.72 - Updating summary.
I don't see this patch being sent to the ML. And bluez doesn't accept Github pull requests. So far I just applied it to my private overlay and I can confirm it works: https://gitlab.com/vadorovsky/overlay/-/commit/4f3956048938ba1aa84d19f96cfeaa06f0aa3ea9 But it would be awesome to upstream it.
Is this still valid with 5.79?
(In reply to Pacho Ramos from comment #5) > Is this still valid with 5.79? I get no issues building 5.79.
Thanks for the feedback