This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ld.real: execvp: No such file or directory


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 <piotr@powersmiths.com> wrote:
> Hello,
>
> I'm having problem building crosstool for ARM no-mmu system (see below):
>
> [INFO ] ?=================================================================
> [INFO ] ?Installing C library
> [EXTRA] ? ?Copying sources to build dir
> [EXTRA] ? ?Applying configuration
> [EXTRA] ? ?Building C library
> [ERROR] ? ?make[1]: *** [lib/ld-uClibc.so] Error 1
> [ERROR]
> [ERROR] ? ?>>
> [ERROR] ? ?>> ?Error happened in: main[scripts/crosstool-NG.sh]
> [ERROR] ? ?>>
> [ERROR] ? ?>> ?For more info on this error, look at the file: 'build.log'
>
> And from build.log file:
>
> [ALL ?] ? ? ?LD ld-uClibc-0.9.30.2.so
> [ALL ?] ? ?ld (ld-elf2flt): error trying to exec
> '/home/piotr/x-tools/arm-unknown-linux-uclibc/bin/ld.real': execvp: No
> such file or directory
> [ALL ?] ? ?collect2: ld returned 255 exit status
> [ERROR] ? ?make[1]: *** [lib/ld-uClibc.so] Error 1
> [ALL ?] ? ?make[1]: *** Waiting for unfinished jobs....
> [ALL ?] ? ?make[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
> ?file.
>
> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]