Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mimalloc: allow running in Windows Nano Server containers #4074

Merged
merged 1 commit into from
Nov 3, 2022

Conversation

dscho
Copy link
Member

@dscho dscho commented Oct 18, 2022

The GetNumaProcessorNode() symbol is not defined in Nano Server's DLLs (because that function is long deprecated). This caused Git no longer to work on Nano Server.

Instead of importing it statically, try to import it dynamically, and fall back gracefully if it cannot be loaded.

This fixes #4052

@dscho dscho self-assigned this Oct 18, 2022
The `GetNumaProcessorNode()` symbol is not defined in Nano Server's DLLs
(because that function is long deprecated). This caused Git no longer to
work on Nano Server.

Instead of importing it statically, try to import it dynamically, and
fall back gracefully if it cannot be loaded.

This fixes git-for-windows#4052

Signed-off-by: Johannes Schindelin <[email protected]>
@dscho dscho force-pushed the mimalloc-and-nano-server branch from 8c2ffc0 to d32797f Compare November 2, 2022 15:32
dscho added a commit to dscho/git-sdk-64 that referenced this pull request Nov 2, 2022
dscho added a commit to dscho/git-sdk-64 that referenced this pull request Nov 2, 2022
dscho added a commit to dscho/git-sdk-64 that referenced this pull request Nov 2, 2022
dscho added a commit to dscho/git-sdk-64 that referenced this pull request Nov 2, 2022
dscho added a commit to dscho/git-sdk-64 that referenced this pull request Nov 2, 2022
dscho added a commit to dscho/git-sdk-64 that referenced this pull request Nov 2, 2022
It was reported in git-for-windows/git#4052
that Git for Windows v2.38.0 introduced a regression where `git.exe`
could no longer be run in Nano Server containers.

The issue was fixed in git-for-windows/git#4074

Let's add a workflow that verifies that Git for Windows does not regress
on this in the future.

Signed-off-by: Johannes Schindelin <[email protected]>
dscho added a commit to dscho/git-sdk-64 that referenced this pull request Nov 2, 2022
@dscho dscho force-pushed the mimalloc-and-nano-server branch from d32797f to 4afcf0e Compare November 2, 2022 21:20
dscho added a commit to dscho/git-sdk-64 that referenced this pull request Nov 2, 2022
It was reported in git-for-windows/git#4052
that Git for Windows v2.38.0 introduced a regression where `git.exe`
could no longer be run in Nano Server containers.

The issue was fixed in git-for-windows/git#4074

Let's add a workflow that verifies that Git for Windows does not regress
on this in the future.

Signed-off-by: Johannes Schindelin <[email protected]>
@dscho dscho added this to the Next release milestone Nov 3, 2022
@dscho dscho merged commit 5d506d9 into git-for-windows:main Nov 3, 2022
@dscho dscho deleted the mimalloc-and-nano-server branch November 3, 2022 19:21
git-for-windows-ci pushed a commit that referenced this pull request Nov 3, 2022
The `GetNumaProcessorNode()` symbol is not defined in Nano Server's DLLs 
(because that function is long deprecated). This caused Git no longer to
work on Nano Server.

Instead of importing it statically, try to import it dynamically, and
fall back gracefully if it cannot be loaded.

This fixes #4052
git-for-windows-ci pushed a commit that referenced this pull request Nov 3, 2022
The `GetNumaProcessorNode()` symbol is not defined in Nano Server's DLLs 
(because that function is long deprecated). This caused Git no longer to
work on Nano Server.

Instead of importing it statically, try to import it dynamically, and
fall back gracefully if it cannot be loaded.

This fixes #4052
dscho added a commit to git-for-windows/build-extra that referenced this pull request Nov 3, 2022
A [regression](git-for-windows/git#4052)
introduced in Git for Windows v2.38.0 that prevented
`git.exe` from running in Windows Nano Server containers [was
fixed](git-for-windows/git#4074).

Signed-off-by: Johannes Schindelin <[email protected]>
dscho added a commit that referenced this pull request Nov 3, 2022
The `GetNumaProcessorNode()` symbol is not defined in Nano Server's DLLs 
(because that function is long deprecated). This caused Git no longer to
work on Nano Server.

Instead of importing it statically, try to import it dynamically, and
fall back gracefully if it cannot be loaded.

This fixes #4052
dscho added a commit that referenced this pull request Nov 3, 2022
The `GetNumaProcessorNode()` symbol is not defined in Nano Server's DLLs 
(because that function is long deprecated). This caused Git no longer to
work on Nano Server.

Instead of importing it statically, try to import it dynamically, and
fall back gracefully if it cannot be loaded.

This fixes #4052
git-for-windows-ci pushed a commit that referenced this pull request Nov 4, 2022
The `GetNumaProcessorNode()` symbol is not defined in Nano Server's DLLs 
(because that function is long deprecated). This caused Git no longer to
work on Nano Server.

Instead of importing it statically, try to import it dynamically, and
fall back gracefully if it cannot be loaded.

This fixes #4052
dscho added a commit that referenced this pull request Nov 4, 2022
The `GetNumaProcessorNode()` symbol is not defined in Nano Server's DLLs 
(because that function is long deprecated). This caused Git no longer to
work on Nano Server.

Instead of importing it statically, try to import it dynamically, and
fall back gracefully if it cannot be loaded.

This fixes #4052
dscho added a commit that referenced this pull request Nov 4, 2022
The `GetNumaProcessorNode()` symbol is not defined in Nano Server's DLLs 
(because that function is long deprecated). This caused Git no longer to
work on Nano Server.

Instead of importing it statically, try to import it dynamically, and
fall back gracefully if it cannot be loaded.

This fixes #4052
dscho added a commit that referenced this pull request Nov 7, 2022
The `GetNumaProcessorNode()` symbol is not defined in Nano Server's DLLs 
(because that function is long deprecated). This caused Git no longer to
work on Nano Server.

Instead of importing it statically, try to import it dynamically, and
fall back gracefully if it cannot be loaded.

This fixes #4052
git-for-windows-ci pushed a commit that referenced this pull request Nov 8, 2022
The `GetNumaProcessorNode()` symbol is not defined in Nano Server's DLLs 
(because that function is long deprecated). This caused Git no longer to
work on Nano Server.

Instead of importing it statically, try to import it dynamically, and
fall back gracefully if it cannot be loaded.

This fixes #4052
dscho added a commit that referenced this pull request Nov 9, 2022
The `GetNumaProcessorNode()` symbol is not defined in Nano Server's DLLs 
(because that function is long deprecated). This caused Git no longer to
work on Nano Server.

Instead of importing it statically, try to import it dynamically, and
fall back gracefully if it cannot be loaded.

This fixes #4052
dscho added a commit that referenced this pull request Nov 9, 2022
The `GetNumaProcessorNode()` symbol is not defined in Nano Server's DLLs 
(because that function is long deprecated). This caused Git no longer to
work on Nano Server.

Instead of importing it statically, try to import it dynamically, and
fall back gracefully if it cannot be loaded.

This fixes #4052
dscho added a commit to dscho/git-sdk-64 that referenced this pull request Nov 9, 2022
It was reported in git-for-windows/git#4052
that Git for Windows v2.38.0 introduced a regression where `git.exe`
could no longer be run in Nano Server containers.

The issue was fixed in git-for-windows/git#4074

Let's add a workflow that verifies that Git for Windows does not regress
on this in the future.

Signed-off-by: Johannes Schindelin <[email protected]>
dscho added a commit that referenced this pull request Nov 9, 2022
The `GetNumaProcessorNode()` symbol is not defined in Nano Server's DLLs 
(because that function is long deprecated). This caused Git no longer to
work on Nano Server.

Instead of importing it statically, try to import it dynamically, and
fall back gracefully if it cannot be loaded.

This fixes #4052
dscho added a commit that referenced this pull request Nov 10, 2022
The `GetNumaProcessorNode()` symbol is not defined in Nano Server's DLLs 
(because that function is long deprecated). This caused Git no longer to
work on Nano Server.

Instead of importing it statically, try to import it dynamically, and
fall back gracefully if it cannot be loaded.

This fixes #4052
dscho added a commit that referenced this pull request Nov 10, 2022
The `GetNumaProcessorNode()` symbol is not defined in Nano Server's DLLs 
(because that function is long deprecated). This caused Git no longer to
work on Nano Server.

Instead of importing it statically, try to import it dynamically, and
fall back gracefully if it cannot be loaded.

This fixes #4052
dscho added a commit that referenced this pull request Nov 12, 2022
The `GetNumaProcessorNode()` symbol is not defined in Nano Server's DLLs 
(because that function is long deprecated). This caused Git no longer to
work on Nano Server.

Instead of importing it statically, try to import it dynamically, and
fall back gracefully if it cannot be loaded.

This fixes #4052
git-for-windows-ci pushed a commit that referenced this pull request Nov 15, 2022
The `GetNumaProcessorNode()` symbol is not defined in Nano Server's DLLs 
(because that function is long deprecated). This caused Git no longer to
work on Nano Server.

Instead of importing it statically, try to import it dynamically, and
fall back gracefully if it cannot be loaded.

This fixes #4052
dscho added a commit that referenced this pull request Nov 15, 2022
The `GetNumaProcessorNode()` symbol is not defined in Nano Server's DLLs 
(because that function is long deprecated). This caused Git no longer to
work on Nano Server.

Instead of importing it statically, try to import it dynamically, and
fall back gracefully if it cannot be loaded.

This fixes #4052
dscho added a commit that referenced this pull request Nov 15, 2022
The `GetNumaProcessorNode()` symbol is not defined in Nano Server's DLLs 
(because that function is long deprecated). This caused Git no longer to
work on Nano Server.

Instead of importing it statically, try to import it dynamically, and
fall back gracefully if it cannot be loaded.

This fixes #4052
dscho added a commit that referenced this pull request Nov 16, 2022
The `GetNumaProcessorNode()` symbol is not defined in Nano Server's DLLs 
(because that function is long deprecated). This caused Git no longer to
work on Nano Server.

Instead of importing it statically, try to import it dynamically, and
fall back gracefully if it cannot be loaded.

This fixes #4052
dscho added a commit that referenced this pull request Nov 16, 2022
The `GetNumaProcessorNode()` symbol is not defined in Nano Server's DLLs 
(because that function is long deprecated). This caused Git no longer to
work on Nano Server.

Instead of importing it statically, try to import it dynamically, and
fall back gracefully if it cannot be loaded.

This fixes #4052
git-for-windows-ci pushed a commit that referenced this pull request Nov 16, 2022
The `GetNumaProcessorNode()` symbol is not defined in Nano Server's DLLs 
(because that function is long deprecated). This caused Git no longer to
work on Nano Server.

Instead of importing it statically, try to import it dynamically, and
fall back gracefully if it cannot be loaded.

This fixes #4052
git-for-windows-ci pushed a commit that referenced this pull request Nov 17, 2022
The `GetNumaProcessorNode()` symbol is not defined in Nano Server's DLLs 
(because that function is long deprecated). This caused Git no longer to
work on Nano Server.

Instead of importing it statically, try to import it dynamically, and
fall back gracefully if it cannot be loaded.

This fixes #4052
git-for-windows-ci pushed a commit that referenced this pull request Nov 17, 2022
The `GetNumaProcessorNode()` symbol is not defined in Nano Server's DLLs 
(because that function is long deprecated). This caused Git no longer to
work on Nano Server.

Instead of importing it statically, try to import it dynamically, and
fall back gracefully if it cannot be loaded.

This fixes #4052
Zeze1184 added a commit to https-github-com-Zeze1184/git that referenced this pull request Nov 22, 2022
dscho added a commit to dscho/git-sdk-64 that referenced this pull request Nov 24, 2022
It was reported in git-for-windows/git#4052
that Git for Windows v2.38.0 introduced a regression where `git.exe`
could no longer be run in Nano Server containers.

The issue was fixed in git-for-windows/git#4074

Let's add a workflow that verifies that Git for Windows does not regress
on this in the future.

Signed-off-by: Johannes Schindelin <[email protected]>
@dscho dscho mentioned this pull request Jan 11, 2023
dscho added a commit that referenced this pull request Jan 12, 2023
I recently [upstreamed the mimalloc fixes we developed in Git for
Windows](microsoft/mimalloc#654), most notably
the [fix for running in Windows Nano
Server](#4074). In the
meantime, that PR was accepted and a new version was created from it
(that also includes a couple of other fixes). Let's integrate the latest
version.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Regression: MinGit 2.38.0 fails to execute in Windows Nano Server
1 participant