_fix_armhf
authorDebian BOINC Maintainers <pkg-boinc-devel@lists.alioth.debian.org>
Tue, 30 Sep 2014 12:49:40 +0000 (12:49 +0000)
committerGianfranco Costamagna <costamagnagianfranco@yahoo.it>
Tue, 30 Sep 2014 12:49:40 +0000 (12:49 +0000)
commit407ddb492e02bda52bde53de0632b120d0a2c507
tree58f2aaa230568cf04960575bc6943bbc54ca1c15
parentae225c4cc150ef445e50a69f992b334349ed4b27
_fix_armhf

Basically, the original assembly code for analyzeFuncs_neon.S and analyzeFuncs_vfp.S is writen for soft-float call convention. Since ARM has changed the way the function call with vfp, you will get a compilation error like the following if you don't modify the code.

/usr/bin/ld: error: seti_boinc uses VFP register arguments, analyzeFuncs_neon.o does not
/usr/bin/ld: failed to merge target specific data of file analyzeFuncs_neon.o
/usr/bin/ld: error: seti_boinc uses VFP register arguments, analyzeFuncs_vfp.o does not
/usr/bin/ld: failed to merge target specific data of file analyzeFuncs_vfp.o
collect2: error: ld returned 1 exit status
make[2]: *** [seti_boinc] Error 1

May be I should talk to Eric about making the changes in the main tree with #ifdef _armhf_ or somthing like that. meanwhile if you come across the compilation error above, you have the solution.

Gbp-Pq: Name 214_fix_armhf.patch
client/vector/analyzeFuncs_neon.S
client/vector/analyzeFuncs_vfp.S