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

AzureLinux verticals are failing #4866

Closed
ViktorHofer opened this issue Jan 31, 2025 · 5 comments · Fixed by dotnet/sdk#46445
Closed

AzureLinux verticals are failing #4866

ViktorHofer opened this issue Jan 31, 2025 · 5 comments · Fixed by dotnet/sdk#46445

Comments

@ViktorHofer
Copy link
Member

ViktorHofer commented Jan 31, 2025

https://dev.azure.com/dnceng/internal/_build/results?buildId=2632245&view=results

    /__w/1/s/src/runtime/src/coreclr/pal/src/thread/process.cpp:2572:16: error: use of undeclared identifier 'MEMBARRIER_CMD_PRIVATE_EXPEDITED'
       2572 |         mask & MEMBARRIER_CMD_PRIVATE_EXPEDITED)
            |                ^
      [ 85%] Building CXX object pal/src/CMakeFiles/coreclrpal.dir/arch/amd64/signalhandlerhelper.cpp.o
      /__w/1/s/src/runtime/src/coreclr/pal/src/thread/process.cpp:2575:24: error: use of undeclared identifier 'MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED'
       2575 |         if (membarrier(MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED, 0, 0) == 0)
            |                        ^
      [ 85%] Built target eventing_headers
      /__w/1/s/src/runtime/src/coreclr/pal/src/thread/process.cpp:2640:33: error: use of undeclared identifier 'MEMBARRIER_CMD_PRIVATE_EXPEDITED'
       2640 |         int status = membarrier(MEMBARRIER_CMD_PRIVATE_EXPEDITED, 0, 0);
            |                                 ^
      3 errors generated.
      make[3]: *** [pal/src/CMakeFiles/coreclrpal.dir/build.make:944: pal/src/CMakeFiles/coreclrpal.dir/thread/process.cpp.o] Error 1
      make[3]: *** Waiting for unfinished jobs....

Maybe regressed with dotnet/sdk@affada6?

@ViktorHofer
Copy link
Member Author

cc @jkotas (dotnet/runtime#111943)

@jkotas
Copy link
Member

jkotas commented Jan 31, 2025

The problem is that the build uses azurelinux-3.0-net9.0-cross-amd64 container.

We need to update to azurelinux-3.0-net10.0-cross-amd64 container. It is what dotnet/runtime main is built on top of: https://github.com/search?q=repo%3Adotnet%2Fruntime%20azurelinux-3.0-net10.0-cross-amd64&type=code

@jkotas
Copy link
Member

jkotas commented Jan 31, 2025

Should this be fixed in dotnet/sdk or dotnet/dotnet?

@ViktorHofer
Copy link
Member Author

dotnet/sdk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants