JDK-8191335 : Linux 32-bit build fails after fix for JDK-8187594
  • Type: Bug
  • Component: javafx
  • Sub-Component: media
  • Affected Version: 8u172
  • Priority: P1
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2017-11-15
  • Updated: 2018-01-08
  • Resolved: 2017-11-15
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8u162Fixed
Related Reports
Relates :  
Description
The 8u-dev backport of the 32-bit Linux build fails to compile after the fix for JDK-8187594. Here is the error:

gcc -fPIC -Werror=implicit-function-declaration -D_GNU_SOURCE -DGST_REMOVE_DEPRECATED -DGSTREAMER_LITE -DHAVE_CONFIG_H -DOUTSIDE_SPEEX -DLINUX -DGST_DISABLE_GST_DEBUG -DGST_DISABLE_LOADSAVE -Os -m32 -I../../../plugins -I../../../gstreamer-lite/projects/build/linux/common -I../../../gstreamer-lite/gstreamer -I../../../gstreamer-lite/gstreamer/libs -I../../../gstreamer-lite/gstreamer/gst/parse -I../../../gstreamer-lite/gst-plugins-base -I../../../gstreamer-lite/gst-plugins-base/gst-libs -I../../../gstreamer-lite/projects/plugins -I../../../gstreamer-lite/gst-plugins-base/gst-libs -I../../../gstreamer-lite/gst-plugins-good/gst-libs -I../../../gstreamer-lite/gst-plugins-good/gst/isomp4 -I../../../gstreamer-lite/gst-plugins-bad/gst-libs -I/usr/include/alsa -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -c ../../../gstreamer-lite/gstreamer/gst/gstregistry.c -o /scratch/HUDSON/workspace/8u-dev/label/linux-i586-93/rt/modules/media/build/native/linux/Release/obj/gstreamer-lite/gstreamer/gst/gstregistry.o

../../../gstreamer-lite/gstreamer/gst/gstregistry.c: In function 'preload_plugin_on_thread':
../../../gstreamer-lite/gstreamer/gst/gstregistry.c:1195:3: error: implicit declaration of function 'g_thread_new' [-Werror=implicit-function-declaration]
   GThread *thread = g_thread_new(NULL, load_plugin, filename);
   ^
../../../gstreamer-lite/gstreamer/gst/gstregistry.c:1195:21: warning: initialization makes pointer from integer without a cast
   GThread *thread = g_thread_new(NULL, load_plugin, filename);


One difference between FX 10 and FX 8u is that we use Oracle Linux 6 to build 8u.
Comments
Not Verified since this is related to build process.
29-11-2017

http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/e8870b6f33e8
15-11-2017

+1 No, I don't think we need to backport this to 10.
15-11-2017

Please review the following: http://cr.openjdk.java.net/~almatvee/8191335/webrev.00/ Reviewers: kcr Fixed by using g_thread_create() (deprecated API since GLib 2.32) as rest of our code.
15-11-2017

This does look to be OL 6 specific, since I was able to build 8u-dev for 32-bit Linux on my OL 7 machine.
15-11-2017