https://sourceware.org/bugzilla/show_bug.cgi?id=31544

            Bug ID: 31544
           Summary: Incorrect default subsystem version for POSIX PE
                    binaries
           Product: binutils
           Version: 2.39
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: pali at kernel dot org
  Target Milestone: ---

GNU LD currently by default for POSIX PE binaries generated by
--subsystem=posix option sets subsystem version to 4.0.

MS LINK.EXE (via /SUBSYSTEM:POSIX) sets POSIX subsystem version to 19.90.

Version 4.0 refers to Windows version, 19.90 refers to POSIX 1990.

GNU LD should follow what MS LINK.EXE sets as POSIX PE binaries are not for
windows 4.0 subsystem.

Subsystem version via GNU LD can be explicitly set via --subsystem=posix:19.90
and this should be the default version when just --subsystem=posix is
specified.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to