ld: warning: direct access (MacOs)

julien2412 serval2412 at yahoo.fr
Sun Mar 13 18:21:39 UTC 2016


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.


More information about the LibreOffice mailing list