[Bug c++/87726] New: -fdebug-prefix-map doesn't work with lto

ville.voutilainen at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Oct 24 10:54:00 GMT 2018


            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.

More information about the Gcc-bugs mailing list