crosstool-ng + arm; Build error: libc_pic.a not found
Thomas Spurden
thomas@ado.is-a-geek.net
Tue Feb 22 22:40:00 GMT 2011
On 21/02/11 23:27, Yann E. MORIN wrote:
> Thomas, All,
>
> On Tuesday 22 February 2011 00:12:16 Thomas Spurden wrote:
>> I'm attempting to build a toolchain for an omap3
>> (OpenPandora/BeagleBoard), which has a cortex-a8 processor. I'm using
>> crosstool-ng-1.10.0 on a x86_64 host running Gentoo; gcc 4.4.4-r2,
>> binutils 2.20.1-r1. After a small amount of fiddling I have been
>> stumped by the failure of the "Installing C Library" stage:
>>
>>> [ALL ] /home/thomas/cross/cross-tools/crosstool-ng-1.10.0/.build/tools/bin/install -c -m 644 /home/thomas/cross/cross-tools/crosstool-ng-1.10.0/.build/arm-pandora-linux-gnueabi/build/build-libc/libc.a /home/thomas/x-tools/arm-pandora-linux-gnueabi/arm-pandora-linux-gnueabi/sysroot/usr/lib/libc.a
>>> [ALL ] : /home/thomas/x-tools/arm-pandora-linux-gnueabi/arm-pandora-linux-gnueabi/sysroot/usr/lib/libc.a
>>> [ALL ] /home/thomas/cross/cross-tools/crosstool-ng-1.10.0/.build/tools/bin/install -c -m 644 /home/thomas/cross/cross-tools/crosstool-ng-1.10.0/.build/arm-pandora-linux-gnueabi/build/build-libc/libc_pic.a /home/thomas/x-tools/arm-pandora-linux-gnueabi/arm-pandora-linux-gnueabi/sysroot/usr/lib/libc_pic.a
>>> [ALL ] /usr/bin/install: cannot stat `/home/thomas/cross/cross-tools/crosstool-ng-1.10.0/.build/arm-pandora-linux-gnueabi/build/build-libc/libc_pic.a': No such file or directory
> [--SNIP--]
>
> You set not to build shared libraries on the target:
> # CT_SHARED_LIBS is not set
>
> I am not really sure that glibc/eglibc can be built statically.
> Are you _sure_ you do not want shared libraries on your target?
I'm trying to avoid dynamic linking on the target, so just selected that
option without thinking - with it turned on the build runs through until
the next step (building the final compiler), and fails demanding that
the host supports -fPIC -shared -rdynamic for plugin support. I solved
this by turning off the option to build a static toolchain, I guess GCC
plugins are not supported with a static toolchain?
>> Full log and config available at:
>> http://ado.is-a-geek.net/~thomas/ct-ng-build.log.gz
>> http://ado.is-a-geek.net/~thomas/ct-ng-config.gz
>
> Hehe! Another one on is-a-geek ! :-)
It's an excellent domain :).
As an aside should I be cc-ing the list?
--
Thomas Spurden
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list