RFR: JDK-8077419: Launcher mapfile fails linking with SS12u4
david.holmes at oracle.com
Tue Apr 14 01:44:50 UTC 2015
On 13/04/2015 11:25 PM, Erik Joelsson wrote:
> When building JDK 9 with Solaris Studio 12u4, linking of unpack200 and
> the java launchers fails due to symbols not being exported. A typical
> error message looks like this:
> Undefined first referenced
> symbol in file
> (symbol has no version assigned)
> The fix seems to be to add these symbols to the mapfiles.
I'm perplexed - what are these symbols and why are we exporting them ??
I see we already had __environ_lock on x86, but I can't actually find
these in our source code (environ_lock, longdouble_used).
> I also noted that the format of the make dependency files generated by
> the compiler is slightly different which required a small adjustment to
> our rewriting logic for them to remove leading whitespace.
> Bug: https://bugs.openjdk.java.net/browse/JDK-8077419
> Webrev: http://cr.openjdk.java.net/~erikj/8077419/webrev.01/
More information about the build-dev