* [Buildroot] Error on compiling busybox using buildroot for mipsel
@ 2006-12-07 12:48 Doug Brewer
2006-12-07 14:04 ` Bernhard Fischer
0 siblings, 1 reply; 3+ messages in thread
From: Doug Brewer @ 2006-12-07 12:48 UTC (permalink / raw)
To: buildroot
Hello,
I used buildroot to build mipsel crss-compiler and busybox. While compilng
on busybox, I encounter errors:
make[1]: Leaving directory `/home/brewer/buildroot/build_mipsel/busybox'
touch /home/brewer/buildroot/build_mipsel/busybox/.configured
make -j1 CC=/home/brewer/buildroot/build_mipsel/staging_dir/bin/mipsel-linux-ucl
ibc-gcc CROSS_COMPILE="/home/brewer/buildroot/build_mipsel/staging_dir/bin/mipse
l-linux-uclibc-" \
CROSS="/home/brewer/buildroot/build_mipsel/staging_dir/bin/mipse
l-linux-uclibc-" PREFIX="/home/brewer/buildroot/build_mipsel/root" \
EXTRA_CFLAGS="-Os -pipe " -C /home/brewer/buildroot/build_mipsel
/busybox
make[1]: Entering directory `/home/brewer/buildroot/build_mipsel/busybox'
SPLIT include/autoconf.h -> include/config/*
GEN include/bbconfigopts.h
HOSTCC applets/usage
GEN include/usage_compressed.h
CC applets/applets.o
cc1: error: invalid option `preferred-stack-boundary=2'
applets/applets.c:1: error: bad value (i386) for -march
Assembler messages:
Error: Bad value (i386) for -march
make[2]: *** [applets/applets.o] Error 1
make[1]: *** [applets] Error 2
make[1]: Leaving directory `/home/brewer/buildroot/build_mipsel/busybox'
It looks that buildroot passed the wrong arch for busybox? Thanks.
BR,
Doug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] Error on compiling busybox using buildroot for mipsel
2006-12-07 12:48 [Buildroot] Error on compiling busybox using buildroot for mipsel Doug Brewer
@ 2006-12-07 14:04 ` Bernhard Fischer
2006-12-07 15:55 ` Doug Brewer
0 siblings, 1 reply; 3+ messages in thread
From: Bernhard Fischer @ 2006-12-07 14:04 UTC (permalink / raw)
To: buildroot
On Thu, Dec 07, 2006 at 08:48:03PM +0800, Doug Brewer wrote:
>Hello,
>
>I used buildroot to build mipsel crss-compiler and busybox. While compilng
>on busybox, I encounter errors:
>It looks that buildroot passed the wrong arch for busybox? Thanks.
Does it work better (i.e. does not pull in i386-specific Makefiles) if
you add ARCH=$(KERNEL_ARCH) to both make invocations in busybox.mk ?
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] Error on compiling busybox using buildroot for mipsel
2006-12-07 14:04 ` Bernhard Fischer
@ 2006-12-07 15:55 ` Doug Brewer
0 siblings, 0 replies; 3+ messages in thread
From: Doug Brewer @ 2006-12-07 15:55 UTC (permalink / raw)
To: buildroot
On 12/7/06, Bernhard Fischer wrote:
> On Thu, Dec 07, 2006 at 08:48:03PM +0800, Doug Brewer wrote:
> >Hello,
> >
> >I used buildroot to build mipsel crss-compiler and busybox. While compilng
> >on busybox, I encounter errors:
>
> >It looks that buildroot passed the wrong arch for busybox? Thanks.
>
> Does it work better (i.e. does not pull in i386-specific Makefiles) if
> you add ARCH=$(KERNEL_ARCH) to both make invocations in busybox.mk ?
It works, thanks. I think developers may apply patch to buildroot :-P
BR,
Doug.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-12-07 15:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-07 12:48 [Buildroot] Error on compiling busybox using buildroot for mipsel Doug Brewer
2006-12-07 14:04 ` Bernhard Fischer
2006-12-07 15:55 ` Doug Brewer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox