[Buildroot] building toolchain fails works now with cache disabled.

Sagaert Johan sagaert.johan at skynet.be
Wed Oct 21 13:42:35 UTC 2009


 
Hi

Afrer disabling the cache it worked.

Maybe the cache path was wrong, i used my .config file from the 2009.08
version 
 from the config file i read 

BR2_CCACHE_DIR="$(TOOLCHAIN_DIR)/ccache-$(CCACHE_VER)/cache"

So i assume TOOLCHAIN_DIR is empty.

-----Oorspronkelijk bericht-----
Van: Peter Korsgaard [mailto:jacmet at gmail.com] Namens Peter Korsgaard
Verzonden: woensdag 21 oktober 2009 14:38
Aan: Sagaert Johan; buildroot at uclibc.org
Onderwerp: Re: [Buildroot] building toolchain fails

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