[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help: symlink problems building openjdk-6



Le 03/08/2012 14:36, Thorsten Glaser a écrit :
Hi,

Hi Thorsten,

after doko recommended it to me *way* back then, but only now I’ve
got all of its Build-Depends installable, I’m currently trying to
build src:openjdk-6 (with all references to gcj-4.7 changed back
to gcj-4.6, and, for consistency, the same with gcc/g++ – but this
doesn’t affect the problem) on m68k. Can anyone please help?

I’m running into this issue some hours into the process:

Linking vm...
/usr/bin/ld: cannot open output file libjvm.so: Too many levels of symbolic links

This "Too many levels of symbolic links" is not root cause of failure. In fact, openjdk $(MAKE) is called twice in case of failure [1] (I don't remember exact justification for this...).

In your log file I can see a previous issue during first linker invocation (near line 8970) :

Linking vm...
verifier.o: In function `ClassVerifier::change_sig_to_verificationType(SignatureStream*, VerificationType*, Thread*)': /tmp/buildd/openjdk-6-6b24-1.11.3/build/openjdk-ecj/hotspot/src/share/vm/classfile/verifier.hpp:263:(.text+0x14e): relocation truncated to fit: R_68K_GOT16O against `.LC1'
verifier.o: In function `Verifier::should_verify_for(oopDesc*, bool)':
/tmp/buildd/openjdk-6-6b24-1.11.3/build/openjdk-ecj/hotspot/src/share/vm/classfile/verifier.cpp:87:(.text+0x28c): relocation truncated to fit: R_68K_GOT16O against symbol `BytecodeVerificationLocal' defined in .bss section in globals.o
verifier.o: In function `Verifier::relax_verify_for(oopDesc*)':
/tmp/buildd/openjdk-6-6b24-1.11.3/build/openjdk-ecj/hotspot/src/share/vm/classfile/verifier.cpp:96:(.text+0x2b2): relocation truncated to fit: R_68K_GOT16O against symbol `BytecodeVerificationLocal' defined in .bss section in globals.o verifier.o: In function `Verifier::inference_verify(instanceKlassHandle, char*, unsigned int, Thread*)': /tmp/buildd/openjdk-6-6b24-1.11.3/build/openjdk-ecj/hotspot/src/share/vm/classfile/verifier.cpp:219:(.text+0x438): relocation truncated to fit: R_68K_GOT16O against `.LC5' /tmp/buildd/openjdk-6-6b24-1.11.3/build/openjdk-ecj/hotspot/src/share/vm/classfile/verifier.cpp:231:(.text+0x4e8): relocation truncated to fit: R_68K_GOT16O against `_is_new_verify_byte_codes_fn' /tmp/buildd/openjdk-6-6b24-1.11.3/build/openjdk-ecj/hotspot/src/share/vm/classfile/verifier.cpp:231:(.text+0x5ec): relocation truncated to fit: R_68K_GOT16O against `_is_new_verify_byte_codes_fn'
verifier.o: In function `OrderAccess::release_store(int volatile*, int)':
/tmp/buildd/openjdk-6-6b24-1.11.3/build/openjdk-ecj/hotspot/src/os_cpu/linux_zero/vm/orderAccess_linux_zero.inline.hpp:131:(.text+0x6c4): relocation truncated to fit: R_68K_GOT16O against `_is_new_verify_byte_codes_fn'
verifier.o: In function `verify_byte_codes_fn':
/tmp/buildd/openjdk-6-6b24-1.11.3/build/openjdk-ecj/hotspot/src/share/vm/classfile/verifier.cpp:75:(.text+0x6ca): relocation truncated to fit: R_68K_GOT16O against `.LC3' verifier.o: In function `Verifier::inference_verify(instanceKlassHandle, char*, unsigned int, Thread*)': /tmp/buildd/openjdk-6-6b24-1.11.3/build/openjdk-ecj/hotspot/src/share/vm/classfile/verifier.cpp:219:(.text+0x734): relocation truncated to fit: R_68K_GOT16O against `.LC5' verifier.o: In function `StackMapFrame::push_stack(VerificationType, Thread*)': /tmp/buildd/openjdk-6-6b24-1.11.3/build/openjdk-ecj/hotspot/src/share/vm/classfile/stackMapFrame.hpp:143:(.text+0xb44): relocation truncated to fit: R_68K_GOT16O against `.LC9' verifier.o: In function `StackMapFrame::push_stack_2(VerificationType, VerificationType, Thread*)': /tmp/buildd/openjdk-6-6b24-1.11.3/build/openjdk-ecj/hotspot/src/share/vm/classfile/stackMapFrame.hpp:154:(.text+0xbac): additional relocation overflows omitted from the output
collect2: ld returned 1 exit status


[1] http://bazaar.launchpad.net/~openjdk/openjdk/openjdk6/view/head:/rules#L1111


Reply to: