Skip to content

Commit

Permalink
Backed out 2 changesets (bug 1836874, bug 1836875) because will break…
Browse files Browse the repository at this point in the history
… win PGO and SM jobs(as requested by Ryan) CLOSED TREE

Backed out changeset 706fc856ba78 (bug 1836875)
Backed out changeset 93c2b16409e0 (bug 1836874)
  • Loading branch information
Cristian Tuns committed Jul 2, 2023
1 parent 424038f commit 377011c
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 12 deletions.
4 changes: 2 additions & 2 deletions browser/installer/windows/nsis/defines.nsi.in
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,10 @@
!define MinSupportedVer "Microsoft Windows 10 for ARM"
#else
!define ARCH "x64"
!define MinSupportedVer "Microsoft Windows 10 x64"
!define MinSupportedVer "Microsoft Windows 7 x64"
#endif
#else
!define MinSupportedVer "Microsoft Windows 10"
!define MinSupportedVer "Microsoft Windows 7"
!define ARCH "x86"
#endif

Expand Down
5 changes: 3 additions & 2 deletions browser/installer/windows/nsis/installer.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -1840,8 +1840,8 @@ Function .onInit
; SSE2 instruction set is available. Result returned in $R7.
System::Call "kernel32::IsProcessorFeaturePresent(i 10)i .R7"

; Windows 8.1/Server 2012 R2 and lower are not supported.
${Unless} ${AtLeastWin10}
; Windows NT 6.0 (Vista/Server 2008) and lower are not supported.
${Unless} ${AtLeastWin7}
${If} "$R7" == "0"
strCpy $R7 "$(WARN_MIN_SUPPORTED_OSVER_CPU_MSG)"
${Else}
Expand All @@ -1862,6 +1862,7 @@ Function .onInit
!ifdef HAVE_64BIT_BUILD
${If} "${ARCH}" == "AArch64"
${IfNot} ${IsNativeARM64}
${OrIfNot} ${AtLeastWin10}
MessageBox MB_OKCANCEL|MB_ICONSTOP "$(WARN_MIN_SUPPORTED_OSVER_MSG)" IDCANCEL +2
ExecShell "open" "${URLSystemRequirements}"
Quit
Expand Down
4 changes: 2 additions & 2 deletions browser/installer/windows/nsis/stub.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -295,8 +295,8 @@ Function .onInit
; SSE2 instruction set is available.
System::Call "kernel32::IsProcessorFeaturePresent(i 10)i .R7"

; Windows 8.1/Server 2012 R2 and lower are not supported.
${Unless} ${AtLeastWin10}
; Windows NT 6.0 (Vista/Server 2008) and lower are not supported.
${Unless} ${AtLeastWin7}
${If} "$R7" == "0"
strCpy $R7 "$(WARN_MIN_SUPPORTED_OSVER_CPU_MSG)"
${Else}
Expand Down
8 changes: 6 additions & 2 deletions js/src/old-configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -379,8 +379,12 @@ case "$target" in
WIN32_GUI_EXE_LDFLAGS=-mwindows
else
TARGET_COMPILER_ABI=msvc
# Use subsystem version 6.03 to work around bug 1837000
WIN32_SUBSYSTEM_VERSION=6.03
# aarch64 doesn't support subsystems below 6.02
if test "$CPU_ARCH" = "aarch64"; then
WIN32_SUBSYSTEM_VERSION=6.02
else
WIN32_SUBSYSTEM_VERSION=6.01
fi
WIN32_CONSOLE_EXE_LDFLAGS=-SUBSYSTEM:CONSOLE,$WIN32_SUBSYSTEM_VERSION
WIN32_GUI_EXE_LDFLAGS=-SUBSYSTEM:WINDOWS,$WIN32_SUBSYSTEM_VERSION
DSO_LDOPTS=-SUBSYSTEM:WINDOWS,$WIN32_SUBSYSTEM_VERSION
Expand Down
8 changes: 6 additions & 2 deletions old-configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -447,8 +447,12 @@ case "$target" in
LDFLAGS="$LDFLAGS -Wl,--no-insert-timestamp"
else
TARGET_COMPILER_ABI=msvc
# Use subsystem version 6.03 to work around bug 1837000
WIN32_SUBSYSTEM_VERSION=6.03
# aarch64 doesn't support subsystems below 6.02
if test "$CPU_ARCH" = "aarch64"; then
WIN32_SUBSYSTEM_VERSION=6.02
else
WIN32_SUBSYSTEM_VERSION=6.01
fi
WIN32_CONSOLE_EXE_LDFLAGS=-SUBSYSTEM:CONSOLE,$WIN32_SUBSYSTEM_VERSION
WIN32_GUI_EXE_LDFLAGS=-SUBSYSTEM:WINDOWS,$WIN32_SUBSYSTEM_VERSION
DSO_LDOPTS=-SUBSYSTEM:WINDOWS,$WIN32_SUBSYSTEM_VERSION
Expand Down
4 changes: 2 additions & 2 deletions toolkit/mozapps/installer/windows/nsis/common.nsh
Original file line number Diff line number Diff line change
Expand Up @@ -5379,8 +5379,8 @@
Quit
${EndIf}

; Windows 8.1/Server 2012 R2 and lower are not supported.
${Unless} ${AtLeastWin10}
; Windows NT 6.0 (Vista/Server 2008) and lower are not supported.
${Unless} ${AtLeastWin7}
MessageBox MB_OK|MB_ICONSTOP "$R9"
; Nothing initialized so no need to call OnEndCommon
Quit
Expand Down

0 comments on commit 377011c

Please sign in to comment.