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

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 57226
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57226&action=edit
pr113617.h

Reduced testcase:
./cc1plus -quiet -O2 -std=c++11 -fPIC pr113617.C; ./cc1plus -quiet -O2
-std=c++11 -fPIC pr113617-aux.cc; g++ -shared -o pr113617.so pr113617.s
pr113617-aux.s
`_ZN4blah17_Function_handlerIFvvENS_5_BindIFPFvPvxxxEPN3vtk6detail3smp27vtkSMPTools_FunctorInternalIN12_GLOBAL__N_19CountUsesIxEELb0EEExxxEEEE10_M_managerERNS_9_Any_dataERKSI_NS_18_Manager_operationE'
referenced in section `.data.rel.ro.local' of /tmp/ccecCY2H.o: defined in
discarded section
`.text._ZN4blah17_Function_handlerIFvvENS_5_BindIFPFvPvxxxEPN3vtk6detail3smp27vtkSMPTools_FunctorInternalIN12_GLOBAL__N_19CountUsesIxEELb0EEExxxEEEE10_M_managerERNS_9_Any_dataERKSI_NS_18_Manager_operationE[_ZN26vtkStaticCellLinksTemplateIxE18ThreadedBuildLinksExxP12vtkCellArray]'
of /tmp/ccecCY2H.o
collect2: error: ld returned 1 exit status

Reply via email to