When compiling any C code using clang, the compiler will add debug information even when the option `-g` is not given. Reproducible: Always Steps to Reproduce: 1. cat t.cc int main(){ return 0; } 2. clang -c t.cc 3. llvm-dwarfdump t.o Actual Results: llvm-dwarfdump outputs 30 lines' worth of debug information Expected Results: Only 3 lines of boilerplate output, no actual debug information
A fix and a test have been proposed at: https://src.fedoraproject.org/rpms/clang/pull-request/215 https://src.fedoraproject.org/tests/clang/pull-request/25
FEDORA-2023-5080e32ca7 has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2023-5080e32ca7
FEDORA-2023-5080e32ca7 has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2023-a0cc241787 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-a0cc241787
FEDORA-2023-a0cc241787 has been pushed to the Fedora 39 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-a0cc241787` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-a0cc241787 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2023-a0cc241787 has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report.