[Buildroot] building toolchain fails
Peter Korsgaard
jacmet at uclibc.org
Wed Oct 21 12:38:06 UTC 2009
>>>>> "Sagaert" == Sagaert Johan <sagaert.johan at skynet.be> writes:
Sagaert> Peter
Sagaert> See attachement concerning my debian
Sagaert> I will now look what i can do on the ubuntu machine.
Please keep discussion on the mailing list instead of mailing me
directly, so others can also follow.
Looking at your config.log makes the problem pretty obvious:
configure:1716: checking for C compiler default output
configure:1719: /home/johan/buildroot/output/build/staging_dir/usr/bin/arm-linux
-uclibc-gcc -Os -pipe -O2 -I/home/johan/buildroot/output/build/staging_dir/usr/
include -I/home/johan/buildroot/output/build/staging_dir/include --sysroot=/home
/johan/buildroot/output/build/staging_dir/ -isysroot /home/johan/buildroot/outpu
t/build/staging_dir -mabi=apcs-gnu -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_
FILE_OFFSET_BITS=64 conftest.c >&5
ccache: failed to create /ccache-2.4/cache (No such file or directory)
configure:1722: $? = 1
configure: failed program was:
#line 1700 "configure"
#include "confdefs.h"
int
main ()
{
;
return 0;
}
configure:1745: error: C compiler cannot create executables
So the problem is ccache somehow thinking it should write cache files to
/ccache-2.4.
Try disabling ccache and rebuild everything (rm -rf output; make).
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list