RFR(S) 8200383: Can't build on SPARC Hotspot with code which use math functions
Magnus Ihse Bursie
magnus.ihse.bursie at oracle.com
Wed Mar 28 21:51:02 UTC 2018
On 2018-03-28 23:01, Vladimir Kozlov wrote:
> Changes for JDK-8200303 added calls to log2f() math function and it
> hit problem building Hotspot on SPARC - it can't find this function.
> For Hotspot build on Solaris we had hack to support old Solaris
> versions which did not have libm.so.2:
> We don't support Solaris 8 and 9 anymore and it is safe to remove the
> Tested with tier1 Builds and Hotspot testing (similar to submit-hs).
Yay, that's wonderful to get it cleaned out!
However, there's a similar hack in Awt2dLibraries.gmk:
LDFLAGS_solaris := /usr/lib$(OPENJDK_TARGET_CPU_ISADIR)/libm.so.2
Maybe you can/should remove that as well?
More information about the hotspot-dev