This is the mail archive of the gcc-bugs@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]

[Bug jit/64810] jit not working on armv7hl ("ld: error: /tmp/libgccjit-ZGemdr/fake.so uses VFP register arguments, /tmp/ccJFCBsE.o does not")


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64810

--- Comment #4 from ramana.radhakrishnan at arm dot com <ramana.radhakrishnan at arm dot com> ---
On 27/01/15 12:27, jakub at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64810
>
> Jakub Jelinek <jakub at gcc dot gnu.org> changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                   CC|                            |jakub at gcc dot gnu.org
>
> --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
> Both the compiler and libgccjit were configured with:
> --with-tune=cortex-a8 --with-arch=armv7-a --with-float=hard
> --with-fpu=vfpv3-d16 --with-abi=aapcs-linux


The --with-abi=aapcs-linux in addition to the --with-float=hard argument 
is just wrong. In fact it allows for a case where if the order of 
command line arguments passed to the compiler if in some way is wrong, 
the code generated will force the compiler into passing floating point 
parameters through the integer registers rather than fp registers which 
is what the --with-float=hard configure time option is doing.

Really Fedora should remove this from the configure line as it only 
confuses people.

For the compiler built can you please post back the output is for a 
simple function that adds 2 float values and pushes it back up.

Ramana


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