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

All Alpine319 legs are failed to build CoreCLR component #4345

Closed
Winniexu01 opened this issue Apr 19, 2024 · 3 comments · Fixed by dotnet/runtime#101302
Closed

All Alpine319 legs are failed to build CoreCLR component #4345

Winniexu01 opened this issue Apr 19, 2024 · 3 comments · Fixed by dotnet/runtime#101302
Labels
ops-monitor Issues created/handled by the source build monitor role untriaged

Comments

@Winniexu01
Copy link
Member

main build: https://dev.azure.com/dnceng/internal/_build/results?buildId=2434119

Working build: https://dev.azure.com/dnceng/internal/_build/results?buildId=2433339&view=logs&s=9b073b6c-199e-5782-2adb-83c30ea48e21&j=b9abe003-a5da-5729-0444-865506f15e35

Error:

  /vmr/src/runtime/src/coreclr/debug/daccess/cdac.cpp:51:25: error: assigning to 'intptr_t' (aka 'long') from incompatible type 'std::nullptr_t'
     51 |         m_cdac_handle = NULL;
        |                         ^~~~
  /usr/include/time.h:11:14: note: expanded from macro 'NULL'
     11 | #define NULL nullptr
        |              ^~~~~~~
  /vmr/src/runtime/src/coreclr/debug/daccess/cdac.cpp:65:23: error: invalid operands to binary expression ('intptr_t' (aka 'long') and 'std::nullptr_t')
     65 |     if (m_cdac_handle != NULL)
        |         ~~~~~~~~~~~~~ ^  ~~~~
  2 errors generated.
@Winniexu01 Winniexu01 added the ops-monitor Issues created/handled by the source build monitor role label Apr 19, 2024
Copy link

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

@MichaelSimons
Copy link
Member

@dotnet/dotnet-coreclr-admin - Can you please take a look? TIA

@jkotas
Copy link
Member

jkotas commented Apr 19, 2024

cc @elinor-fung @lambdageek

lambdageek added a commit to lambdageek/runtime that referenced this issue Apr 19, 2024
Apline defines NULL as std::nullptr which is not comparable/assignable
with intptr_t

Fixes dotnet/source-build#4345
elinor-fung pushed a commit to dotnet/runtime that referenced this issue Apr 19, 2024
Apline defines NULL as std::nullptr which is not comparable/assignable
with intptr_t

Fixes dotnet/source-build#4345
@github-project-automation github-project-automation bot moved this from Backlog to Done in .NET Source Build Apr 19, 2024
matouskozak pushed a commit to matouskozak/runtime that referenced this issue Apr 30, 2024
Apline defines NULL as std::nullptr which is not comparable/assignable
with intptr_t

Fixes dotnet/source-build#4345
Ruihan-Yin pushed a commit to Ruihan-Yin/runtime that referenced this issue May 30, 2024
Apline defines NULL as std::nullptr which is not comparable/assignable
with intptr_t

Fixes dotnet/source-build#4345
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ops-monitor Issues created/handled by the source build monitor role untriaged
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants