openwrt / openwrt

This repository is a mirror of https://git.openwrt.org/openwrt/openwrt.git It is for reference only and is not active for check-ins. We will continue to accept Pull Requests here. They will be merged via staging trees then into openwrt.git.
Other
20.33k stars 10.51k forks source link

gcc: enable linker-build-id when configuring? #16936

Open Ra2-IFV opened 3 days ago

Ra2-IFV commented 3 days ago

Describe the bug

When running configure for elfutils, it will give this warning: configure: WARNING: compiler doesn't generate build-id by default This is because gcc isn't configured with --enable-linker-build-id, as the maintainer of elfutils pointed out in this bug report. I don't see this option in gcc configure options in this makefile.

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.

OpenWrt version

cdfe413d263409e33eda936c34c4338eed66b5a5

OpenWrt release

cdfe413d263409e33eda936c34c4338eed66b5a5

OpenWrt target/subtarget

bcm27xx/bcm2711

Device

Raspberry Pi Compute Module 4

Image kind

Self-built image

Steps to reproduce

make package/elfutils/{clean,prepare,compile} -j1 V=s > elfutils.log 2>&1

Actual behaviour

No response

Expected behaviour

No response

Additional info

No response

Diffconfig

CONFIG_PACKAGE_apk-mbedtls=y
# CONFIG_PACKAGE_opkg is not set
CONFIG_PACKAGE_zlib=y
CONFIG_USE_APK=y
CONFIG_USE_GC_SECTIONS=y
CONFIG_USE_LTO=y
CONFIG_USE_MOLD=y
CONFIG_ZLIB_OPTIMIZE_SPEED=y

Terms

github-actions[bot] commented 3 days ago

Invalid Version reported. cdfe413d263409e33eda936c34c4338eed66b5a5 Is this from a clean repository?

github-actions[bot] commented 3 days ago

Invalid Release reported. cdfe413d263409e33eda936c34c4338eed66b5a5 Is this from a clean repository?

brada4 commented 2 days ago

It is extra super repetitive metainfo line.