From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1FD0cm-0007Dy-FB for garchives@archives.gentoo.org; Sat, 25 Feb 2006 14:42:20 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id k1PEfk7G012532; Sat, 25 Feb 2006 14:41:46 GMT Received: from smtp08.web.de (smtp08.web.de [217.72.192.226]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id k1PEfkU5020266 for ; Sat, 25 Feb 2006 14:41:46 GMT Received: from [84.136.89.217] (helo=anomalie.manna.org) by smtp08.web.de with asmtp (TLSv1:AES256-SHA:256) (WEB.DE 4.105 #340) id 1FD0cE-00076b-00 for gentoo-java@lists.gentoo.org; Sat, 25 Feb 2006 15:41:46 +0100 Date: Sat, 25 Feb 2006 15:43:56 +0100 From: Hanno Meyer-Thurow To: gentoo-java@lists.gentoo.org Subject: Re: [gentoo-java] work on gcj for gentoo Message-Id: <20060225154356.c399c5ed.h.mth@web.de> In-Reply-To: <20060224182629.b5b50008.h.mth@web.de> References: <20060221160425.b1478bdc.h.mth@web.de> <1140660592.28603.13.camel@procyon.operationaldynamics.com> <20060223122508.4d0884d2.h.mth@web.de> <20060224182629.b5b50008.h.mth@web.de> X-Mailer: Sylpheed version 2.1.9 (GTK+ 2.8.9; i686-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-java@gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: h.mth@web.de X-Sender: h.mth@web.de X-Archives-Salt: 85149083-2604-4002-934f-66a3f5a70e72 X-Archives-Hash: 257a23f05d4b58e6af1e35c8cb70344d On Fri, 24 Feb 2006 18:26:29 +0100 Hanno Meyer-Thurow wrote: > /bin/sh ./libtool --tag=GCJ --mode=link gcj --classpath=. -fassume-compiled -I./src -I. -I/usr/share/antlr/lib/antlr.jar -I. -g -O2 -Wl,-O1 -o gjdoc --main=gnu.classpath.tools.gjdoc.Main > -Dgnu.gcj.runtime.VMClassLoader.library_control=never -l-com-sun-javadoc -l-com-sun-tools-doclets-Taglet -l-gnu-classpath-tools-gjdoc antlr.so > gcj --classpath=. -fassume-compiled -I./src -I. -I/usr/share/antlr/lib/antlr.jar -I. -g -O2 -Wl,-O1 -o .libs/gjdoc --main=gnu.classpath.tools.gjdoc.Main -Dgnu.gcj.runtime.VMClassLoader.library_control=never antlr.so /var/tmp/portage/gjdoc-0.7.7/work/gjdoc-0.7.7/.libs/lib-com-sun-javadoc.so /var/tmp/portage/gjdoc-0.7.7/work/gjdoc-0.7.7/.libs/lib-com-sun-tools-doclets-Taglet.so /var/tmp/portage/gjdoc-0.7.7/work/gjdoc-0.7.7/.libs/lib-gnu-classpath-tools-gjdoc.so > /var/tmp/portage/gjdoc-0.7.7/work/gjdoc-0.7.7/.libs/lib-gnu-classpath-tools-gjdoc.so: undefined reference to `java::lang::Class::getSuperclass()' > collect2: ld returned 1 exit status > make[2]: *** [gjdoc] Fehler 1 AFAIS it is fixed by this for x86/glibc usage, at least here: (There is much more from toolchain.eclass that we want.) ... strip-flags ${S}/configure ${conf} \ || die "configure failed!" make \ BOOT_CFLAGS="${CFLAGS}" \ LDFLAGS="-Wl,-O1" \ LIBPATH="/opt/${PN}-${SLOT}/lib" \ STAGE1_CFLAGS="-O" \ profiledbootstrap \ || die "make failed!" ... --- Btw, I changed this to take effect now: - --with-languages=java + --enable-languages=c,c++,java This stops objc to build. We want language c for bootstrapping stuff. Fixes that error?! --- lib/libgcj.so.7.0.0 still links to libgcc_s.so.1 from system gcc. I do not like to see that. But, however, the more we copy from toolchain.eclass it may change. Regards, Hanno -- gentoo-java@gentoo.org mailing list