Bug 26042 - build errors with gcc for arm
Summary: build errors with gcc for arm
Status: NEW
Alias: None
Product: liboil
Classification: Unclassified
Component: unknown (show other bugs)
Version: unspecified
Hardware: ARM Linux (All)
: medium normal
Assignee: David Schleef
QA Contact: David Schleef
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-14 06:46 UTC by Stefan Kost
Modified: 2010-02-04 12:21 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Stefan Kost 2010-01-14 06:46:25 UTC
liboil 0.3.15-1maemo7+0security1+0m6
...
make[4]: Entering directory `/home/kaltsi/tmp/bugs/liboil-0.3.15/liboil/arm'
/bin/sh ../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.
-I../..    -Wall -D_BSD_SOURCE -D_GNU_SOURCE -I../.. -DOIL_ENABLE_UNSTABLE_API
-mfpu=neon -Wall -g -O3 -c -o libarm_la-math_vfp.lo `test -f 'math_vfp.c' ||
echo './'`math_vfp.c
mkdir .libs
 cc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -D_BSD_SOURCE -D_GNU_SOURCE -I../..
-DOIL_ENABLE_UNSTABLE_API -mfpu=neon -Wall -g -O3 -c math_vfp.c  -fPIC -DPIC -o
.libs/libarm_la-math_vfp.o
 cc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -D_BSD_SOURCE -D_GNU_SOURCE -I../..
-DOIL_ENABLE_UNSTABLE_API -mfpu=neon -Wall -g -O3 -c math_vfp.c -o
libarm_la-math_vfp.o >/dev/null 2>&1
/bin/sh ../../libtool --mode=compile cc  -Wall -g -O3 -c -o math_vfp_asm.lo
math_vfp_asm.S
 cc -Wall -g -O3 -c math_vfp_asm.S  -fPIC -DPIC -o .libs/math_vfp_asm.o
math_vfp_asm.S: Assembler messages:
math_vfp_asm.S:107: Error: selected processor does not support `fldmias
r1!,{s0}'
math_vfp_asm.S:107: Error: selected processor does not support `fldmias
r2!,{s1}'
math_vfp_asm.S:107: Error: selected processor does not support `fadds s2,s0,s1'
math_vfp_asm.S:107: Error: selected processor does not support `fstmias
r0!,{s2}'
math_vfp_asm.S:107: Error: selected processor does not support `fmrx lr,fpscr'
math_vfp_asm.S:107: Error: selected processor does not support `fmxr fpscr,fp'
math_vfp_asm.S:107: Error: selected processor does not support `fldmias
r1!,{s8,s9,s10,s11,s12,s13,s14,s15}'
math_vfp_asm.S:107: Error: selected processor does not support `fldmias
r2!,{s16,s17,s18,s19,s20,s21,s22,s23}'
math_vfp_asm.S:107: Error: selected processor does not support `fadds
s24,s8,s16'
math_vfp_asm.S:107: Error: selected processor does not support `fstmias
r0!,{s24,s25,s26,s27,s28,s29,s30,s31}'
math_vfp_asm.S:107: Error: selected processor does not support `fmxr fpscr,lr'
math_vfp_asm.S:108: Error: selected processor does not support `fldmiad
r1!,{d0}'
...
Comment 1 David Schleef 2010-02-04 12:21:24 UTC
This should fix it:

commit 7a154119019b14aa532c73e635be4e4905f0652e
Author: David Schleef <ds@schleef.org>
Date:   Thu Feb 4 11:53:30 2010 -0800

    Add --enable-vfp
    
    Patch from Kalle Vahlman.  Fixes #12454



Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.