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