[Bug other/107159] New: x86_64-elf freestanding target should by default build -mno-red-zone and -m32 multi-lib

unlvsur at live dot com gcc-bugzilla@gcc.gnu.org
Wed Oct 5 16:16:48 GMT 2022


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


More information about the Gcc-bugs mailing list