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: crosstool-ng + arm; Build error: libc_pic.a not found


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?

> 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 ! :-)

> There is not a libc_pic.a anywhere in the build directory.  Any ideas as
> to what could be going wrong here?

Use shared libs.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

--
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]