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

[WIP] Upgrade frontend & libs to v2.111 #4877

Draft
wants to merge 688 commits into
base: master
Choose a base branch
from
Draft

[WIP] Upgrade frontend & libs to v2.111 #4877

wants to merge 688 commits into from

Conversation

kinke
Copy link
Member

@kinke kinke commented Mar 14, 2025

No description provided.

Reavershark and others added 30 commits January 8, 2025 21:49
Fix building druntime with all possible `-debug=` flags
…rsion

Place the `version(linux):` in `core.sys.linux.sys.procfs` higher.
Fix "Casting class references to void* should be `@safe`"
Make subtracting pointers of different types an error
This reverts commit 1c06608.

PR dlang/dmd!17495 was originally merged in an incomplete state. Since there are
non-trivial obstacles to completing it, revert the incomplete changes
instead.

See PR dlang/dmd!20670 for more information.
Revert "Enable -preview=fieldwise by default"
For both GCC and LLVM, `__builtin_expect` and `llvm_expect` respectively
return an integer, not a boolean. This triggers a compiler error as
implicit narrow conversions are not allowed.
* Use const when possible

* Fix error
kinke and others added 3 commits March 22, 2025 20:49
Primarily to fix (druntime) backtraces with optimized code for those
targets, incl. prebuilt release druntime/Phobos.

Fixes #4594 and #4694.
@kinke kinke force-pushed the merge-2.111 branch 2 times, most recently from b9c2ac4 to 58c2ea1 Compare March 22, 2025 23:44
@kinke
Copy link
Member Author

kinke commented Mar 23, 2025

Looks like there's a single remaining failure - lit-test sanitizers/asan_fiber.d with RT_SUPPORT_SANITIZERS=ON. core.thread.fiber has been split up into a package; I've checked the (messy) LDC-specific diff before and after, and couldn't spot an obvious problem.

@the-horo
Copy link
Contributor

Looks like there's a single remaining failure - lit-test sanitizers/asan_fiber.d with RT_SUPPORT_SANITIZERS=ON. core.thread.fiber has been split up into a package; I've checked the (messy) LDC-specific diff before and after, and couldn't spot an obvious problem.

Nothing from me either but I did spot

locks[idx].atomicStore(false);

becoming

It was originally added in fa4f032

@kinke
Copy link
Member Author

kinke commented Mar 24, 2025

Thx for checking! Yeah saw that diff too and thought this was just an old workaround (for a compiler warning); looks like it should be restored, but I'm almost certain it won't fix the problem at hand.

@kinke
Copy link
Member Author

kinke commented Mar 25, 2025

lit-test sanitizers/asan_fiber.d with RT_SUPPORT_SANITIZERS=ON

Little correction: on macOS arm64 at least; Linux x86_64 is fine (tested by 2 CI jobs). So might be Darwin and/or AArch64 specific.

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.