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


On 10/05/12 12:24, Michael Stahl wrote:
On 10/05/12 12:18, Tor Lillqvist wrote:
always amazing at how native linkers on the various platforms find new
and different ways to completely screw things up.

Isn't this more a case of it just working by accident on ELF and
Windows platforms?

to some extent yes (in that if you have a default global namespace like
ELF pretty much anything works only by accident :), but really why does
the function end up being exported from the editeng shared object so
that sw can call it?  don't we use default hidden visibility on Mac
platform?

it seems we don't in gbuild; solenv/gbuild/platform/unxgcc.mk sets
-fvisibility=hidden but that file isn't used on Mac.

apparently 92f70c7e11136ca6d4dba529183f20f99d2d0cd2 removed it.

while in dmake it was based off of this, where i don't know if it's true
on Apple GCC:

.IF "$(COMNAME)" == "gcc3" && "$(HAVE_GCC_VISIBILITY_FEATURE)" == "TRUE"

somebody with a Mac should find out whether HAVE_GCC_VISIBILITY_FEATURE
is true there, and if yes, what happens when you add the flag to
solenv/gbuild/platform/unxmacosx.mk.



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.