-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dan Nicholson wrote: > On 10/31/06, Arnie Stender <[EMAIL PROTECTED]> wrote: >> >> After the recent thread on JDK I decided I would make an attempt at >> getting it running. The BLFS page looks like it is mainly aimed at i386. > > This is definitely true. I have no idea if there are 64 bit only > patches needed, but I wouldn't be surprised. > >> /usr/src/secondary/jdk-build/hotspot/src/share/vm/runtime/os.hpp:325: >> error: extra qualification 'os::' on member 'exception_name' > > These "extra qualification" issues are because of gcc-4.1. There's a > patch in the repo, it just hasn't gotten into the book yet. > > http://www.linuxfromscratch.org/patches/downloads/jdk/jdk-1.5.0_08-gcc4-2.patch > > > -- > Dan Hi Dan, Thanks! I couldn't sleep so I decided to come up and bang my head against the wall for a while to tire me out enough to dose off. :-) Well, As I said I am not all with it right now but it looks to me like quite a number of the patches said they had already been applied. The make did do more work before exiting so I'm thinking that the patch fixed at least some of the problem areas but it still exited with errors that look very similar to those before. Is it possible the patch didn't fix everything that needed fixing or maybe what's left is related to the 64 bit problem? I didn't scroll back to the beginning of the make last time. There are a number of disturbing messages when it first starts like it can't find a GNU CC in /usr/bin but it runs gcc which is in /usr/bin/gcc?? It also says I should not be using INSANE mode which the book says to set. It then says "INSANE mode requested. Sanity will not force a build termination, even with errors." but it does in fact exit on errors. It looks like it was originally designed to build on SuSE enterprise 8.1 so it thinks I should have a 2.4.* kernel but it sees that I have a 2.6.18. Finally, it says I need a proper bootstrapping environment which is "J2SDK 1.4.2 (or later)" but it knows I have "1.5.0_09" and says I should update it. Are these the errors the note said to ignore?? Oh well, here is what stopped it this time.
Arnie Compiling ../generated/adfiles/ad_amd64_clone.cpp gcc -DLINUX -D_GNU_SOURCE -DAMD64 -DPRODUCT -I../generated/adfiles - -I../generated/jvmtifiles - -I/usr/src/secondary/jdk-build/hotspot/src/share/vm/asm - -I/usr/src/secondary/jdk-build/hotspot/src/share/vm/ci - -I/usr/src/secondary/jdk-build/hotspot/src/share/vm/code - -I/usr/src/secondary/jdk-build/hotspot/src/share/vm/compiler - -I/usr/src/secondary/jdk-build/hotspot/src/share/vm/gc_implementation - -I/usr/src/secondary/jdk-build/hotspot/src/share/vm/gc_implementation/parallelScavenge - -I/usr/src/secondary/jdk-build/hotspot/src/share/vm/gc_implementation/shared - -I/usr/src/secondary/jdk-build/hotspot/src/share/vm/gc_interface - -I/usr/src/secondary/jdk-build/hotspot/src/share/vm/interpreter - -I/usr/src/secondary/jdk-build/hotspot/src/share/vm/libadt - -I/usr/src/secondary/jdk-build/hotspot/src/share/vm/memory - -I/usr/src/secondary/jdk-build/hotspot/src/share/vm/oops - -I/usr/src/secondary/jdk-build/hotspot/src/share/vm/opto - -I/usr/src/secondary/jdk-build/hotspot/src/share/vm/prims - -I/usr/src/secondary/jdk-build/hotspot/src/share/vm/runtime - -I/usr/src/secondary/jdk-build/hotspot/src/share/vm/services - -I/usr/src/secondary/jdk-build/hotspot/src/share/vm/utilities - -I/usr/src/secondary/jdk-build/hotspot/src/cpu/amd64/vm - -I/usr/src/secondary/jdk-build/hotspot/src/os/linux/vm - -I/usr/src/secondary/jdk-build/hotspot/src/os_cpu/linux_amd64/vm - -I../generated -DHOTSPOT_BUILD_VERSION="1.5.0-internal-update-7" - -DCOMPILER2 -O3 -fno-strict-aliasing -DOPTO - -DHOTSPOT_BUILD_USER=astender -fPIC -Winline -fno-rtti -fno-exceptions - -D_REENTRANT -pipe -fcheck-new -DVM_LITTLE_ENDIAN -D_LP64=1 - -fno-omit-frame-pointer -w -ffriend-injection -c ../generated/adfiles/ad_amd64_clone.cpp /usr/src/secondary/jdk-build/hotspot/src/cpu/amd64/vm/frame_amd64.hpp:130: error: extra qualification 'frame::' on member 'native_param_addr' /usr/src/secondary/jdk-build/hotspot/src/cpu/amd64/vm/frame_amd64.hpp:130: error: extra qualification 'frame::' on member 'native_param_addr' /usr/src/secondary/jdk-build/hotspot/src/share/vm/runtime/thread.hpp:1521: error: extra qualification 'Threads::' on member 'jvmpi_fab_heavy_monitors' /usr/src/secondary/jdk-build/hotspot/src/share/vm/runtime/thread.hpp:1521: error: extra qualification 'Threads::' on member 'jvmpi_fab_heavy_monitors' make[3]: *** [accessFlags.o] Error 1 make[3]: *** Waiting for unfinished jobs.... /usr/src/secondary/jdk-build/hotspot/src/cpu/amd64/vm/frame_amd64.hpp:130: error: extra qualification 'frame::' on member 'native_param_addr' /usr/src/secondary/jdk-build/hotspot/src/share/vm/runtime/thread.hpp:1521: error: extra qualification 'Threads::' on member 'jvmpi_fab_heavy_monitors' make[3]: *** [ad_amd64_clone.o] Error 1 make[3]: *** [ad_amd64.o] Error 1 make[3]: Leaving directory `/usr/src/secondary/jdk-build/control/build/linux-amd64/hotspot-amd64/tmp/linux_amd64_compiler2/product' make[2]: *** [the_vm] Error 2 make[2]: Leaving directory `/usr/src/secondary/jdk-build/control/build/linux-amd64/hotspot-amd64/tmp/linux_amd64_compiler2/product' make[1]: *** [product] Error 2 make[1]: Leaving directory `/usr/src/secondary/jdk-build/control/build/linux-amd64/hotspot-amd64/tmp' make: *** [product] Error 2 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFSD7WI9lqJPlLBqQRAljFAKCF0dAxX806Co8kPWqrE0rVkgDA7ACfV8Ep hLrmuu3JTYUzN0d0xDJeN00= =Qbxc -----END PGP SIGNATURE----- -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page