Skip to content

Update build to net9.0 images - #101630

Merged
jkotas merged 5 commits into
dotnet:mainfrom
richlander:azurelinux-net9.0
Apr 28, 2024
Merged

Update build to net9.0 images#101630
jkotas merged 5 commits into
dotnet:mainfrom
richlander:azurelinux-net9.0

Conversation

@richlander

@richlander richlander commented Apr 26, 2024

Copy link
Copy Markdown
Member

This change will update the branch to building with LLVM 18.1.4. Everything else should be the same relative to the net8.0 image flavor (which we intend to apply to release/8.0 branch in July or so).

Supports: #91826

dotnet/dotnet-buildtools-prereqs-docker#1015

@sbomer

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @dotnet/area-infrastructure-libraries
See info in area-owners.md if you want to be subscribed.

Comment thread docs/workflow/building/coreclr/linux-instructions.md Outdated
Co-authored-by: Adeel Mujahid <3840695+am11@users.noreply.github.com>
@richlander

Copy link
Copy Markdown
Member Author

Looks like the x86 build has a failure with the new compiler. Reverting that for now. We'll need to deal with that in a separate focused PR. Other architectures appear to be fine.

  /__w/1/s/src/coreclr/pal/inc/pal.h:3605:5: error: __sync builtin operation MUST have natural alignment (consider using __atomic). [-Werror,-Wsync-alignment]
   3605 |     __sync_val_compare_and_swap(
        |     ^
  /__w/1/s/src/coreclr/pal/inc/pal.h:3471:5: error: __sync builtin operation MUST have natural alignment (consider using __atomic). [-Werror,-Wsync-alignment]
   3471 |     __sync_add_and_fetch(lpAddend, (LONGLONG)1)
        |     ^
  /__w/1/s/src/coreclr/pal/inc/pal.h:3506:5: error: __sync builtin operation MUST have natural alignment (consider using __atomic). [-Werror,-Wsync-alignment]
   3506 |     __sync_sub_and_fetch(lpAddend, (LONGLONG)1)
        |     ^
  3 errors generated.

https://dev.azure.com/dnceng-public/public/_build/results?buildId=657718&view=logs&j=3e76e48d-899b-5193-2f21-2a0f6c53e9ff&t=a2c05d5c-b239-5644-4717-b3f9c339267b&l=752

@richlander

Copy link
Copy Markdown
Member Author

@lewing do you think the wasm failures are related to this change?

@jkotas

jkotas commented Apr 28, 2024

Copy link
Copy Markdown
Member

The wasm failures are know issues.

@jkotas jkotas left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@jkotas
jkotas merged commit 6313ff8 into dotnet:main Apr 28, 2024
@richlander
richlander deleted the azurelinux-net9.0 branch April 28, 2024 15:03
matouskozak pushed a commit to matouskozak/runtime that referenced this pull request Apr 30, 2024
* Update build to `net9.0` images

* Update docs/workflow/building/coreclr/linux-instructions.md

Co-authored-by: Adeel Mujahid <3840695+am11@users.noreply.github.com>

* Revert x86 build change

---------

Co-authored-by: Sven Boemer <sbomer@gmail.com>
Co-authored-by: Adeel Mujahid <3840695+am11@users.noreply.github.com>
michaelgsharp pushed a commit to michaelgsharp/runtime that referenced this pull request May 9, 2024
* Update build to `net9.0` images

* Update docs/workflow/building/coreclr/linux-instructions.md

Co-authored-by: Adeel Mujahid <3840695+am11@users.noreply.github.com>

* Revert x86 build change

---------

Co-authored-by: Sven Boemer <sbomer@gmail.com>
Co-authored-by: Adeel Mujahid <3840695+am11@users.noreply.github.com>
Ruihan-Yin pushed a commit to Ruihan-Yin/runtime that referenced this pull request May 30, 2024
* Update build to `net9.0` images

* Update docs/workflow/building/coreclr/linux-instructions.md

Co-authored-by: Adeel Mujahid <3840695+am11@users.noreply.github.com>

* Revert x86 build change

---------

Co-authored-by: Sven Boemer <sbomer@gmail.com>
Co-authored-by: Adeel Mujahid <3840695+am11@users.noreply.github.com>
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants