Testcase that can reproduce this lock bug using a pandaboard running kernel 3.1 using Ubuntu oneiric with the ubuntu-omap4-extras package installed:
# First I installed all build dependencies needed
sudo apt-get install openjdk-6-jdk ant git gcc libgl1-mesa-dev libglu1-mesa-dev xorg-dev libice-dev libsm-dev libx11-dev libxext-dev libxxf86vm-dev libxinerama-dev libxrandr-dev libxrender-dev install p7zip-full
# clone the jogamp sourcecode into the machine using git
git clone git://jogamp.org/srv/scm/gluegen.git gluegen
git clone git://jogamp.org/srv/scm/jogl.git jogl
# according to the JOGL build instructions i had to unset CLASSPATH to prevent
# the build to pick up any system installed GlueGen or JOGL files during compilation.
unsetenv CLASSPATH
unset CLASSPATH
cd gluegen/make
# Make sure that TARGET_PLATFORM_LIBS and TARGET_JAVA_LIBS match my
# system, for example to make it build for Ubuntu armhf Precise i had to set:
# export TARGET_PLATFORM_LIBS=/usr/lib/arm-linux-gnueabihf
# export TARGET_JAVA_LIBS=/usr/lib/jvm/default-java/jre/lib/arm
# in the file scripts/make.gluegen.all.linux-armv7.sh
#
sh scripts/make.gluegen.all.linux-armv7.sh
# gluegen BUILD SUCESSFUL
# Next step building of JOGL
cd ../../jogl/make
# Similary here check that TARGET_PLATFORM_LIBS
# and TARGET_JAVA_LIBS are set to match your system
# then start the build.
#
sh scripts/make.jogl.all.linux-armv7.sh
# jogl BUILD SUCESSFUL
# run all the jogl unittests
sh scripts/make.jogl.all.linux-armv7.sh junit.run
#The lock bugs triggers on my pandaboard after running the unittest for about 10 minutes.
The patch http:// www.arm. linux.org. uk/developer/ patches/ viewpatch. php?id= 7178/1 in #10 enables the user to kill the stuck process when this bug triggers but it do not fix the deadlock itself.
Testcase that can reproduce this lock bug using a pandaboard running kernel 3.1 using Ubuntu oneiric with the ubuntu-omap4-extras package installed:
# First I installed all build dependencies needed
sudo apt-get install openjdk-6-jdk ant git gcc libgl1-mesa-dev libglu1-mesa-dev xorg-dev libice-dev libsm-dev libx11-dev libxext-dev libxxf86vm-dev libxinerama-dev libxrandr-dev libxrender-dev install p7zip-full
# clone the jogamp sourcecode into the machine using git org/srv/ scm/gluegen. git gluegen org/srv/ scm/jogl. git jogl
git clone git://jogamp.
git clone git://jogamp.
# according to the JOGL build instructions i had to unset CLASSPATH to prevent
# the build to pick up any system installed GlueGen or JOGL files during compilation.
unsetenv CLASSPATH
unset CLASSPATH
cd gluegen/make PLATFORM_ LIBS and TARGET_JAVA_LIBS match my PLATFORM_ LIBS=/usr/ lib/arm- linux-gnueabihf JAVA_LIBS= /usr/lib/ jvm/default- java/jre/ lib/arm make.gluegen. all.linux- armv7.sh make.gluegen. all.linux- armv7.sh
# Make sure that TARGET_
# system, for example to make it build for Ubuntu armhf Precise i had to set:
# export TARGET_
# export TARGET_
# in the file scripts/
#
sh scripts/
# gluegen BUILD SUCESSFUL
# Next step building of JOGL PLATFORM_ LIBS make.jogl. all.linux- armv7.sh
cd ../../jogl/make
# Similary here check that TARGET_
# and TARGET_JAVA_LIBS are set to match your system
# then start the build.
#
sh scripts/
# jogl BUILD SUCESSFUL
# run all the jogl unittests make.jogl. all.linux- armv7.sh junit.run
sh scripts/
#The lock bugs triggers on my pandaboard after running the unittest for about 10 minutes.