icedtea-6.1.10 fails to build, in the SPARC specific code. :( g++ -DLINUX -D_GNU_SOURCE -DSPARC -DPRODUCT -I. -I/var/tmp/portage/dev-java/icedtea-6.1.10/work/icedtea6-1.10/openjdk-ecj/hotspot/src/share/vm -I/var/tmp/portage/dev-java/icedtea-6.1.10/work/icedtea6-1.10/openjdk-ecj/hotspot/src/share/vm/prims -I/var/tmp/portage/dev-java/icedtea-6.1.10/work/icedtea6-1.10/openjdk-ecj/hotspot/src/cpu/sparc/vm -I/var/tmp/portage/dev-java/icedtea-6.1.10/work/icedtea6-1.10/openjdk-ecj/hotspot/src/os/linux/vm -I/var/tmp/portage/dev-java/icedtea-6.1.10/work/icedtea6-1.10/openjdk-ecj/hotspot/src/os_cpu/linux_sparc/vm -I../generated -DHOTSPOT_RELEASE_VERSION="\"20.0-b10\"" -DHOTSPOT_BUILD_TARGET="\"product\"" -DHOTSPOT_BUILD_USER="\"root\"" -DHOTSPOT_LIB_ARCH=\"sparc\" -DJRE_RELEASE_VERSION="\"1.6.0_22-b22\"" -DHOTSPOT_VM_DISTRO="\"OpenJDK\"" -DDERIVATIVE_ID="\"IcedTea6 1.10\"" -DDISTRIBUTION_ID="\"Built on Gentoo Base System release 2.0.1 (Sun Mar 6 12:50:34 GMT 2011)\"" -O2 -mcpu=ultrasparc3 -mvis -pipe -ggdb3 -DTARGET_OS_FAMILY_linux -DTARGET_ARCH_sparc -DTARGET_ARCH_MODEL_sparc -DTARGET_OS_ARCH_linux_sparc -DTARGET_OS_ARCH_MODEL_linux_sparc -DTARGET_COMPILER_gcc -DCOMPILER2 -DCOMPILER1 -fno-rtti -fno-exceptions -D_REENTRANT -fcheck-new -m32 -mcpu=v9 -pipe -g -DTARGET_OS_FAMILY_linux -DTARGET_ARCH_sparc -DTARGET_ARCH_MODEL_sparc -DTARGET_OS_ARCH_linux_sparc -DTARGET_OS_ARCH_MODEL_linux_sparc -DTARGET_COMPILER_gcc -DCOMPILER2 -DCOMPILER1 -fPIC -fno-rtti -fno-exceptions -D_REENTRANT -fcheck-new -m32 -mcpu=v9 -pipe -g -O3 -fno-strict-aliasing -Werror -Wpointer-arith -Wsign-compare -c -MMD -MP -MF ../generated/dependencies/parGCAllocBuffer.o.d -o parGCAllocBuffer.o /var/tmp/portage/dev-java/icedtea-6.1.10/work/icedtea6-1.10/openjdk-ecj/hotspot/src/share/vm/gc_implementation/parNew/parGCAllocBuffer.cpp /var/tmp/portage/dev-java/icedtea-6.1.10/work/icedtea6-1.10/openjdk-ecj/hotspot/src/os_cpu/linux_sparc/vm/os_linux_sparc.cpp: In static member function 'static void os::print_register_info(outputStream*, void*)': /var/tmp/portage/dev-java/icedtea-6.1.10/work/icedtea6-1.10/openjdk-ecj/hotspot/src/os_cpu/linux_sparc/vm/os_linux_sparc.cpp:318: error: 'sc' was not declared in this scope /var/tmp/portage/dev-java/icedtea-6.1.10/work/icedtea6-1.10/openjdk-ecj/hotspot/src/os_cpu/linux_sparc/vm/os_linux_sparc.cpp:318: error: 'CON__G1' was not declared in this scope /var/tmp/portage/dev-java/icedtea-6.1.10/work/icedtea6-1.10/openjdk-ecj/hotspot/src/os_cpu/linux_sparc/vm/os_linux_sparc.cpp:319: error: 'CON__G2' was not declared in this scope /var/tmp/portage/dev-java/icedtea-6.1.10/work/icedtea6-1.10/openjdk-ecj/hotspot/src/os_cpu/linux_sparc/vm/os_linux_sparc.cpp:320: error: 'CON__G3' was not declared in this scope /var/tmp/portage/dev-java/icedtea-6.1.10/work/icedtea6-1.10/openjdk-ecj/hotspot/src/os_cpu/linux_sparc/vm/os_linux_sparc.cpp:321: error: 'CON__G4' was not declared in this scope /var/tmp/portage/dev-java/icedtea-6.1.10/work/icedtea6-1.10/openjdk-ecj/hotspot/src/os_cpu/linux_sparc/vm/os_linux_sparc.cpp:322: error: 'CON__G5' was not declared in this scope /var/tmp/portage/dev-java/icedtea-6.1.10/work/icedtea6-1.10/openjdk-ecj/hotspot/src/os_cpu/linux_sparc/vm/os_linux_sparc.cpp:323: error: 'CON__G6' was not declared in this scope /var/tmp/portage/dev-java/icedtea-6.1.10/work/icedtea6-1.10/openjdk-ecj/hotspot/src/os_cpu/linux_sparc/vm/os_linux_sparc.cpp:324: error: 'CON__G7' was not declared in this scope /var/tmp/portage/dev-java/icedtea-6.1.10/work/icedtea6-1.10/openjdk-ecj/hotspot/src/os_cpu/linux_sparc/vm/os_linux_sparc.cpp:327: error: 'CON__O0' was not declared in this scope /var/tmp/portage/dev-java/icedtea-6.1.10/work/icedtea6-1.10/openjdk-ecj/hotspot/src/os_cpu/linux_sparc/vm/os_linux_sparc.cpp:328: error: 'CON__O1' was not declared in this scope /var/tmp/portage/dev-java/icedtea-6.1.10/work/icedtea6-1.10/openjdk-ecj/hotspot/src/os_cpu/linux_sparc/vm/os_linux_sparc.cpp:329: error: 'CON__O2' was not declared in this scope /var/tmp/portage/dev-java/icedtea-6.1.10/work/icedtea6-1.10/openjdk-ecj/hotspot/src/os_cpu/linux_sparc/vm/os_linux_sparc.cpp:330: error: 'CON__O3' was not declared in this scope /var/tmp/portage/dev-java/icedtea-6.1.10/work/icedtea6-1.10/openjdk-ecj/hotspot/src/os_cpu/linux_sparc/vm/os_linux_sparc.cpp:331: error: 'CON__O4' was not declared in this scope /var/tmp/portage/dev-java/icedtea-6.1.10/work/icedtea6-1.10/openjdk-ecj/hotspot/src/os_cpu/linux_sparc/vm/os_linux_sparc.cpp:332: error: 'CON__O5' was not declared in this scope /var/tmp/portage/dev-java/icedtea-6.1.10/work/icedtea6-1.10/openjdk-ecj/hotspot/src/os_cpu/linux_sparc/vm/os_linux_sparc.cpp:333: error: 'CON__O6' was not declared in this scope /var/tmp/portage/dev-java/icedtea-6.1.10/work/icedtea6-1.10/openjdk-ecj/hotspot/src/os_cpu/linux_sparc/vm/os_linux_sparc.cpp:334: error: 'CON__O7' was not declared in this scope distcc[23691] ERROR: compile /var/tmp/portage/dev-java/icedtea-6.1.10/work/icedtea6-1.10/openjdk-ecj/hotspot/src/os_cpu/linux_sparc/vm/os_linux_sparc.cpp on localhost failed make[7]: *** [os_linux_sparc.o] Error 1
Created attachment 264943 [details] build.log
Created attachment 264945 [details] environment
Created attachment 264947 [details] emerge --info =dev-java/icedtea-6.1.10
Created attachment 264949 [details] emerge -pqv =dev-java/icedtea-6.1.10
Please DO NOT remove icedtea 6.1.9.7-r1 from the tree, it builds just fine with the ecj-gcj bootstrap kit. You can then use that to build icedtea 6.1.10.
I still can't bootstrap 6.1.10 with 6.1.9.7, it still generates the errors as seen in the logs.
is this bug still valid with latest icedtea?
(In reply to comment #5) > Please DO NOT remove icedtea 6.1.9.7-r1 from the tree, it builds just fine with > the ecj-gcj bootstrap kit. You can then use that to build icedtea 6.1.10. *sigh* I did ask for 6.1.9.7 not to be removed from the tree as it is the only version that can build on SPARC. I have not had the time to test 6.1.10.3 yet.
(In reply to comment #8) > (In reply to comment #5) > > Please DO NOT remove icedtea 6.1.9.7-r1 from the tree, it builds just fine with > > the ecj-gcj bootstrap kit. You can then use that to build icedtea 6.1.10. > > *sigh* > > I did ask for 6.1.9.7 not to be removed from the tree as it is the only version > that can build on SPARC. I have not had the time to test 6.1.10.3 yet. there is 6.1.9.10 still in java overlay. anyway, in case this one (nor the newer ones) does not work for you, we can resurrect 6.1.9.7.
Please test building icedtea-7.2.2 using gcj-jdk and then building itself. Thanks.
Marking this bug as FIXED.