https://sourceware.org/bugzilla/show_bug.cgi?id=32311

--- Comment #12 from User441669 <the.ra2.ifv at gmail dot com> ---
> Thanks for the testing.
> I see you have some other openwrt specific patches.
> Do you think any of them are useful upstream or for other distros?

Uh, no, I'm not sure about this because I'm just a simple user, not maintainer
for this package in the openwrt project but I'll try my best. You can take a
look at the patch list here
https://github.com/openwrt/openwrt/tree/main/package/libs/elfutils/patches

> That is odd. I wonder if it is a mold linker bug?
> ELFUTILS_0.122 is the first symbol version. All warnings are about 
> dwfl_linux_kernel_* symbols provided by libdwfl_pic.a
> I don't see the pattern, what is wrong here?

I switched to ld and didn't see the warning any more, so it's about the mold
linker, going to open an issue for this.

> One thing that shows up is:
> configure: WARNING: compiler doesn't generate build-id by default
> Which means your gcc isn't configured with --enable-linker-build-id
> You might want to discuss with your distro to enable them, I believe every 
> other distro does. And various elfutils tools kind of depend on build-ids.

I will also open an issue for this. OpenWrt is a project focused on embedded
systems, I wonder if this is the reason for not enabling this option because it
might increase binary files' size (I know nothing about this but the gcc manual
pages)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to