Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Problem when compile aarch64-softmmu #6

Open
MichaelInfinity opened this issue Aug 22, 2021 · 1 comment
Open

Problem when compile aarch64-softmmu #6

MichaelInfinity opened this issue Aug 22, 2021 · 1 comment

Comments

@MichaelInfinity
Copy link

MichaelInfinity commented Aug 22, 2021

I'm sorry to bother you, but there is some problems when i compiling the qemu-system-aarch64
the wrong code is:

LINK qemu-system-aarch64 hw/avatar/interrupts.o: In function `avatar_armv7m_nvic_forward_write': /home/michael/.avatar2/avatar-qemu/hw/avatar/interrupts.c:58: undefined reference to `get_current_pc' /home/michael/.avatar2/avatar-qemu/hw/avatar/interrupts.c:63: undefined reference to `rmem_tx_queue_ref' /home/michael/.avatar2/avatar-qemu/hw/avatar/interrupts.c:63: undefined reference to `qemu_avatar_mq_send' /home/michael/.avatar2/avatar-qemu/hw/avatar/interrupts.c:64: undefined reference to `rmem_rx_queue_ref' /home/michael/.avatar2/avatar-qemu/hw/avatar/interrupts.c:64: undefined reference to `qemu_avatar_mq_receive' hw/avatar/interrupts.o: In function `qmp_avatar_armv7m_enable_irq': /home/michael/.avatar2/avatar-qemu/hw/avatar/interrupts.c:88: undefined reference to `rmem_rx_queue_ref' /home/michael/.avatar2/avatar-qemu/hw/avatar/interrupts.c:92: undefined reference to `rmem_tx_queue_ref' /home/michael/.avatar2/avatar-qemu/hw/avatar/interrupts.c:79: undefined reference to `qemu_avatar_mq_open_read' /home/michael/.avatar2/avatar-qemu/hw/avatar/interrupts.c:84: undefined reference to `qemu_avatar_mq_open_write' /home/michael/.avatar2/avatar-qemu/hw/avatar/interrupts.c:88: undefined reference to `rmem_rx_queue_ref' /home/michael/.avatar2/avatar-qemu/hw/avatar/interrupts.c:89: undefined reference to `rmem_rx_queue_ref' /home/michael/.avatar2/avatar-qemu/hw/avatar/interrupts.c:90: undefined reference to `qemu_avatar_mq_open_read' /home/michael/.avatar2/avatar-qemu/hw/avatar/interrupts.c:92: undefined reference to `rmem_tx_queue_ref' /home/michael/.avatar2/avatar-qemu/hw/avatar/interrupts.c:93: undefined reference to `rmem_tx_queue_ref' /home/michael/.avatar2/avatar-qemu/hw/avatar/interrupts.c:94: undefined reference to `qemu_avatar_mq_open_write' hw/avatar/interrupts.o: In function `avatar_armv7m_exception_exit': /home/michael/.avatar2/avatar-qemu/hw/avatar/interrupts.c:147: undefined reference to `qemu_avatar_mq_send' /home/michael/.avatar2/avatar-qemu/hw/avatar/interrupts.c:148: undefined reference to `qemu_avatar_mq_receive' hw/avatar/interrupts.o: In function `avatar_armv7m_exception_enter': /home/michael/.avatar2/avatar-qemu/hw/avatar/interrupts.c:171: undefined reference to `qemu_avatar_mq_send' /home/michael/.avatar2/avatar-qemu/hw/avatar/interrupts.c:172: undefined reference to `qemu_avatar_mq_receive' collect2: error: ld returned 1 exit status Makefile:208: recipe for target 'qemu-system-aarch64' failed make: *** [qemu-system-aarch64] Error 1

Could you please help me about that?

@mariusmue
Copy link
Member

avatar2 does currently not (officially) support aarch64. There are some people who implemented aarch64 support for the configurable machine, for instance @AndrewFasano over at PANDA: panda-re/panda@1d932e7

However, this patchset is not "frontported" yet to the more recent avatar-qemu. Still, you could try your luck with panda (and avatar's PANDA target), or use this patchset as a base to add support to avatar-qemu. PRs & Contribution are more than welcome!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants