[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#571059: jcc: Please suppport Renesas SH(sh4)



Source: jcc
Version: 2.5-3
Severity: important
Tags: patch
User: debian-sh4@superh.org
Usertags: sh4
X-Debbugs-CC: debian-superh@lists.debian.org

Hi,

I am now trying to run Debian on Renesas SH(sh4) CPU.
http://buildd.debian-ports.org/status/architecture.php?suite=unstable&a=sh4

jcc FTBFS on SH4. JAVAARCH of sh4 is "sh".  Therefore, we need set
"sh" in JAVAARCH.

http://buildd.debian-ports.org/fetch.php?pkg=jcc&arch=sh4&ver=2.5-3&stamp=1265162277&file=log&as=raw

-----
/usr/include/features.h:160:1: warning: this is the location of the
previous definition
g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -O2 -g -Wall
-O2 /build/buildd-jcc_2.5-3-sh4-jyjF13/jcc-2.5/./build/temp.linux-sh4a-2.6/jcc/sources/jcc.o
/build/buildd-jcc_2.5-3-sh4-jyjF13/jcc-2.5/./build/temp.linux-sh4a-2.6/jcc/sources/JCCEnv.o
/build/buildd-jcc_2.5-3-sh4-jyjF13/jcc-2.5/./build/temp.linux-sh4a-2.6/jcc/sources/JObject.o
/build/buildd-jcc_2.5-3-sh4-jyjF13/jcc-2.5/./build/temp.linux-sh4a-2.6/jcc/sources/JArray.o
/build/buildd-jcc_2.5-3-sh4-jyjF13/jcc-2.5/./build/temp.linux-sh4a-2.6/jcc/sources/functions.o
/build/buildd-jcc_2.5-3-sh4-jyjF13/jcc-2.5/./build/temp.linux-sh4a-2.6/jcc/sources/types.o
/build/buildd-jcc_2.5-3-sh4-jyjF13/jcc-2.5/./build/temp.linux-sh4a-2.6/_jcc/boot.o
/build/buildd-jcc_2.5-3-sh4-jyjF13/jcc-2.5/./build/temp.linux-sh4a-2.6/_jcc/java/util/Enumeration.o
/build/buildd-jcc_2.5-3-sh4-jyjF13/jcc-2.5/./build/temp.linux-sh4a-2.6/_jcc/java/util/Iterator.o
/build/buildd-jcc_2.5-3-sh4-jyjF13/jcc-2.5/./build/temp.linux-sh4a-2.6/_jcc/java/lang/Object.o
/build/buildd-jcc_2.5-3-sh4-jyjF13/jcc-2.5/./build/temp.linux-sh4a-2.6/_jcc/java/lang/Double.o
/build/buildd-jcc_2.5-3-sh4-jyjF13/jcc-2.5/./build/temp.linux-sh4a-2.6/_jcc/java/lang/Class.o
/build/buildd-jcc_2.5-3-sh4-jyjF13/jcc-2.5/./build/temp.linux-sh4a-2.6/_jcc/java/lang/String.o
/build/buildd-jcc_2.5-3-sh4-jyjF13/jcc-2.5/./build/temp.linux-sh4a-2.6/_jcc/java/lang/RuntimeException.o
/build/buildd-jcc_2.5-3-sh4-jyjF13/jcc-2.5/./build/temp.linux-sh4a-2.6/_jcc/java/lang/Integer.o
/build/buildd-jcc_2.5-3-sh4-jyjF13/jcc-2.5/./build/temp.linux-sh4a-2.6/_jcc/java/lang/Long.o
/build/buildd-jcc_2.5-3-sh4-jyjF13/jcc-2.5/./build/temp.linux-sh4a-2.6/_jcc/java/lang/__init__.o
/build/buildd-jcc_2.5-3-sh4-jyjF13/jcc-2.5/./build/temp.linux-sh4a-2.6/_jcc/java/lang/Throwable.o
/build/buildd-jcc_2.5-3-sh4-jyjF13/jcc-2.5/./build/temp.linux-sh4a-2.6/_jcc/java/lang/Exception.o
/build/buildd-jcc_2.5-3-sh4-jyjF13/jcc-2.5/./build/temp.linux-sh4a-2.6/_jcc/java/lang/Boolean.o
/build/buildd-jcc_2.5-3-sh4-jyjF13/jcc-2.5/./build/temp.linux-sh4a-2.6/_jcc/java/lang/reflect/Modifier.o
/build/buildd-jcc_2.5-3-sh4-jyjF13/jcc-2.5/./build/temp.linux-sh4a-2.6/_jcc/java/lang/reflect/ParameterizedType.o
/build/buildd-jcc_2.5-3-sh4-jyjF13/jcc-2.5/./build/temp.linux-sh4a-2.6/_jcc/java/lang/reflect/Field.o
/build/buildd-jcc_2.5-3-sh4-jyjF13/jcc-2.5/./build/temp.linux-sh4a-2.6/_jcc/java/lang/reflect/Constructor.o
/build/buildd-jcc_2.5-3-sh4-jyjF13/jcc-2.5/./build/temp.linux-sh4a-2.6/_jcc/java/lang/reflect/TypeVariable.o
/build/buildd-jcc_2.5-3-sh4-jyjF13/jcc-2.5/./build/temp.linux-sh4a-2.6/_jcc/java/lang/reflect/__init__.o
/build/buildd-jcc_2.5-3-sh4-jyjF13/jcc-2.5/./build/temp.linux-sh4a-2.6/_jcc/java/lang/reflect/Type.o
/build/buildd-jcc_2.5-3-sh4-jyjF13/jcc-2.5/./build/temp.linux-sh4a-2.6/_jcc/java/lang/reflect/Method.o
/build/buildd-jcc_2.5-3-sh4-jyjF13/jcc-2.5/./build/temp.linux-sh4a-2.6/_jcc/java/lang/reflect/GenericDeclaration.o
/build/buildd-jcc_2.5-3-sh4-jyjF13/jcc-2.5/./build/temp.linux-sh4a-2.6/_jcc/java/lang/reflect/WildcardType.o
/build/buildd-jcc_2.5-3-sh4-jyjF13/jcc-2.5/./build/temp.linux-sh4a-2.6/_jcc/java/lang/reflect/GenericArrayType.o
/build/buildd-jcc_2.5-3-sh4-jyjF13/jcc-2.5/./build/temp.linux-sh4a-2.6/_jcc/java/io/StringWriter.o
/build/buildd-jcc_2.5-3-sh4-jyjF13/jcc-2.5/./build/temp.linux-sh4a-2.6/_jcc/java/io/__init__.o
/build/buildd-jcc_2.5-3-sh4-jyjF13/jcc-2.5/./build/temp.linux-sh4a-2.6/_jcc/java/io/PrintWriter.o
/build/buildd-jcc_2.5-3-sh4-jyjF13/jcc-2.5/./build/temp.linux-sh4a-2.6/_jcc/java/io/Writer.o
-o /build/buildd-jcc_2.5-3-sh4-jyjF13/jcc-2.5/./build/lib.linux-sh4a-2.6/jcc/_jcc.so
-L/usr/lib/jvm/java-6-openjdk/jre/lib/sh4
-L/usr/lib/jvm/java-6-openjdk/jre/lib/sh4/server
-Wl,-rpath=/usr/lib/jvm/java-6-openjdk/jre/lib/sh4:/usr/lib/jvm/java-6-openjdk/jre/lib/sh4/server
-ljava -Wl,-S
/usr/bin/ld: cannot find -ljava
collect2: ld returned 1 exit status
error: command 'g++' failed with exit status 1
make: *** [debian/python-module-stampdir/jcc] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2

-----

I made patch to support SH. Could you apply this patch?

Best regards,
 Nobuhiro

-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6

Attachment: jcc-sh4-support.diff
Description: application/empty


Reply to: