From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19007 invoked by alias); 7 Jan 2012 13:38:26 -0000 Received: (qmail 18999 invoked by uid 22791); 7 Jan 2012 13:38:25 -0000 X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-iy0-f169.google.com (HELO mail-iy0-f169.google.com) (209.85.210.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 07 Jan 2012 13:38:12 +0000 Received: by iacb35 with SMTP id b35so4881519iac.0 for ; Sat, 07 Jan 2012 05:38:12 -0800 (PST) MIME-Version: 1.0 Received: by 10.50.202.105 with SMTP id kh9mr1992495igc.3.1325943492118; Sat, 07 Jan 2012 05:38:12 -0800 (PST) Received: by 10.42.29.199 with HTTP; Sat, 7 Jan 2012 05:38:12 -0800 (PST) In-Reply-To: References: Date: Sat, 07 Jan 2012 13:38:00 -0000 Message-ID: Subject: Re: ld.real: execvp: No such file or directory From: Piotr Grudzinski To: crossgcc@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org X-SW-Source: 2012-01/txt/msg00021.txt.bz2 Dear All, I have tried a sample config bfin-unknown-linux-uclibc from CT-NG 1.13.2. It builds fine for FD_PIC ELF but fails for FLAT format with the same: 'ld.real': No such file or directory Can anybody confirm a success building crosstool for FLAT binaries or the error I'm getting? Regards, Piotr On Thu, Jan 5, 2012 at 4:29 PM, Piotr Grudzinski wr= ote: > Hello, > > I'm having problem building crosstool for ARM no-mmu system (see below): > > [INFO ] =A0=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > [INFO ] =A0Installing C library > [EXTRA] =A0 =A0Copying sources to build dir > [EXTRA] =A0 =A0Applying configuration > [EXTRA] =A0 =A0Building C library > [ERROR] =A0 =A0make[1]: *** [lib/ld-uClibc.so] Error 1 > [ERROR] > [ERROR] =A0 =A0>> > [ERROR] =A0 =A0>> =A0Error happened in: main[scripts/crosstool-NG.sh] > [ERROR] =A0 =A0>> > [ERROR] =A0 =A0>> =A0For more info on this error, look at the file: 'buil= d.log' > > And from build.log file: > > [ALL =A0] =A0 =A0 =A0LD ld-uClibc-0.9.30.2.so > [ALL =A0] =A0 =A0ld (ld-elf2flt): error trying to exec > '/home/piotr/x-tools/arm-unknown-linux-uclibc/bin/ld.real': execvp: No > such file or directory > [ALL =A0] =A0 =A0collect2: ld returned 255 exit status > [ERROR] =A0 =A0make[1]: *** [lib/ld-uClibc.so] Error 1 > [ALL =A0] =A0 =A0make[1]: *** Waiting for unfinished jobs.... > [ALL =A0] =A0 =A0make[1]: Leaving directory > `/home/piotr/toolchain-build/.build/arm-unknown-linux-uclibc/build/build-= libc' > > The ld.real program is in: > /home/piotr/x-tools/arm-unknown-linux-uclibc/arm-unknown-linux-uclibc/bin > directory. > > I my /home/piotr/x-tools/arm-unknown-linux-uclibc/bin directory there > is a arm-unknown-linux-uclibc-ld.real > =A0file. > > It looks like the build system is looking for ld.real in a wrong > directory or arm-unknown-linux-uclibc-ld.real should be used instead. > > Any suggestions how/where to fix this problem? > > > Best Regards, > Piotr -- For unsubscribe information see http://sourceware.org/lists.html#faq