https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107159

            Bug ID: 107159
           Summary: x86_64-elf freestanding target should by default build
                    -mno-red-zone and -m32 multi-lib
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: unlvsur at live dot com
  Target Milestone: ---

This wiki says x86_64-elf needs no red zone multilibs for writing the operating
system kernel. I suggest adding -m32 and -mno-red-zone multilibs.
https://wiki.osdev.org/Libgcc_without_red_zone

Reply via email to