gcc failed on genericarmv7ab

Bug #1329218 reported by Van Duc Uy on 2014-06-12
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro GCC
New
Undecided
Unassigned
Linaro OpenEmbedded
New
Undecided
Unassigned

Bug Description

Hi all,

I'm testing native gcc on genericarmv7ab that downloaded from http://snapshots.linaro.org/openembedded/images/lng-armv7ab-gcc-4.8/latest/linaro-image-lng-genericarmv7ab-20140611-232.rootfs.tar.gz

and see gcc was not configured correctly.

root@genericarmv7ab:~# gcc hello.c
In file included from /usr/include/features.h:402:0,
                 from /usr/include/stdio.h:27,
                 from hello.c:1:
/usr/include/gnu/stubs.h:7:29: fatal error: gnu/stubs-soft.h: No such file or directory # include <gnu/stubs-soft.h>
                             ^
compilation terminated.

root@genericarmv7ab:~# gcc -mhard-float hello.c
root@genericarmv7ab:~# ./a.out
a.out[524]: undefined instruction: pc=0000000000008300
Code: e5bcf2e0 e3a0b000 e3a0e000 e49d1004 (e1a0200d) Illegal instruction

root@genericarmv7ab:~# gcc -mhard-float -Wl,--be8 hello.c

root@genericarmv7ab:~# ./a.out
hello world
root@genericarmv7ab:~#

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers