First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 85029
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Stefan Jones (RETIRED) <cretin@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: ronny abraham <ronny.coder@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
sun-j2sdk-1.5.0.txt.bz2 Compleate log of "ebuild sun-j2sdk-1.5.0.ebuild install" application/octet-stream Thomas Schweikle 2005-04-20 08:07 0000 9.27 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 85029 depends on: Show dependency tree
Bug 85029 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-03-12 18:18 0000
When I tried:  ACCEPT_KEYWORDS="~x86" emerge j2sdk  -- I got the following
error

mic_linux_i486.inline.hpp: In function `jboolean JVM_CX8Field(JNIEnv*,
_jobject*, _jfieldID*, jlong, jlong)':
/var/tmp/portage/sun-j2sdk-1.5.0/work/j2sdk/hotspot/src/os_cpu/linux_i486/vm/atomic_linux_i486.inline.hpp:114:
error: PIC register `%ebx' clobbered in `asm'
make[4]: *** [jvm.o] Error 1
make[4]: *** Waiting for unfinished jobs....
Done with ../generated/jvmtifiles/jvmdiEnter.cpp
make[4]: Leaving directory
`/var/tmp/portage/sun-j2sdk-1.5.0/work/j2sdk/control/build/linux-i586/hotspot-i586/tmp/linux_i486_compiler2/product'
make[3]: *** [the_vm] Error 2
make[3]: Leaving directory
`/var/tmp/portage/sun-j2sdk-1.5.0/work/j2sdk/control/build/linux-i586/hotspot-i586/tmp/linux_i486_compiler2/product'
make[2]: *** [product] Error 2
make[2]: Leaving directory
`/var/tmp/portage/sun-j2sdk-1.5.0/work/j2sdk/control/build/linux-i586/hotspot-i586/tmp'
make[1]: *** [product] Error 2
make[1]: Leaving directory
`/var/tmp/portage/sun-j2sdk-1.5.0/work/j2sdk/control/make'
make: *** [scsl-build] Error 2

!!! ERROR: dev-java/sun-j2sdk-1.5.0 failed.
!!! Function src_compile, Line 113, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message. 

Reproducible: Always
Steps to Reproduce:
1. my-machine# ACCEPT_KEYWORDS="~x86" emerge j2sdk
Actual Results:  
got the following error message:

mic_linux_i486.inline.hpp: In function `jboolean JVM_CX8Field(JNIEnv*,
_jobject*, _jfieldID*, jlong, jlong)':
/var/tmp/portage/sun-j2sdk-1.5.0/work/j2sdk/hotspot/src/os_cpu/linux_i486/vm/atomic_linux_i486.inline.hpp:114:
error: PIC register `%ebx' clobbered in `asm'
make[4]: *** [jvm.o] Error 1
make[4]: *** Waiting for unfinished jobs....
Done with ../generated/jvmtifiles/jvmdiEnter.cpp
make[4]: Leaving directory
`/var/tmp/portage/sun-j2sdk-1.5.0/work/j2sdk/control/build/linux-i586/hotspot-i586/tmp/linux_i486_compiler2/product'
make[3]: *** [the_vm] Error 2
make[3]: Leaving directory
`/var/tmp/portage/sun-j2sdk-1.5.0/work/j2sdk/control/build/linux-i586/hotspot-i586/tmp/linux_i486_compiler2/product'
make[2]: *** [product] Error 2
make[2]: Leaving directory
`/var/tmp/portage/sun-j2sdk-1.5.0/work/j2sdk/control/build/linux-i586/hotspot-i586/tmp'
make[1]: *** [product] Error 2
make[1]: Leaving directory
`/var/tmp/portage/sun-j2sdk-1.5.0/work/j2sdk/control/make'
make: *** [scsl-build] Error 2

!!! ERROR: dev-java/sun-j2sdk-1.5.0 failed.
!!! Function src_compile, Line 113, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message

Expected Results:  
compiled my jdk!!!

------- Comment #1 From Jan Brinkmann (RETIRED) 2005-03-13 06:03:08 0000 -------
as you wanted to maintain it, you also have to fix it's bugs =)

------- Comment #2 From Thomas Schweikle 2005-04-20 06:53:24 0000 -------
I have the same problem, but a different error:
yew sun-j2sdk # ebuild sun-j2sdk-1.5.0.ebuild install
[...]
gcc -DLINUX -D_GNU_SOURCE -DIA32 -DPRODUCT -I../generated/adfiles -I../generated/jvmtifiles -I/var/tmp/portage/sun-j2sdk-1.5.0/work/j2sdk/hotspot/src/share/vm/asm -I/var/tmp/portage/sun-j2sdk-1.5.0/work/j2sdk/hotspot/src/share/vm/ci -I/var/tmp/portage/sun-j2sdk-1.5.0/work/j2sdk/hotspot/src/share/vm/code -I/var/tmp/portage/sun-j2sdk-1.5.0/work/j2sdk/hotspot/src/share/vm/compiler -I/var/tmp/portage/sun-j2sdk-1.5.0/work/j2sdk/hotspot/src/share/vm/gc_implementation -I/var/tmp/portage/sun-j2sdk-1.5.0/work/j2sdk/hotspot/src/share/vm/gc_implementation/parallelScavenge -I/var/tmp/portage/sun-j2sdk-1.5.0/work/j2sdk/hotspot/src/share/vm/gc_implementation/shared -I/var/tmp/portage/sun-j2sdk-1.5.0/work/j2sdk/hotspot/src/share/vm/gc_interface -I/var/tmp/portage/sun-j2sdk-1.5.0/work/j2sdk/hotspot/src/share/vm/interpreter -I/var/tmp/portage/sun-j2sdk-1.5.0/work/j2sdk/hotspot/src/share/vm/libadt -I/var/tmp/portage/sun-j2sdk-1.5.0/work/j2sdk/hotspot/src/share/vm/memory -I/var/tmp/portage/sun-j2sdk-1.5.0/work/j2sdk/hotspot/src/share/vm/oops -I/var/tmp/portage/sun-j2sdk-1.5.0/work/j2sdk/hotspot/src/share/vm/opto -I/var/tmp/portage/sun-j2sdk-1.5.0/work/j2sdk/hotspot/src/share/vm/prims -I/var/tmp/portage/sun-j2sdk-1.5.0/work/j2sdk/hotspot/src/share/vm/runtime -I/var/tmp/portage/sun-j2sdk-1.5.0/work/j2sdk/hotspot/src/share/vm/services -I/var/tmp/portage/sun-j2sdk-1.5.0/work/j2sdk/hotspot/src/share/vm/utilities -I/var/tmp/portage/sun-j2sdk-1.5.0/work/j2sdk/hotspot/src/cpu/i486/vm -I/var/tmp/portage/sun-j2sdk-1.5.0/work/j2sdk/hotspot/src/os/linux/vm -I/var/tmp/portage/sun-j2sdk-1.5.0/work/j2sdk/hotspot/src/os_cpu/linux_i486/vm -I../generated -DHOTSPOT_BUILD_VERSION="1.5.0-gentoo-1113997397" -DCOMPILER2 -O3 -fno-strict-aliasing -DOPTO -DHOTSPOT_BUILD_USER=root -fPIC -Winline -fno-rtti -fno-exceptions -D_REENTRANT -pipe -fcheck-new -DVM_LITTLE_ENDIAN -march=i586 -w -c /var/tmp/portage/sun-j2sdk-1.5.0/work/j2sdk/hotspot/src/share/vm/prims/jvm.cpp
/var/tmp/portage/sun-j2sdk-1.5.0/work/j2sdk/hotspot/src/os_cpu/linux_i486/vm/atomic_linux_i486.inline.hpp: In function `jboolean JVM_CX8Field(JNIEnv*, _jobject*, _jfieldID*, jlong, jlong)':
/var/tmp/portage/sun-j2sdk-1.5.0/work/j2sdk/hotspot/src/os_cpu/linux_i486/vm/atomic_linux_i486.inline.hpp:114: error: PIC register `%ebx' clobbered in `asm'
make[4]: *** [jvm.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/sun-j2sdk-1.5.0/work/j2sdk/control/build/linux-i586/hotspot-i586/tmp/linux_i486_compiler2/product'
make[3]: *** [the_vm] Error 2
make[3]: Leaving directory `/var/tmp/portage/sun-j2sdk-1.5.0/work/j2sdk/control/build/linux-i586/hotspot-i586/tmp/linux_i486_compiler2/product'
make[2]: *** [product] Error 2
make[2]: Leaving directory `/var/tmp/portage/sun-j2sdk-1.5.0/work/j2sdk/control/build/linux-i586/hotspot-i586/tmp'
make[1]: *** [product] Error 2
make[1]: Leaving directory `/var/tmp/portage/sun-j2sdk-1.5.0/work/j2sdk/control/make'
make: *** [scsl-build] Error 2

!!! ERROR: dev-java/sun-j2sdk-1.5.0 failed.
!!! Function src_compile, Line 113, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

Could it be there are problems with the compiler or make used?
yew sun-j2sdk # gcc --version
gcc (GCC) 3.4.3 20041125 (Gentoo Linux 3.4.3-r1, ssp-3.4.3-0, pie-8.7.7)

yew root # make --version
GNU Make 3.80

------- Comment #3 From Thomas Schweikle 2005-04-20 08:07:37 0000 -------
Created an attachment (id=56758) [edit]
Compleate log of "ebuild sun-j2sdk-1.5.0.ebuild install"

------- Comment #4 From Stefan Jones (RETIRED) 2005-04-20 08:44:22 0000 -------
Ok, these should not bee too difficult to fix.

I assume it works with gcc-3.3 (which is what I used when I made the ebuild)
Just now need to try gcc-3.4 ......

------- Comment #5 From Stefan Jones (RETIRED) 2005-04-21 16:18:45 0000 -------
Updated the java patches in portage so that it also compiles with gcc-3.4
Have tested it locally.

Will close bug, please reopen if it is not fixed (should be fixed .... )

------- Comment #6 From Thomas Schweikle 2005-04-24 23:46:26 0000 -------
Yes -- fixed. Compiles now. Applications I've tested:
- tvbrowser (http://tvbrowser.sourceforge.net)
- ldapbrowser (http://www-unix.mcs.anl.gov/~gawor/ldap/)

Both running without errors. sun-j2sdk-1.5.0 is significantly faster than sun-j2sdk-1.4.2.

First Last Prev Next    No search results available      Search page      Enter new bug