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.60) (envelope-from ) id 1GSFRd-00069c-NO for garchives@archives.gentoo.org; Tue, 26 Sep 2006 16:06:06 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k8QG4NhJ030168; Tue, 26 Sep 2006 16:04:23 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k8QG4MCt013591 for ; Tue, 26 Sep 2006 16:04:22 GMT Received: from home.wh0rd.org (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 28ED8647BD for ; Tue, 26 Sep 2006 16:04:20 +0000 (UTC) Received: (qmail 32279 invoked from network); 26 Sep 2006 12:03:21 -0400 Received: from unknown (HELO vapier) (192.168.0.2) by 192.168.0.1 with SMTP; 26 Sep 2006 12:03:21 -0400 From: Mike Frysinger Organization: wh0rd.org To: "Vladimir Pouzanov" Subject: Re: [gentoo-embedded] cannot find /lib/libc.so.6 Date: Tue, 26 Sep 2006 12:04:26 -0400 User-Agent: KMail/1.9.4 Cc: gentoo-embedded@lists.gentoo.org References: <9956e0d30609210626y78709eccn78b34e7f53743e06@mail.gmail.com> <200609222354.34559.vapier@gentoo.org> <9956e0d30609260745y36a8d423v1da196f640894cbb@mail.gmail.com> In-Reply-To: <9956e0d30609260745y36a8d423v1da196f640894cbb@mail.gmail.com> 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: multipart/signed; boundary="nextPart3459610.dYdcIbArRG"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200609261204.27257.vapier@gentoo.org> X-Archives-Salt: fc968d56-2b33-49fd-b372-14e30b96508e X-Archives-Hash: 414947f3f102b02b1aef1cc99296375d --nextPart3459610.dYdcIbArRG Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 26 September 2006 10:45, Vladimir Pouzanov wrote: > On 9/23/06, Mike Frysinger wrote: > > looks like you're using wrong LDFLAGS ... what do you have yours set to= ? > > Here goes an extract from my ${ROOT}/etc/make.conf: > ROOT=3D"/home/farcaller/develop/linux4palm/gentoo_root/" > CFLAGS=3D"-Os -pipe -mtune=3Dxscale -I${ROOT}/usr/include" > LDFLAGS=3D"-L${ROOT}/usr/lib -L${ROOT}/lib" > CXXFLAGS=3D"${CFLAGS}" this is the exact reason i've been telling/forcing people to switch over to= =20 sysroot cross-compilers when you set LDFLAGS/CFLAGS like that, it screws up building some packages = =2E..=20 and i am 99% sure it is not a bug in the packages use /usr/CTARGET as your development root and your $ROOT as the target runt= ime=20 root ... that means if you need to build an application to install into ROO= T,=20 then the libraries to link against need to be emerged into /usr/CTARGET whi= le=20 the libraries to run against need to be emerged/copied into $ROOT =2Dmike --nextPart3459610.dYdcIbArRG Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iQIVAwUARRlPikFjO5/oN/WBAQJc2w//ZHzEVUxGG8XyT4aohQvK7rQl0MkBUNwh eQVCvzpjINE2NnjOim2uQyic0Zg1/YTWJeija0eZmZcI7OmS5Ry69h3In3VyGoEM zH7hEyVzdKn9zM5XUW1Hbxh8ZEyoOaxzNpRUH/x9Ki/crBVW6RMiC7AMwJSgN2i1 KP++/+ZQMwDdKb7ntsM1Z310j+Gw7TNbUulW+BvwoewDcXCw08C8yEiJKEt6krz8 UJdrlI79Yrin6pgczCa5kBdUz2dFMZXrddxOJi6xJSYqkB9V86QAcR57JdmSzdHW XGvTJXUy+6h0fTczsWlqrpZjqFL7sKV3r2ezdUebneZPsVS/n93CJ1t/FKC4krmJ QubfF1yaz1R17kOkfiEa9r25wRf1tYRXy2zXo43wLHVIrazDOhOi1eI+4TLvsMcz 8eYhR1VJhk6ueP5Mej/Iz4XQRECRgzp/J34xujiJSbYRG/8sZ5Ngv47AZicYKbEQ VatTPek4H8zL+doZrYyemFPmXMFJz29JdVPf7MsKnN54GlWQoO+tJl6lypnuH1UU 8IFmdnb2AJVYF8dKZUixIxUh1o5NtztirV2P+5a/7YVU+tBLcB4wpaEXewmoj8oT wubprauENaHLWMLTLrQMZOf9kKq+XESdwNDbpaAi/1Ayxih1vQT1v1axq1gfOP2J 9lHRlG446uI= =1Pfs -----END PGP SIGNATURE----- --nextPart3459610.dYdcIbArRG-- -- gentoo-embedded@gentoo.org mailing list