https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95605
Bug ID: 95605
Summary: LTO and object files generated by dtrace -G
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: lto
Assignee: unassigned at gcc dot gnu.org
Reporter: doko at debian dot org
CC: marxin at gcc dot gnu.org
Target Milestone: ---
An object file generated with dtrace -G doesn't have a .gnu.lto_.opts section.
Afaiu the lto linking is supposed to merge all flags used for all compile steps
into the link step, if the flag was used for all .o files. That results in a
binary built without any options, if these are not present in the link step.