All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] ARCH=ppc vs powerpc
Date: Fri, 04 Apr 2008 11:37:21 +0200	[thread overview]
Message-ID: <8763uyufji.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <0efa01c89632$9b7d9910$f52f9e86@LPSC0173W> (Guillaume Dargaud's message of "Fri\, 4 Apr 2008 11\:02\:23 +0200")

>>>>> "Guillaume" == Guillaume Dargaud <dargaud@lpsc.in2p3.fr> writes:

 Guillaume> Hello Peter and thanks for the support.
 >> Just do make menuconfig and select powerpc/405/softfloat and off you
 >> go.

 Guillaume> Did exactly that from a clean svn. Incidentaly I notice
 Guillaume> that there are now far fewer activated defaults (no IPV6,
 Guillaume> CXX, locale, kernel compilation,

Exactly - The .defconfig was quite screwed up :/

 Guillaume> checking how to run the C preprocessor... /usr/bin/cpp
 Guillaume> configure: error: C preprocessor "/usr/bin/cpp " fails sanity check
 Guillaume> See `config.log' for more details.
 Guillaume> make: *** 
 Guillaume> [/home/guinevere/buildroot/toolchain_build_powerpc/gmp-4.2.2-host/.configured] 
 Guillaume> Error 1

What Linux distribution and what version of gcc/cpp are you using?

I'm using:
% gcc -v                                                     ~
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.1.3 --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release x86_64-linux-gnu
Thread model: posix
gcc version 4.1.3 20070831 (prerelease) (Debian 4.1.2-16)

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

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

It's afaik a dependency of gcc.

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

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

Don't worry, this is OK. (Ulf did this, and indeed - you could argue
about it's validity).

-- 
Bye, Peter Korsgaard

  reply	other threads:[~2008-04-04  9:37 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
2008-04-04  9:37                   ` Peter Korsgaard [this message]
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=8763uyufji.fsf@macbook.be.48ers.dk \
    --to=jacmet@uclibc.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.