Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Failing mpy-cross builds on aarch64-linux-gnu #7434

Closed
@andrewleech

Description

@andrewleech

Hi, I've got an automated mpy-cross building project at https://gitlab.com/alelec/mpy_cross in which I added aarch64-linux-gnu support for v1.14

Unfortunately though these builds have all been failing ever since #6939 (Implement NLR for AArch64 by @Jongy)

I use crossbuild docker image for building these like so:

docker run --rm -v $(pwd):/workdir -e CROSS_TRIPLE=aarch64-linux-gnu multiarch/crossbuild make -C mpy-cross

They're failing with:

make: Entering directory '/workdir/mpy-cross'
Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
GEN build/genhdr/mpversion.h
CC ../py/mpstate.c
CC ../py/nlr.c
CC ../py/nlrx86.c
CC ../py/nlrx64.c
CC ../py/nlrthumb.c
CC ../py/nlraarch64.c
/tmp/ccHi3CVG.s: Assembler messages:
/tmp/ccHi3CVG.s:7: Error: operand 1 should be a floating-point register -- `stp lr,x9,[x0,#16]'
/tmp/ccHi3CVG.s:41: Error: operand 1 should be a floating-point register -- `ldp lr,x9,[x1,#16]'
make: *** [build/py/nlraarch64.o] Error 1
../py/mkrules.mk:77: recipe for target 'build/py/nlraarch64.o' failed
make: Leaving directory '/workdir/mpy-cross'

How are you building your aarch64 port @Jongy do you know if there would be a different compiler version/flag needed for this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions