Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] building toolchain fails
       [not found] <48B29D7D7EE043AF836DB1647ED0F5C6@apexjs>
@ 2009-10-21 12:38 ` Peter Korsgaard
  2009-10-21 13:42   ` [Buildroot] building toolchain fails works now with cache disabled Sagaert Johan
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Korsgaard @ 2009-10-21 12:38 UTC (permalink / raw)
  To: buildroot

>>>>> "Sagaert" == Sagaert Johan <sagaert.johan@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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] building toolchain fails works now with cache disabled.
  2009-10-21 12:38 ` [Buildroot] building toolchain fails Peter Korsgaard
@ 2009-10-21 13:42   ` Sagaert Johan
  2009-10-21 15:37     ` Peter Korsgaard
  0 siblings, 1 reply; 3+ messages in thread
From: Sagaert Johan @ 2009-10-21 13:42 UTC (permalink / raw)
  To: buildroot

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] building toolchain fails works now with cache disabled.
  2009-10-21 13:42   ` [Buildroot] building toolchain fails works now with cache disabled Sagaert Johan
@ 2009-10-21 15:37     ` Peter Korsgaard
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2009-10-21 15:37 UTC (permalink / raw)
  To: buildroot

>>>>> "Sagaert" == Sagaert Johan <sagaert.johan@skynet.be> writes:

 Sagaert> Hi

 Sagaert> Afrer disabling the cache it worked.

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

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

 Sagaert> So i assume TOOLCHAIN_DIR is empty.

Hmm, odd - TOOLCHAIN_DIR is set to BASE_DIR/toolchain, where BASE_DIR is
normally "output".

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-10-21 15:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <48B29D7D7EE043AF836DB1647ED0F5C6@apexjs>
2009-10-21 12:38 ` [Buildroot] building toolchain fails Peter Korsgaard
2009-10-21 13:42   ` [Buildroot] building toolchain fails works now with cache disabled Sagaert Johan
2009-10-21 15:37     ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox