Exporting symbols on OSX ?
david.holmes at oracle.com
Tue May 7 11:54:21 UTC 2013
We just discovered that every symbol is libjvm is being exported on OSX.
The OSX/BSD makefiles were copied from the linux ones and so have the
options for linker scripts and mapfiles, but as OSX doesn't support
linker scripts this is disabled by setting LDNOMAP=true - hence all
symbols are exported.
However the OSX linker does support -exported_symbols_list
so I was wondering why the build wasn't modified to use that so that we
only export the JVM symbols we intend to export? (That's a question for
the macosx-port-dev folk :) ).
Does anyone have experience using this such that we can get the hotspot
More information about the build-dev