[Mono-list] io-layer naming issues on OSX.
robertj at gmx.net
Sat Oct 14 13:22:43 EDT 2006
Andreas Färber wrote:
> Am 14.10.2006 um 18:29 schrieb Robert Jordan:
>> Robert Jordan wrote:
>>> Andreas Färber wrote:
>>>> What does "we don't use a linker script on macosx"
>>>> mean in cleartext?
>>> Linker script == script for the linker. Mono provides
>>> a GNU ld script:
>>> but no Mac OS X script, because Apple's ld doesn't support
>>> scripts. It only support full lists of symbols (like MS LINK)
>>> with the option '-exported_symbols_list <filename>'
>>> or suppressing lists with '-unexported_symbols_list <filename>'.
>>> The latter would be suitable to suppress the problematic
>>> WAPI symbols. Am looking at this.
>> Oops, WAPI is a global public API, so undefining its symbols
>> is not an option.
> Well, to my understanding the GNU ld linker script above does mark
> them local, not global!
Sorry, yeah, because Mono's linker script is actually specifying
the version of the symbols:
It doesn't deal with the visibility of the symbols. This is
achieved with the GCC visibility attribute.
Still, WAPI is public and Mac OS X ld '-unexported_symbols_list'
can't be used.
I'll send you a patch that renames the symbols later tonight.
More information about the Mono-list