From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-qw0-f48.google.com ([209.85.216.48]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1R4YrY-0006fO-Iu for ptxdist@pengutronix.de; Fri, 16 Sep 2011 15:53:54 +0200 Received: by qwb7 with SMTP id 7so1147824qwb.7 for ; Fri, 16 Sep 2011 06:53:46 -0700 (PDT) MIME-Version: 1.0 Date: Fri, 16 Sep 2011 08:53:45 -0500 Message-ID: From: Ryan Barnett Subject: [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="===============0128439586==" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de --===============0128439586== Content-Type: multipart/alternative; boundary=0016364ee8ce6ee27e04ad0f52fa --0016364ee8ce6ee27e04ad0f52fa Content-Type: text/plain; charset=ISO-8859-1 Hi, 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 problems with ptxdist trying to recognize and use this toolchain. 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: "ptxdist: error: failed to source lib: /opt/lib/ptxdist-2011.07.0/scripts//lib/ptxd_make_00-init.sh." 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 collect2 folder. There isn't a collect2 folder in the toolchain that was compiled. So to overcome that error I have made a temporary work around by just setting the sysroot folder manually. However, this has led to another problem, when trying to compile I get the following error: 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-gnueabi-ld) 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. 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? Thanks, -Ryan Ryan Barnett --0016364ee8ce6ee27e04ad0f52fa Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi,
=A0
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 problem= s with ptxdist trying to recognize and use this toolchain.
=A0
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:
"ptxdist: error: failed to source lib: /opt/lib/ptxdist-2011.07.0= /scripts//lib/ptxd_make_00-init.sh."
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 collec= t2 folder. There isn't a collect2 folder in the toolchain that was comp= iled. So to overcome that error I have made a temporary work around by just= setting the sysroot folder manually.
=A0
However, this has led to another problem, when trying to compile I get= the following error:
arm-cortex_a8_linaro4.5-linux-gnueabi-ld: /lib/libc.so.6: version `GLI= BC_2.7' not found (required by arm-cortex_a8_linaro4.5-linux-gnueabi-ld= )
It seems that ptxdist or something is trying to use the ho= st machine's GLIBC instead of the cross compiler's sysroot even tho= ugh I have manually specified it.
=A0
Could somebody please point me to how I can compile a tool= chain with crosstool-ng that can be used with ptxdist? Or point me in the r= ight direction in how I can fix these errors?
=A0
Thanks,
-Ryan
=A0
Ryan Barnett
=A0
--0016364ee8ce6ee27e04ad0f52fa-- --===============0128439586== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --===============0128439586==--