Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Mendham <petermendham@computing.dundee.ac.uk>
To: buildroot@busybox.net
Subject: [Buildroot] Build problem with buildroot config of Busybox?
Date: Fri, 01 Dec 2006 10:09:39 +0000	[thread overview]
Message-ID: <456FFF63.5050904@computing.dundee.ac.uk> (raw)

I seem to have a knack for posting to the wrong list, but I think this 
is buildrot rather than BusyBox related.  Having applied Berhard's trick 
to get me past the uClibc build problems I've now hit another snag.  
Buildroot *seems* to be trying to build BusyBox for an i386 even though 
I specified PowerPC.  Is that right?  I may be misinterpreting the error 
messages (which I have included below).  I may have configured something 
incorrectly, but I thought  there was only one place to select the 
target architecture.

Any ideas as to how to approach this problem greatly appreciated.
-- Peter

make -j1 
CC=/home/pmendham/powerpc-405-linux-gnu/buildroot/build_powerpc_nofpu/staging_dir/bin/powerpc-linux-uclibc-gcc 
CROSS_COMPILE="/home/pmendham/powerpc-405-linux-gnu/buildroot/build_powerpc_nofpu/staging_dir/bin/powerpc-linux-uclibc-" 
\
                
CROSS="/home/pmendham/powerpc-405-linux-gnu/buildroot/build_powerpc_nofpu/staging_dir/bin/powerpc-linux-uclibc-" 
PREFIX="/home/pmendham/powerpc-405-linux-gnu/buildroot/build_powerpc_nofpu/root" 
\
                EXTRA_CFLAGS="-Os -pipe " -C 
/home/pmendham/powerpc-405-linux-gnu/buildroot/build_powerpc_nofpu/busybox
make[1]: Entering directory 
`/home/pmendham/powerpc-405-linux-gnu/buildroot/build_powerpc_nofpu/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 `arch=i386'
cc1: error: invalid option `preferred-stack-boundary=2'
make[2]: *** [applets/applets.o] Error 1
make[1]: *** [applets] Error 2
make[1]: Leaving directory 
`/home/pmendham/powerpc-405-linux-gnu/buildroot/build_powerpc_nofpu/busybox'
make: *** 
[/home/pmendham/powerpc-405-linux-gnu/buildroot/build_powerpc_nofpu/busybox/busybox] 
Error 2
 

                 reply	other threads:[~2006-12-01 10:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=456FFF63.5050904@computing.dundee.ac.uk \
    --to=petermendham@computing.dundee.ac.uk \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox