https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87726
Bug ID: 87726 Summary: -fdebug-prefix-map doesn't work with lto Product: gcc Version: lto Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ville.voutilainen at gmail dot com Target Milestone: --- Created attachment 44887 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44887&action=edit Test application With the attached source, uncommenting the lto flags at the top of the Makefile lead to a linker error when making the source. The source needs the development headers and libs for dwarf and dw. This problem breaks the attempts to build boot2qt with lto enabled with yocto.