Mac M1: Build GNU Arm toolchain fails!
Hello,
I downloaded the 2021.10 source tarball and tried to build according to the instructions. Unfortunately the build fails as the Mac M1 Monterey compiler can't assemble x86 instructions it seems.
Is there something I can do to make this work? Running the tools via Rosetta is painfully slow...
/bin/sh ../libtool --mode=compile --tag=CC /Users/
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/Users/
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/Users/
/bin/sh ../libtool --mode=compile --tag=CC /Users/
tmp-add_n.s:86:6: error: unknown token in expression
mov %ecx, %eax
^
tmp-add_n.s:86:6: error: invalid operand
mov %ecx, %eax
^
tmp-add_n.s:87:10: error: unknown token in expression
shr $2, %rcx
^
tmp-add_n.s:87:10: error: invalid operand
shr $2, %rcx
^
tmp-add_n.s:88:10: error: unknown token in expression
and $3, %eax
^
tmp-add_n.s:88:10: error: invalid operand
and $3, %eax
^
tmp-add_n.s:89:9: error: unknown token in expression
bt $0, %r8
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Markus Handell for more information if necessary.