Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 357651 - =dev-java/icedtea-6.1.10 fails with compile error 'sc' was not declared within this scope
Summary: =dev-java/icedtea-6.1.10 fails with compile error 'sc' was not declared withi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: icedtea-tracker
  Show dependency tree
 
Reported: 2011-03-06 14:26 UTC by Alex Buell
Modified: 2015-08-21 07:28 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,1.16 MB, text/plain)
2011-03-06 14:27 UTC, Alex Buell
Details
environment (environment,167.50 KB, text/plain)
2011-03-06 14:28 UTC, Alex Buell
Details
emerge --info =dev-java/icedtea-6.1.10 (info,4.38 KB, text/plain)
2011-03-06 14:28 UTC, Alex Buell
Details
emerge -pqv =dev-java/icedtea-6.1.10 (pqv,166 bytes, text/plain)
2011-03-06 14:29 UTC, Alex Buell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Buell 2011-03-06 14:26:08 UTC
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
Comment 1 Alex Buell 2011-03-06 14:27:12 UTC
Created attachment 264943 [details]
build.log
Comment 2 Alex Buell 2011-03-06 14:28:00 UTC
Created attachment 264945 [details]
environment
Comment 3 Alex Buell 2011-03-06 14:28:31 UTC
Created attachment 264947 [details]
emerge --info =dev-java/icedtea-6.1.10
Comment 4 Alex Buell 2011-03-06 14:29:21 UTC
Created attachment 264949 [details]
emerge -pqv =dev-java/icedtea-6.1.10
Comment 5 Alex Buell 2011-03-08 00:41:51 UTC
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.
Comment 6 Alex Buell 2011-03-09 01:30:54 UTC
I still can't bootstrap 6.1.10 with 6.1.9.7, it still generates the errors as seen in the logs.
Comment 7 Miroslav Šulc gentoo-dev 2011-10-19 14:19:57 UTC
is this bug still valid with latest icedtea?
Comment 8 Alex Buell 2011-10-19 14:50:44 UTC
(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.
Comment 9 Miroslav Šulc gentoo-dev 2011-10-19 14:55:37 UTC
(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.
Comment 10 Ralph Sennhauser (RETIRED) gentoo-dev 2012-06-10 14:16:37 UTC
Please test building icedtea-7.2.2 using gcj-jdk and then building itself. Thanks.
Comment 11 Patrice Clement gentoo-dev 2015-08-21 07:28:45 UTC
Marking this bug as FIXED.