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 1FbE8x-0001AJ-8Y for garchives@archives.gentoo.org; Wed, 03 May 2006 09:59:39 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.6/8.13.6) with SMTP id k439xFf5032235; Wed, 3 May 2006 09:59:15 GMT Received: from mobilaudit.cz (pluto.czechia.com [217.198.112.251]) by robin.gentoo.org (8.13.6/8.13.6) with ESMTP id k439xESJ020972 for ; Wed, 3 May 2006 09:59:14 GMT Received: from trotl [62.209.204.77] by mobilaudit.cz with ESMTP (SMTPD32-8.05) id AEEF31C800A8; Wed, 03 May 2006 11:59:11 +0200 From: Jakub Ladman To: gentoo-embedded@lists.gentoo.org Subject: Re: [gentoo-embedded] emerge ppp with crosscompile problem Date: Wed, 3 May 2006 11:59:10 +0200 User-Agent: KMail/1.8.3 References: <200605021639.26665.ladmanj@volny.cz> <44587C7F.6010504@net.in.tum.de> In-Reply-To: <44587C7F.6010504@net.in.tum.de> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605031159.10904.ladmanj@volny.cz> X-Archives-Salt: 53e35f11-3e85-4b20-b3f9-0a317abb7839 X-Archives-Hash: d42a557ad50f3935cfa7ab082dd09d87 Thanks for answer. > > 1) it uses the i686-pc-linux-gnu/bin/ld, don't you need the > sh4-pc-linux-uclibc-ld ? > export LD="sh4-pc-linux-uclibc-ld" I will try it, it seems to be one of my mistakes > > 2) try adding -fpic or -fPIC to your CFLAGS, relocation error sounds a > bit like that. I will try it, even i do not know what it is. > > 3) it uses the gcc to compile a .so > 3a) it should use the sh4-pc-linux-uclibc-gcc > 3b) it shouldn't build a .so at all with USE="-* static" It must be bug in ebuild, cause to other ebuilds are using the correct compiler. I will try to remove static use flag. > correct my if i'm wrong, but that sounds that either the dhcp ebuild is > completely broken (unlikely) or your variables don't end up in your emerge. > > 4) try adding an export ROOT="/path/to/sh4/system" variable, maybe it > gets confused when merging your sh4 binaries to / , maybe it tries to > link something to libs from / That is allready set. > > just some wild guesses. > Harald Best regards Jakub -- gentoo-embedded@gentoo.org mailing list