FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Java

 
 
LinkBack Thread Tools
 
Old 05-09-2012, 08:11 PM
Alan Hourihane
 
Default gcj-4.7 still FTBFS on m68k (was gcj cannot find ecj any more, on m68k)

On 05/09/12 19:58, Thorsten Glaser wrote:
> Dixi quod…
>
>> gcj-4.7 FTBFS’d the last time I tried to build it, but as of writing
>> this I’ve started to try to compile its latest version, since there
> Too bad, still fails:
>
> […]
> mv -f $depbase.Tpo $depbase.Plo
> libtool: compile: /tmp/buildd/gcj-4.7-4.7.0/build/./gcc/xgcc -shared-libgcc -B/tmp/buildd/gcj-4.7-4.7.0/build/./gcc -nostdinc++ -L/tmp/buildd/gcj-4.7-4.7.0/build/m68k-linux-gnu/libstdc++-v3/src -L/tmp/buildd/gcj-4.7-4.7.0/build/m68k-linux-gnu/libstdc++-v3/src/.libs -B/usr/m68k-linux-gnu/bin/ -B/usr/m68k-linux-gnu/lib/ -isystem /usr/m68k-linux-gnu/include -isystem /usr/m68k-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I../../../src/libjava -I./include -I./gcj -I../../../src/libjava -Iinclude -I../../../src/libjava/include -I../../../src/libjava/classpath/include -Iclasspath/include -I../../../src/libjava/classpath/native/fdlibm -I../../../src/libjava/../boehm-gc/include -I../boehm-gc/include -I../../../src/libjava/libltdl -I../../../src/libjava/libltdl -I../../../src/libjava/.././libjava/../libgcc -I../../../src/libjava/../libffi/include -I../libffi/include -fno-rtti -fnon-call-exceptions -fdollars-in-identifiers -Wswitch-enum -D_FILE_OFFSET_BITS=64 -Wextra -Wall -D_GNU_SOURCE -DPREFIX="/usr" -DMULTIARCH_DIR="m68k-linux-gnu" -DTOOLEXECLIBDIR="/usr/lib/m68k-linux-gnu" -DJAVA_HOME="/usr/lib/jvm/java-1.5.0-gcj-4.7/jre" -DBOOT_CLASS_PATH="/usr/lib/jvm/java-1.5.0-gcj-4.7/jre/lib/rt.jar" -DJAVA_EXT_DIRS="/usr/share/java/ext" -DGCJ_ENDORSED_DIRS="/usr/share/java/gcj-endorsed" -DGCJ_VERSIONED_LIBDIR="/usr/lib/m68k-linux-gnu/gcj-4.7-13" -DPATH_SEPARATOR=":" -DECJ_JAR_FILE="/usr/share/java/eclipse-ecj.jar" -DLIBGCJ_DEFAULT_DATABASE="/var/lib/m68k-linux-gnu/gcj-4.7/classmap.db" -DLIBGCJ_DEFAULT_DATABASE_PATH_TAIL="gcj-4.7-13/classmap.db" -g -O2 -D_GNU_SOURCE -MT jvmti.lo -MD -MP -MF .deps/jvmti.Tpo -c ../../../src/libjava/jvmti.cc -fPIC -DPIC -o .libs/jvmti.o
> depbase=`echo interpret.lo | sed 's|[^/]*$|.deps/&|;s|.lo$||'`;
> /bin/bash ./libtool --tag=CXX --mode=compile /tmp/buildd/gcj-4.7-4.7.0/build/./gcc/xgcc -shared-libgcc -B/tmp/buildd/gcj-4.7-4.7.0/build/./gcc -nostdinc++ -L/tmp/buildd/gcj-4.7-4.7.0/build/m68k-linux-gnu/libstdc++-v3/src -L/tmp/buildd/gcj-4.7-4.7.0/build/m68k-linux-gnu/libstdc++-v3/src/.libs -B/usr/m68k-linux-gnu/bin/ -B/usr/m68k-linux-gnu/lib/ -isystem /usr/m68k-linux-gnu/include -isystem /usr/m68k-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I../../../src/libjava -I./include -I./gcj -I../../../src/libjava -Iinclude -I../../../src/libjava/include -I../../../src/libjava/classpath/include -Iclasspath/include -I../../../src/libjava/classpath/native/fdlibm -I../../../src/libjava/../boehm-gc/include -I../boehm-gc/include -I../../../src/libjava/libltdl -I../../../src/libjava/libltdl -I../../../src/libjava/.././libjava/../libgcc -I../../../src/libjava/../libffi/include -I../libffi/include -fno-rtti -fnon-call-exceptions -fdollars-in-identifiers -Wswitch-enum -D_FILE_OFFSET_BITS=64 -Wextra -Wall -D_GNU_SOURCE -DPREFIX=""/usr"" -DMULTIARCH_DIR=""m68k-linux-gnu"" -DTOOLEXECLIBDIR=""/usr/lib/m68k-linux-gnu"" -DJAVA_HOME=""/usr/lib/jvm/java-1.5.0-gcj-4.7/jre"" -DBOOT_CLASS_PATH=""/usr/lib/jvm/java-1.5.0-gcj-4.7/jre/lib/rt.jar"" -DJAVA_EXT_DIRS=""/usr/share/java/ext"" -DGCJ_ENDORSED_DIRS=""/usr/share/java/gcj-endorsed"" -DGCJ_VERSIONED_LIBDIR=""/usr/lib/m68k-linux-gnu/gcj-4.7-13"" -DPATH_SEPARATOR="":"" -DECJ_JAR_FILE=""/usr/share/java/eclipse-ecj.jar"" -DLIBGCJ_DEFAULT_DATABASE=""/var/lib/m68k-linux-gnu/gcj-4.7/classmap.db"" -DLIBGCJ_DEFAULT_DATABASE_PATH_TAIL=""gcj-4.7-13/classmap.db"" -fwrapv -g -O2 -D_GNU_SOURCE -MT interpret.lo -MD -MP -MF $depbase.Tpo -c -o interpret.lo ../../../src/libjava/interpret.cc &&
> mv -f $depbase.Tpo $depbase.Plo
> libtool: compile: /tmp/buildd/gcj-4.7-4.7.0/build/./gcc/xgcc -shared-libgcc -B/tmp/buildd/gcj-4.7-4.7.0/build/./gcc -nostdinc++ -L/tmp/buildd/gcj-4.7-4.7.0/build/m68k-linux-gnu/libstdc++-v3/src -L/tmp/buildd/gcj-4.7-4.7.0/build/m68k-linux-gnu/libstdc++-v3/src/.libs -B/usr/m68k-linux-gnu/bin/ -B/usr/m68k-linux-gnu/lib/ -isystem /usr/m68k-linux-gnu/include -isystem /usr/m68k-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I../../../src/libjava -I./include -I./gcj -I../../../src/libjava -Iinclude -I../../../src/libjava/include -I../../../src/libjava/classpath/include -Iclasspath/include -I../../../src/libjava/classpath/native/fdlibm -I../../../src/libjava/../boehm-gc/include -I../boehm-gc/include -I../../../src/libjava/libltdl -I../../../src/libjava/libltdl -I../../../src/libjava/.././libjava/../libgcc -I../../../src/libjava/../libffi/include -I../libffi/include -fno-rtti -fnon-call-exceptions -fdollars-in-identifiers -Wswitch-enum -D_FILE_OFFSET_BITS=64 -Wextra -Wall -D_GNU_SOURCE -DPREFIX="/usr" -DMULTIARCH_DIR="m68k-linux-gnu" -DTOOLEXECLIBDIR="/usr/lib/m68k-linux-gnu" -DJAVA_HOME="/usr/lib/jvm/java-1.5.0-gcj-4.7/jre" -DBOOT_CLASS_PATH="/usr/lib/jvm/java-1.5.0-gcj-4.7/jre/lib/rt.jar" -DJAVA_EXT_DIRS="/usr/share/java/ext" -DGCJ_ENDORSED_DIRS="/usr/share/java/gcj-endorsed" -DGCJ_VERSIONED_LIBDIR="/usr/lib/m68k-linux-gnu/gcj-4.7-13" -DPATH_SEPARATOR=":" -DECJ_JAR_FILE="/usr/share/java/eclipse-ecj.jar" -DLIBGCJ_DEFAULT_DATABASE="/var/lib/m68k-linux-gnu/gcj-4.7/classmap.db" -DLIBGCJ_DEFAULT_DATABASE_PATH_TAIL="gcj-4.7-13/classmap.db" -fwrapv -g -O2 -D_GNU_SOURCE -MT interpret.lo -MD -MP -MF .deps/interpret.Tpo -c ../../../src/libjava/interpret.cc -fPIC -DPIC -o .libs/interpret.o
> In file included from ../../../src/libjava/interpret.cc:35:0:
> ./include/java-signal.h:26:19: warning: declaration 'class java::lang::Throwable' does not declare anything [enabled by default]
> ../../../src/libjava/interpret.cc: In static member function 'static void _Jv_InterpMethod::run(void*, ffi_java_raw*, _Jv_InterpMethod*)':
> ../../../src/libjava/interpret.cc:991:1: internal compiler error: Segmentation fault
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <file:///usr/share/doc/gcj-4.7/README.Bugs> for instructions.
> Preprocessed source stored into /tmp/ccBSZaXX.out file, please attach this to your bugreport.
> make[5]: *** [interpret.lo] Error 1
> make[5]: Leaving directory `/tmp/buildd/gcj-4.7-4.7.0/build/m68k-linux-gnu/libjava'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory `/tmp/buildd/gcj-4.7-4.7.0/build/m68k-linux-gnu/libjava'
> make[3]: *** [all-target-libjava] Error 2
> make[3]: Leaving directory `/tmp/buildd/gcj-4.7-4.7.0/build'
> make[2]: *** [bootstrap-lean] Error 2
> make[2]: Leaving directory `/tmp/buildd/gcj-4.7-4.7.0/build'
> s=`cat status`; rm -f status; test $s -eq 0
> make[1]: *** [stamps/05-build-stamp] Error 1
> make[1]: Leaving directory `/tmp/buildd/gcj-4.7-4.7.0'
> make: *** [stamps/05-build-stamp] Error 2
> dpkg-buildpackage: error: debian/rules build gave error exit status 2
> E: Failed autobuilding of package
>
> The output is also available (attached) for the curious ones.
> Full build log available. This occurs after days, when building
> libjava with the third-stage compiler, after a full bootstrap.
> I can also attach a gdb.
>
> Note that gcc-4.7 is not really tested on Debian/m68k yet, it
> compiles (bootstraps), but that’s about it… in particular, we
> have a number of patches in gcc-4.4 and gcc-4.6 which may or
> may not need applying there.
>

Have you tried compiling with -O0 instead of -O2 ?

Alan.


--
To UNSUBSCRIBE, email to debian-java-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4FAACF84.3030105@fairlite.co.uk">http://lists.debian.org/4FAACF84.3030105@fairlite.co.uk
 

Thread Tools




All times are GMT. The time now is 11:19 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org