Hi again Dan
> For now, could you try running the above commands (setting LAX_DEBUG,
using -i console, and logging output with tee, adding set -x to the
scripts)? See if anything strange pops out of there.
Well, I did find something strange. I ran
bash -x ./LinuxInstaller.bin 2>&1 | tee ~/LinuxInstaller.bin.out
and examined the log. In there (at about line 1250) was the following:
+ debugOut 'checking for NPTL + JVM vulernability...'
+ case "$LAX_DEBUG" in
+ echo 'checking for NPTL + JVM vulernability...'
++ strings /lib/libc.so.6
++ grep -i nptl
+ nptl='NPTL 2.3.4
../nptl/sysdeps/unix/sysv/linux/i386/../fork.c'
+ '[' 'NPTL 2.3.4
../nptl/sysdeps/unix/sysv/linux/i386/../fork.c' ']'
+ debugOut 'NPTL detected! checking for vulnerable JVM....'
+ case "$LAX_DEBUG" in
+ echo 'NPTL detected! checking for vulnerable JVM....'
+ export LD_ASSUME_KERNEL=2.2.5
+ LD_ASSUME_KERNEL=2.2.5
++ /tmp/install.dir.5028/Linux/resource/jre/bin/java -version
++ awk '
BEGIN {
vendor="Sun"
}
/"[0-9]\.[0-9]\.[0-9][^"]*"$/ {
gsub ("[\"]", "", $3)
split ($3, ver, "[\._-]")
printf
"v_major=%s\nv_minor=%s\nv_patch=%s\n",ve
r[1],ver[2],ver[3]
}
/IBM/ {
vendor="IBM"
}
END {
printf "v_vendor=%s\n",vendor
}
'
awk: error while loading shared libraries: libdl.so.2: cannot open
shared object
file: No such file or directory
+ eval
+ unset LD_ASSUME_KERNEL
+ debugOut 'major : '
+ case "$LAX_DEBUG" in
+ echo 'major : '
+ debugOut 'minor : '
+ case "$LAX_DEBUG" in
+ echo 'minor : '
+ debugOut 'patch : '
+ case "$LAX_DEBUG" in
+ echo 'patch : '
+ debugOut 'vendor: '
+ case "$LAX_DEBUG" in
+ echo 'vendor: '
+ '[' 0 -lt 4 ']'
+ debugOut 'Vulnerable JVM detected... implementing workaround'
+ case "$LAX_DEBUG" in
+ echo 'Vulnerable JVM detected... implementing workaround'
+ linux_LD_ASSUME_KERNEL_hack=1
+ '[' 1 -eq 1 ']'
+ LD_ASSUME_KERNEL=2.2.5
+ export LD_ASSUME_KERNEL
So, it would seem that the version of Java VM which Maple ships with has
issues with newer versions of NPTL, and they employ a work-around which
makes my linker fall over.
I'll try commenting out this final export line and see what happens...
Dave
8o)
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page