Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Cannot compile gcc in target
@ 2011-03-17 16:32 Barry Kauler
  2011-03-18  4:33 ` Barry Kauler
  2011-03-20  9:53 ` Thomas Petazzoni
  0 siblings, 2 replies; 4+ messages in thread
From: Barry Kauler @ 2011-03-17 16:32 UTC (permalink / raw)
  To: buildroot

Hi, I am new to Buildroot, and it would be great if someone
experienced with Buildroot could help me out.

First time through, I just ran "make menuconfig" and apart from
choosing i586 architecture, just accepted the defaults, and got a
target root filesystem.

Fine, but it only has runtime files and what I want is a basic cli
compiling environment for compiling some applications statically. So I
ran 'make clean' then 'make menuconfig' again, and made what seem like
the minimum changes to create a compiling environment in the target
rootfs.

It all goes well until compiling gcc for the target, and stops with this:

TARGET_CPU_DEFAULT="" \
	HEADERS="options.h config/i386/i386.h config/i386/unix.h
config/i386/att.h config/dbxelf.h config/elfos.h config/svr4.h
config/linux.h config/i386/linux.h defaults.h"
DEFINES="UCLIBC_DEFAULT=1" \
	/bin/sh /mnt/sdb3/buildroot/buildroot-2011.02/output/toolchain/gcc-4.3.5/gcc/mkconfig.sh
tm.h
gawk -f /mnt/sdb3/buildroot/buildroot-2011.02/output/toolchain/gcc-4.3.5/gcc/opt-gather.awk
/mnt/sdb3/buildroot/buildroot-2011.02/output/toolchain/gcc-4.3.5/gcc/ada/lang.opt
/mnt/sdb3/buildroot/buildroot-2011.02/output/toolchain/gcc-4.3.5/gcc/fortran/lang.opt
/mnt/sdb3/buildroot/buildroot-2011.02/output/toolchain/gcc-4.3.5/gcc/java/lang.opt
/mnt/sdb3/buildroot/buildroot-2011.02/output/toolchain/gcc-4.3.5/gcc/treelang/lang.opt
/mnt/sdb3/buildroot/buildroot-2011.02/output/toolchain/gcc-4.3.5/gcc/c.opt
/mnt/sdb3/buildroot/buildroot-2011.02/output/toolchain/gcc-4.3.5/gcc/common.opt
/mnt/sdb3/buildroot/buildroot-2011.02/output/toolchain/gcc-4.3.5/gcc/config/i386/i386.opt
/mnt/sdb3/buildroot/buildroot-2011.02/output/toolchain/gcc-4.3.5/gcc/config/linux.opt
> tmp-optionlist
TARGET_CPU_DEFAULT="" \
	HEADERS="auto-build.h ansidecl.h" DEFINES="" \
	/bin/sh /mnt/sdb3/buildroot/buildroot-2011.02/output/toolchain/gcc-4.3.5/gcc/mkconfig.sh
bconfig.h
make[3]: *** No rule to make target `auto-build.h', needed by
`build/genmodes.o'.  Stop.
make[3]: *** Waiting for unfinished jobs....
/bin/sh /mnt/sdb3/buildroot/buildroot-2011.02/output/toolchain/gcc-4.3.5/gcc/../move-if-change
tmp-optionlist optionlist
echo timestamp > s-options
make[3]: Leaving directory
`/mnt/sdb3/buildroot/buildroot-2011.02/output/build/gcc-4.3.5-target/gcc'
make[2]: *** [all-gcc] Error 2
make[2]: Leaving directory
`/mnt/sdb3/buildroot/buildroot-2011.02/output/build/gcc-4.3.5-target'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/mnt/sdb3/buildroot/buildroot-2011.02/output/build/gcc-4.3.5-target'
make: *** [/mnt/sdb3/buildroot/buildroot-2011.02/output/build/gcc-4.3.5-target/.compiled]
Error 2
#

I also tried the latest snapshot of Builroot, same problem. Does
anyone know what is going wrong here?

The .config file is attached.

Regards,
Barry Kauler
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DOTconfig.gz
Type: application/x-gzip
Size: 3971 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20110318/39e220ce/attachment.bin>

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

end of thread, other threads:[~2011-03-20  9:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-17 16:32 [Buildroot] Cannot compile gcc in target Barry Kauler
2011-03-18  4:33 ` Barry Kauler
2011-03-18  6:14   ` Khem Raj
2011-03-20  9:53 ` Thomas Petazzoni

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