RFR: JDK-8077419: Launcher mapfile fails linking with SS12u4

Tim Bell tim.bell at oracle.com
Mon Apr 13 14:44:31 UTC 2015


> 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
> __environ_lock 
> /net/sthserver02/share/sundevtools/devtools/i586/devkit/SS12u4-Solaris11u1/SS12u4-slim/lib/compilers/amd64/crt1x.o 
> (symbol has no version assigned)
> The fix seems to be to add these symbols to the mapfiles.
> 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/

Looks good to me.


More information about the build-dev mailing list