Date: prev next · Thread: first prev next last
2017 Archives by date, by thread · List index


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.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.