Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
alpha: gcj fails to compile
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
alex.blackbit
Advocate
Advocate


Joined: 26 Jul 2005
Posts: 2395

PostPosted: Sun Jun 03, 2007 11:49 am    Post subject: alpha: gcj fails to compile Reply with quote

hello everybody!

on my 164lx i cannot emerge gcc with gcj enabled.
Code:
/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/gcc/gcj -B/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/alpha-unknown-linux-gnu/libjava/ -B/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/gcc/ -mieee -fclasspath= -fbootclasspath=/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/alpha-unknown-linux-gnu/libjava/classpath/lib --encoding=UTF-8 -Wno-deprecated -fbootstrap-classes -mieee -O2 -mcpu=ev56 -c -MT org/ietf/jgss.lo -MD -MP -MF org/ietf/jgss.deps @org/ietf/jgss.list -fPIC -o org/ietf/.libs/jgss.o
/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/gcc/gcj -B/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/alpha-unknown-linux-gnu/libjava/ -B/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/gcc/ -mieee -fclasspath= -fbootclasspath=/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/alpha-unknown-linux-gnu/libjava/classpath/lib --encoding=UTF-8 -Wno-deprecated -fbootstrap-classes -mieee -O2 -mcpu=ev56 -c -MT org/ietf/jgss.lo -MD -MP -MF org/ietf/jgss.deps @org/ietf/jgss.list -o org/ietf/jgss.o >/dev/null 2>&1
/bin/sh ./libtool --mode=compile /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/gcc/gcj -B/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/alpha-unknown-linux-gnu/libjava/ -B/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/gcc/ -mieee -fclasspath= -fbootclasspath=/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/alpha-unknown-linux-gnu/libjava/classpath/lib --encoding=UTF-8 -Wno-deprecated -fbootstrap-classes -mieee -O2 -mcpu=ev56 -fjni -findirect-dispatch -c -o gnu-CORBA.lo @gnu-CORBA.list
/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/gcc/gcj -B/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/alpha-unknown-linux-gnu/libjava/ -B/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/gcc/ -mieee -fclasspath= -fbootclasspath=/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/alpha-unknown-linux-gnu/libjava/classpath/lib --encoding=UTF-8 -Wno-deprecated -fbootstrap-classes -mieee -O2 -mcpu=ev56 -fjni -findirect-dispatch -c @gnu-CORBA.list -fPIC -o .libs/gnu-CORBA.o
gnu/CORBA/CDR/UnknownExceptionCtxHandler.java: In class 'gnu.CORBA.CDR.UnknownExceptionCtxHandler':
gnu/CORBA/CDR/UnknownExceptionCtxHandler.java: In method 'gnu.CORBA.CDR.UnknownExceptionCtxHandler.addExceptionContext(gnu.CORBA.GIOP.ServiceContext[],java.lang.Throwable,java.lang.Object)':
gnu/CORBA/CDR/UnknownExceptionCtxHandler.java:71: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
make[4]: *** [gnu-CORBA.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/alpha-unknown-linux-gnu/libjava'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/alpha-unknown-linux-gnu/libjava'
make[2]: *** [all-target-libjava] Error 2
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build'
make: *** [bootstrap-lean] Error 2

!!! ERROR: sys-devel/gcc-4.1.2 failed.
Call stack:
  ebuild.sh, line 1621:   Called dyn_compile
  ebuild.sh, line 973:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  ebuild.sh, line 1311:   Called toolchain_src_compile
  toolchain.eclass, line 26:   Called gcc_src_compile
  toolchain.eclass, line 1541:   Called gcc_do_make
  toolchain.eclass, line 1415:   Called die

!!! emake failed with bootstrap-lean
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/sys-devel/gcc-4.1.2/temp/build.log'.

axp ~ #
who has an idea what i can do against that?
is it really an error that should be reported to the gcc team?

thanks in advance for your help and
kind regards

--alex
Back to top
View user's profile Send private message
corsair
Retired Dev
Retired Dev


Joined: 06 Oct 2003
Posts: 451
Location: Aachen, Germany

PostPosted: Wed Jun 06, 2007 8:21 pm    Post subject: Reply with quote

I would report this issue upstream (i.e. to the gcc team). unfortunately they want to have you reproduce this issue using an unpatched version of gcc. So you have to look at the ebuild to get the configure options etc. to figure out how to compile gcc and then run those steps manually with an unpatched (i.e. just extract the gcc-4.1.2 sources) version.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum