The issue was with the LD_RUN_PATH - my *build* libraries were at a non-normal path and hence during the build, the old libgmp* was being fetched that resulted in the build error. Setting LD_RUN_PATH solved the problem.
Thanks, Kalai -----Original Message----- From: Kalai Narayanan-SSI Sent: Thursday, February 28, 2013 10:06 AM To: 'Zhenqiang Chen' Cc: linaro-toolchain@lists.linaro.org Subject: RE: crosstool-ng Thanks for pointing me towards the README - I was referring to the README within the binary package and did not see the README that came with the release. A few things .. I'm on RHEL and so there is no apt-get there. Moreover, I don't have root access - so I'm not sure how I can get the first few steps done. I downloaded the src tarballs and untar-ed them. In the crosstools menuconfig, I pointed the local tarballs directory to this untar-ed one. Even with this, I still see the errors starting in the ppl stage. I see mpfr & gmp install going through properly. Thanks, Kalai -----Original Message----- From: Zhenqiang Chen [mailto:zhenqiang.c...@linaro.org] Sent: Wednesday, February 27, 2013 6:09 PM To: Kalai Narayanan-SSI Cc: linaro-toolchain@lists.linaro.org Subject: Re: crosstool-ng On 28 February 2013 07:18, Kalai Narayanan-SSI <kalai.ra...@ssi.samsung.com> wrote: > Hi, > I got the crosstool-ng from the 2013.02 release and wanted to build the > linaro-aarch64-linux-gnu target locally. During the build, I'm encountering > errors. I didn't do any menuconfig for the above target before starting the > build. > > I'm seeing the following errors with the first during the ppl build ... > > [INFO ] Installing PPL > [EXTRA] Configuring PPL > [ERROR] configure: error: Cannot find GMP version 4.1.3 or higher. > [EXTRA] Saving state to restart at step 'cloog'... > ... > (from build-ppl/config.log .... > ... > configure:11257: result: no > configure:11392: error: Cannot find GMP version 4.1.3 or higher. > GMP is the GNU Multi-Precision library: > see http://www.swox.com/gmp/ for more information. > ....) > > > ... > [INFO ] Installing CLooG/ppl > [EXTRA] Configuring CLooG/ppl > [ERROR] checking for version 0.10 (or later revision) of PPL... configure: > error: Can't find correct version of PPL. > [EXTRA] Saving state to restart at step 'mpc'... > ... > (from build-cloog-ppl/cobnfig.log ... > ... > configure:11237: error: Can't find correct version of PPL. > ...) > > > If I'm building a known target with the released version, why am I seeing > these errors? I could build the aarch64-linux-gnu toolchain locally on both 32 and 64 bit Ubuntu 10.04 systems. Did you follow the README? In your build, did you had the following info? [INFO ] Installing GMP [EXTRA] Configuring GMP [EXTRA] Building GMP [EXTRA] Installing GMP [INFO ] Installing GMP: done in 29.90s (at 00:32) [EXTRA] Saving state to restart at step 'mpfr'... [INFO ] ================================================================= [INFO ] Installing MPFR [EXTRA] Configuring MPFR [EXTRA] Building MPFR [EXTRA] Installing MPFR [INFO ] Installing MPFR: done in 13.38s (at 00:45) [EXTRA] Saving state to restart at step 'ppl'... [INFO ] ================================================================= [INFO ] Installing PPL [EXTRA] Configuring PPL Thanks! -Zhenqiang _______________________________________________ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain