https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66705

            Bug ID: 66705
           Summary: [5/6 Regression] section is missing linker error with
                    -flto -fipa-pta
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ipa
          Assignee: unassigned at gcc dot gnu.org
          Reporter: trippels at gcc dot gnu.org
                CC: hubicka at gcc dot gnu.org
  Target Milestone: ---

For example:

markus@x4 ~ % g++ -O2 -flto -fipa-pta -w tramp3d-v4.cpp
lto1: fatal error: /tmp/ccIP6ytn.ltrans0.o: section _ZTVN6Smarts8RunnableE is
missing
compilation terminated.
lto-wrapper: fatal error: /usr/x86_64-pc-linux-gnu/gcc-bin/5.1.1/g++ returned 1
exit status
compilation terminated.
/usr/lib/gcc/x86_64-pc-linux-gnu/5.1.1/../../../../x86_64-pc-linux-gnu/bin/ld:
fatal error: lto-wrapper failed
collect2: error: ld returned 1 exit status

markus@x4 ~ % c++filt _ZTVN6Smarts8RunnableE
vtable for Smarts::Runnable

Reducing...

Reply via email to