JDK-8132561 : Fix for 8072147 breaks JDK 9 build with older gcc on Mac.
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Priority: P1
  • Status: Closed
  • Resolution: Won't Fix
  • Submitted: 2015-07-29
  • Updated: 2015-08-10
  • Resolved: 2015-07-30
Related Reports
Relates :  
The above bug was fixed in JDK 9 on this thread :-

when it came to the JDK8 backport it was implemented differently since gcc did not
support the thread local storage in the older gcc

This means that those of us who are stuck with the older gcc because we need to
build several releases can no longer build on JDK 9.

~/jdk9/hotspot/src/os/bsd/vm/jsig.c:45: error: thread-local storage not supported for this target
make[10]: *** [libjsig.dylib] Error 1 

Whilst there is an official JDK 9 compiler for each platform we should endeavour
to allow building on as many versions as possible. The JDK 8 solution should be
foward ported to JDK 9 asap.

The attached jsig.patch file replaces the 9 code with that from 8u-dev and I can build again.

We plan to take advantage of the features in the supported compilers for JDK9, we'll only address issues for the list of supported compilers. Closing as WNF