From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Message-ID: <4E74DF73.7000008@pengutronix.de> Date: Sat, 17 Sep 2011 19:57:07 +0200 From: Marc Kleine-Budde MIME-Version: 1.0 References: In-Reply-To: Subject: Re: [ptxdist] Using Crosstool-ng Toolchain with PTXDIST Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0440634853==" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: Ryan Barnett This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============0440634853== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigC19A59626C248F77A7F03E8E" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigC19A59626C248F77A7F03E8E Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 09/16/2011 03:53 PM, Ryan Barnett wrote: > Hi, >=20 > I'm currently trying to use a toolchain that I have compiled with > crosstool-ng with ptxdist-2011-07-0 however I have been having some pro= blems > with ptxdist trying to recognize and use this toolchain. >=20 > The first problem that I have had is with the following ptxdist script:= > script/lib/ptxd_make_00-init.sh. It gives me the following error: >=20 > "ptxdist: error: failed to source lib: > /opt/lib/ptxdist-2011.07.0/scripts//lib/ptxd_make_00-init.sh." >=20 > I have tracked down where this error is coming from and it is on 65 of = the > ptxd_make_00-init.sh because of the sed call that looks for the collect= 2 > folder. There isn't a collect2 folder in the toolchain that was compile= d. So > to overcome that error I have made a temporary work around by just sett= ing > the sysroot folder manually. >=20 > However, this has led to another problem, when trying to compile I get = the > following error: >=20 > arm-cortex_a8_linaro4.5-linux-gnueabi-ld: /lib/libc.so.6: version > `GLIBC_2.7' not found (required by arm-cortex_a8_linaro4.5-linux-gnueab= i-ld) Update your distribution, you need atleast GLIBC_2.7 to run the toolchain. Is that toolchain compiled on that host? > It seems that ptxdist or something is trying to use the host machine's = GLIBC > instead of the cross compiler's sysroot even though I have manually > specified it. Nope - It's about executing the toolchain's linker. > Could somebody please point me to how I can compile a toolchain with > crosstool-ng that can be used with ptxdist? Or point me in the right > direction in how I can fix these errors? cheers, Marc --=20 Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de | --------------enigC19A59626C248F77A7F03E8E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk5033YACgkQjTAFq1RaXHOs7wCcCZnxl01jwMQZ6tZmHztPyMOJ y0EAn2DkWOq3KbD7QTv12rjTMft0XFQ1 =SfCZ -----END PGP SIGNATURE----- --------------enigC19A59626C248F77A7F03E8E-- --===============0440634853== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --===============0440634853==--