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]

crosstool-ng + arm; Build error: libc_pic.a not found


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
> [ERROR]    make[3]: *** [/home/thomas/x-tools/arm-pandora-linux-gnueabi/arm-pandora-linux-gnueabi/sysroot/usr/lib/libc_pic.a] Error 1
> [ALL  ]    make[3]: Leaving directory `/home/thomas/cross/cross-tools/crosstool-ng-1.10.0/.build/src/eglibc-2_12'
> [ERROR]    make[2]: *** [install] Error 2
> [ALL  ]    make[2]: Leaving directory `/home/thomas/cross/cross-tools/crosstool-ng-1.10.0/.build/arm-pandora-linux-gnueabi/build/build-libc'
> [ERROR]    Build failed in step 'Installing C library'
> [ERROR]    Error happened in '/home/thomas/cross/cross-tools/crosstool-ng-1.10.0/scripts/functions' in function 'CT_DoExecLog' (line unknown, sorry)
> [ERROR]          called from '/home/thomas/cross/cross-tools/crosstool-ng-1.10.0/scripts/build/libc/glibc-eglibc.sh-common' at line # 258 in function 'do_libc'
> [ERROR]          called from '/home/thomas/cross/cross-tools/crosstool-ng-1.10.0/scripts/crosstool-NG.sh' at line # 606 in function 'main'
> [ERROR]    Look at '/home/thomas/x-tools/arm-pandora-linux-gnueabi/build.log' for more info on this error.
> [ERROR]  (elapsed: 12:13.31)

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

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

Thanks,
Tom

-- 
Thomas Spurden

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