4.7.2 install fails on Raspberry Pi
Bela Markus
bmarkus@hasix.org
Wed Mar 6 09:42:00 GMT 2013
Hi,
yes I found it on config.log and already running install without these
options. Native build takes 6 hours, will see the result a bit later. I
already tried and failed, it's a new run. However 4.6.3 installs fine so
it's a different behavior in 4.7.2
Thanks... Bela
2013.03.06. 10:30 keltezéssel, Jonathan Wakely Ãrta:
> 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?
>
>
More information about the Gcc-help
mailing list