


This GDB was configured as "-host=x86_64-pc-linux-gnu -target=aarch64-none-elf". Type "show copying" and "show warranty" for details. There is NO WARRANTY, to the extent permitted by law. This is free software: you are free to change and redistribute it. License GPLv3+: GNU GPL version 3 or later GNU gdb (GNU Toolchain for the A-profile Architecture 10.2-2020.11 (arm-10.16)) 10.1028-gitĬopyright (C) 2020 Free Software Foundation, Inc. Virt,gic-version=max,secure=true,virtualization=true -cpu cortex-a72Īnd here is the gdb run result. Now I run qemu baremetal program to debug the code. So I ran aarch64-none-elf-gcc -g test.c -specs=rdimon.specs I learned in the past the -specs=rdimon.specs compile options removes this errors.

I get undefined reference errors for _exit _sbrk _write _close _lseek _read _fstat and _isatty. To make long story short, I want to run arm64 baremetal hello world program on qemu. While trying to debug an inline assembly code, I met with another basic problem. Often a question leads me into another question.
