This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 4.7.2 install fails on Raspberry Pi


On 6 March 2013 05:10, Bela Markus wrote:
> Hi,
>
> 4.7.2 installation fails on piCore Linux running on Raspberry Pi (ARM v6).
> Compiler is GCC 4.6.3, ppl/cloog not installed. Build script, running
> outside of source tree:
>
> --------------------------------------------------------------------------------------------------------
> #!/bin/sh
>
> export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig
> export CFLAGS="-Os -pipe"
> export CXXFLAGS="-Os -pipe -fno-rtti -fno-exceptions"
> export LDFLAGS=""
>
> # Configure
>
> ../gcc-4.7.2/configure \
> --prefix=/usr/local \
> --enable-languages=c,c++ \
> --with-pkgversion=piCore \
> --enable-shared \
> --disable-multilib \
> --with-march=armv6 --with-fpu=vfp --with-float=hard \
> --disable-bootstrap
>
> # Build
>
> make
> --------------------------------------------------------------------------------------------------------
>
> It install 4.6.3 fine. However 4.7.2 fails in libgcc install with
>
> --------------------------------------------------------------------------------------------------------
> configure:3602: error: in
> `/mnt/mmcblk0p4/gcc-4.7.2/Build/armv6l-unknown-linux-gnueabihf/libgcc':
> configure:3605: error: cannot compute suffix of object files: cannot compile
> See `config.log' for more details.
> --------------------------------------------------------------------------------------------------------
>
> config.log attached.
>
> Any idea how to fix?

Did you look in config.log?
It shows the problem is:
conftest.c:1:0: sorry, unimplemented: -mfloat-abi=hard and VFP

Have you tried without that combination?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]