Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Guillaume Dargaud <dargaud@lpsc.in2p3.fr>
To: buildroot@busybox.net
Subject: [Buildroot] ARCH=ppc vs powerpc
Date: Fri, 4 Apr 2008 11:02:23 +0200	[thread overview]
Message-ID: <0efa01c89632$9b7d9910$f52f9e86@LPSC0173W> (raw)
In-Reply-To: 87ej9mvygr.fsf@macbook.be.48ers.dk

Hello Peter and thanks for the support.

> Just do make menuconfig and select powerpc/405/softfloat and off you
> go.

Did exactly that from a clean svn. Incidentaly I notice that there are now 
far fewer activated defaults (no IPV6, CXX, locale, kernel compilation, 
etc...):
$ make menuconfig
$ make
[...]
                /home/guinevere/buildroot/toolchain_build_powerpc/gmp-4.2.2/configure 
\
                --prefix="/home/guinevere/buildroot/toolchain_build_powerpc/gmp" 
\
                --build=i386-pc-linux-gnu \
                --host=i386-pc-linux-gnu \
                --enable-shared \
                --enable-static \
                --disable-nls \
        )
checking build system type... i386-pc-linux-gnu
checking host system type... i386-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking ABI=32
checking compiler /usr/bin/gcc  -m32 -O2 -fomit-frame-pointer ... yes
checking compiler /usr/bin/gcc  -m32 -O2 -fomit-frame-pointer has 
sizeof(long)==4... yes
checking compiler 
usr/bin/gcc  -m32 -O2 -fomit-frame-pointer  -mtune=i386... yes
checking compiler 
usr/bin/gcc  -m32 -O2 -fomit-frame-pointer -mtune=i386  -march=i386... yes
checking for i386-pc-linux-gnu-gcc... /usr/bin/gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/gcc  accepts -g... yes
checking for /usr/bin/gcc  option to accept ANSI C... none needed
checking how to run the C preprocessor... /usr/bin/cpp
configure: error: C preprocessor "/usr/bin/cpp " fails sanity check
See `config.log' for more details.
make: *** 
[/home/guinevere/buildroot/toolchain_build_powerpc/gmp-4.2.2-host/.configured] 
Error 1

It also tries to compile gmp without the BR2_SOFT_FLOAT option. And same 
error with your .config.

Now gmp is a dependency of uclibc, right ? So I disable the FPU in there... 
same thing.

There's something wrong with the cross compiler, right ?!?

2 $ egrep -v "^#|^$" .config
BR2_HAVE_DOT_CONFIG=y
BR2_VERSION="0.10.0-svn"
BR2_powerpc=y
BR2_powerpc_405=y
BR2_ARCH="powerpc"
BR2_ENDIAN="BIG"
BR2_GCC_TARGET_TUNE="405"
BR2_PROJECT="uclibc"
BR2_HOSTNAME="uclibc"
BR2_BANNER="Welcome to the Erik's uClibc development environment."
BR2_BOARD_NAME="arm"
BR2_BOARD_PATH="target/device/ARM"
### What is this doing here ?!?

BR2_WGET="wget --passive-ftp -nd"
BR2_SVN_CO="svn co"
BR2_SVN_UP="svn up"
BR2_GIT="git clone"
BR2_ZCAT="gzip -d -c"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(BASE_DIR)/dl"
BR2_SOURCEFORGE_MIRROR="easynews"
BR2_KERNEL_MIRROR="http://www.kernel.org/pub/"
BR2_GNU_MIRROR="http://ftp.gnu.org/pub/gnu"
BR2_DEBIAN_MIRROR="http://ftp.debian.org"
BR2_ATMEL_MIRROR="ftp://www.at91.com/pub/buildroot/"
BR2_AT91_PATCH_MIRROR="http://maxim.org.za/AT91RM9200/2.6/"
BR2_STAGING_DIR="$(BUILD_DIR)/staging_dir"
BR2_TOPDIR_PREFIX=""
BR2_TOPDIR_SUFFIX=""
BR2_ROOTFS_PREFIX="rootfs"
BR2_ROOTFS_SUFFIX=""
BR2_GNU_BUILD_SUFFIX="pc-linux-gnu"
BR2_GNU_TARGET_SUFFIX="linux-uclibc"
BR2_JLEVEL=1
BR2_RECENT=y
BR2_STRIP_strip=y
BR2_OPTIMIZE_S=y
BR2_UPDATE_CONFIG=y
BR2_TOOLCHAIN_BUILDROOT=y
BR2_TOOLCHAIN_SOURCE=y
BR2_EXT_GCC_VERSION_4_1_2=y
BR2_EXT_GCC_VERSION_4_2_1=y
BR2_EXT_BINUTILS_VERSION_2_17=y
BR2_EXT_UCLIBC_VERSION_0_9_29=y
BR2_EXT_UCLIBC_VERSION_0_9_28_3=y
BR2_KERNEL_HEADERS_2_6_24=y
BR2_DEFAULT_KERNEL_HEADERS="2.6.24"
BR2_UCLIBC_VERSION_0_9_29=y
BR2_UCLIBC_CONFIG="toolchain/uClibc/uClibc-0.9.29.config"
BR2_PTHREADS_OLD=y
BR2_BINUTILS_VERSION_2_18=y
BR2_BINUTILS_VERSION="2.18"
BR2_EXTRA_BINUTILS_CONFIG_OPTIONS=""
BR2_GCC_VERSION_4_2_3=y
BR2_GCC_SUPPORTS_SYSROOT=y
BR2_GCC_VERSION="4.2.3"
BR2_TOOLCHAIN_SYSROOT=y
BR2_EXTRA_GCC_CONFIG_OPTIONS=""
BR2_GCC_SHARED_LIBGCC=y
BR2_TARGET_OPTIMIZATION="-Os -pipe"
BR2_CROSS_TOOLCHAIN_TARGET_UTILS=y
BR2_PACKAGE_BUSYBOX=y
BR2_BUSYBOX_VERSION_1_10_X=y
BR2_BUSYBOX_VERSION="1.10.0"
BR2_PACKAGE_BUSYBOX_FULLINSTALL=y
BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.6.0.config"
BR2_TEXTEDIT_SUPPORT=y
BR2_NETWORK_SUPPORT=y
BR2_BLOCKDEV_SUPPORT=y
BR2_AUDIO_SUPPORT=y
BR2_GRAPHIC_SUPPORT=y
BR2_PACKAGE_XSERVER_none=y
BR2_X11_PREFIX="/usr"
BR2_COMPRESSOR_SUPPORT=y
BR2_SCRIPTING_SUPPORT=y
BR2_XML_SUPPORT=y
BR2_JAVA_SUPPORT=y
BR2_GAMES=y
BR2_KERNEL_none=y



Thanks.
-- 
Guillaume Dargaud
http://www.gdargaud.net/Antarctica/

  reply	other threads:[~2008-04-04  9:02 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-02 14:16 [Buildroot] ARCH=ppc vs powerpc Guillaume Dargaud
2008-04-02 14:45 ` Peter Korsgaard
2008-04-02 16:23   ` Guillaume Dargaud
2008-04-02 16:41   ` Bernhard Fischer
2008-04-03 12:09     ` Guillaume Dargaud
2008-04-03 12:24       ` Peter Korsgaard
2008-04-03 14:20         ` Guillaume Dargaud
2008-04-03 15:09           ` Peter Korsgaard
2008-04-03 15:34             ` Guillaume Dargaud
2008-04-04  8:03               ` Peter Korsgaard
2008-04-04  9:02                 ` Guillaume Dargaud [this message]
2008-04-04  9:37                   ` Peter Korsgaard
2008-04-04 10:28                     ` Guillaume Dargaud
2008-04-04 11:07                       ` Peter Korsgaard
2008-04-04 12:30                         ` Guillaume Dargaud
2008-04-04 13:37                           ` Peter Korsgaard
2008-04-04 14:10                           ` Bernhard Fischer
2008-04-04 14:18                             ` Peter Korsgaard
2008-04-04 16:00                             ` Guillaume Dargaud
2008-04-04 18:02                               ` Peter Korsgaard

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='0efa01c89632$9b7d9910$f52f9e86@LPSC0173W' \
    --to=dargaud@lpsc.in2p3.fr \
    --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