https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101987
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Last reconfirmed| |2021-08-19 Status|UNCONFIRMED |WAITING --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- GCC seems to be involving as correctly with -g on the trunk: ./as --gdwarf2 -v -EL -mabi=lp64 -o /tmp/ccu6moah.o /tmp/ccOieH6c.s Can you provide the output of "aarch64-none-elf-gcc -v -g boot.S -c"