Hello,
On MacOs 10.11 with master sources updated today (with lode +
enable-dbgutil) + clean build I noticed this:
[build DEP] LNK:Library/librptxmllo.dylib
[build LNK] Library/librptxmllo.dylib
ld: warning: direct access in
std::__1::__shared_ptr_pointer<std::__1::vector<SdPage*,
std::__1::allocator<SdPage*> >*,
std::__1::default_delete<std::__1::vector<SdPage*,
std::__1::allocator<SdPage*> > >,
std::__1::allocator<std::__1::vector<SdPage*,
std::__1::allocator<SdPage*> > > >::__get_deleter(std::type_info const&)
const to global weak symbol typeinfo for
std::__1::default_delete<std::__1::vector<SdPage*,
std::__1::allocator<SdPage*> > > means the weak symbol cannot be
overridden at runtime. This was likely caused by different translation units
being compiled with different visibility settings.
[build CMP] reportdesign/util/rptui
[build CMP] reportdesign/util/rptxml
[build BIN] reportdesign
[build MOD] reportdesign
[build DEP] LNK:Library/libswlo.dylib
[build LNK] Library/libswlo.dylib
[build CMP] sd/util/sd
[build DEP] LNK:CppunitTest/libtest_sd_uimpress.dylib
[build LNK] CppunitTest/libtest_sd_uimpress.dylib
ld: warning: direct access in
std::__1::__shared_ptr_pointer<std::__1::vector<SdPage*,
std::__1::allocator<SdPage*> >*,
std::__1::default_delete<std::__1::vector<SdPage*,
std::__1::allocator<SdPage*> > >,
std::__1::allocator<std::__1::vector<SdPage*,
std::__1::allocator<SdPage*> > > >::__get_deleter(std::type_info const&)
const to global weak symbol typeinfo for
std::__1::default_delete<std::__1::vector<SdPage*,
std::__1::allocator<SdPage*> > > means the weak symbol cannot be
overridden at runtime. This was likely caused by different translation units
being compiled with different visibility settings.
Perhaps it's been there since long time, I just wondered if it was something
that could be easily fixed.
Googling a bit pointed to Boost related things and visibility flags but they
weren't clear for me.
Julien
--
View this message in context:
http://nabble.documentfoundation.org/ld-warning-direct-access-MacOs-tp4178434.html
Sent from the Dev mailing list archive at Nabble.com.
Context
- ld: warning: direct access (MacOs) · julien2412
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.