linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: rabin@rab.in (Rabin Vincent)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: fix build error with GCC 4.5.0
Date: Fri, 5 Nov 2010 20:23:58 +0530	[thread overview]
Message-ID: <AANLkTimkSxWNL+aCALGsf5prBM_RHz0BMHCeNwKrTnfA@mail.gmail.com> (raw)
In-Reply-To: <19667.52998.909668.596635@pilspetsen.it.uu.se>

2010/11/5 Mikael Pettersson <mikpe@it.uu.se>:
> Rabin Vincent writes:
> ?> 2010/11/5 Mikael Pettersson <mikpe@it.uu.se>:
> ?> > Indeed. I suspect an improperly patched or configured gcc-4.5.0,
> ?> > or broken kernel sources. Especially considering that the kernel
> ?> > passes -msoft-float to gcc (see above).
> ?> >
> ?> > I know gcc-4.5.0 configured for arm-linux-gnueabi built working EABI
> ?> > kernels a few months ago.
> ?>
> ?> The kernel sources are clean Linus' tree, so I guess it must be the
> ?> compiler configuration then. ?Indeed, running the above mentioned cross
> ?> compiler with -msoft-float -mabi=aapcs-linux even on an empty source
> ?> file yields the same error. ?I've cc'd Tony here who I believe builds
> ?> these prebuilt compilers at http://kernel.org/pub/tools/crosstool/.
>
> How was that gcc configured? You can find out by running `arm-linux-gcc -v'.

$ arm-linux-gcc -v
Using built-in specs.
COLLECT_GCC=arm-linux-gcc
COLLECT_LTO_WRAPPER=[path
removed]/gcc-4.5.0-nolibc/arm-linux/bin/../libexec/gcc/arm-linux/4.5.0/lto-wrapper
Target: arm-linux
Configured with: /home/tony/buildall/src/gcc/configure
--target=arm-linux --enable-targets=all
--prefix=/opt/cross/gcc-4.5.0-nolibc/arm-linux/ --enable-languages=c
--with-newlib --without-headers --enable-sjlj-exceptions
--with-system-libunwind --disable-nls --disable-threads --disable-shared
--disable-libmudflap --disable-libssp --disable-libgomp
--disable-decimal-float --enable-checking=release
--with-mpfr=/home/tony/buildall/src/sys-x86_64
--with-gmp=/home/tony/buildall/src/sys-x86_64 --disable-bootstrap
Thread model: single
gcc version 4.5.0 (GCC)

-- 
Rabin

  reply	other threads:[~2010-11-05 14:53 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-04 18:56 [PATCH] ARM: fix build error with GCC 4.5.0 Rabin Vincent
2010-11-04 20:38 ` Måns Rullgård
2010-11-04 21:21   ` Mikael Pettersson
2010-11-05  0:36     ` Måns Rullgård
2010-11-05  2:47     ` Rabin Vincent
2010-11-05  9:31       ` Mikael Pettersson
2010-11-05 14:53         ` Rabin Vincent [this message]
2010-11-05 18:51           ` Mikael Pettersson
2010-11-06  1:36             ` Tony Breeds
2010-11-12  4:45             ` Tony Breeds
2010-11-12  8:15               ` Mikael Pettersson
2010-11-16  3:17                 ` Tony Breeds
2010-11-25  0:02                 ` Cross compilers available on kernel.org Tony Breeds

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=AANLkTimkSxWNL+aCALGsf5prBM_RHz0BMHCeNwKrTnfA@mail.gmail.com \
    --to=rabin@rab.in \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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;
as well as URLs for NNTP newsgroup(s).