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]

ld.real: execvp: No such file or directory


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]