About failing MacOs TB

julien2412 serval2412 at yahoo.fr
Sun Jul 30 08:46:07 UTC 2017


Hi Armin/Stephan,

Noticing failing MacOs TB with:
2944          Undefined symbols for architecture x86_64:
2945            "___cxa_deleted_virtual", referenced from:
2946                vtable for drawinglayer::primitive2d::BorderLine in
borderlineprimitive2d.o
2947  NEXT    ld: symbol(s) not found for architecture x86_64
2948  NEXT    clang: error: linker command failed with exit code 1 (use -v
to see invocation)
2949  NEXT   
/Users/tdf/lode/jenkins/workspace/lo_tb_master_mac/drawinglayer/Library_drawinglayer.mk:10:
recipe for target
┬┤/Users/tdf/lode/jenkins/workspace/lo_tb_master_mac/instdir/LibreOfficeDev.app/Contents/Frameworks/libdrawinglayerlo.dylib┬┤
failed
2950  NEXT    make[1]: ***
[/Users/tdf/lode/jenkins/workspace/lo_tb_master_mac/instdir/LibreOfficeDev.app/Contents/Frameworks/libdrawinglayerlo.dylib]
Error 1

I gave a try with MacOs 10.12.6 and last XCode (Apple LLVM version 8.1.0
(clang-802.0.42)) I could reproduce this.
This problem is triggered:
53  virtual bool operator!=(const BorderLine& rBorderLine) const = delete;
(see
https://opengrok.libreoffice.org/xref/core/include/drawinglayer/primitive2d/borderlineprimitive2d.hxx#53)

Reading about this, I saw
https://stackoverflow.com/questions/3910083/deleting-virtual-functions-in-c0x
and https://bugs.llvm.org/show_bug.cgi?id=13684.
and most particularly the comment 5:
"... You need to use clang++ to link, not just clang, to link against the
relevant C++ standard libraries."

Any thoughts?

Julien




--
View this message in context: http://nabble.documentfoundation.org/About-failing-MacOs-TB-tp4219338.html
Sent from the Dev mailing list archive at Nabble.com.


More information about the LibreOffice mailing list