Skip to content

Include SDC GC - #2

Open
kinke wants to merge 22 commits into
sym-1.40.xfrom
newgc
Open

Include SDC GC#2
kinke wants to merge 22 commits into
sym-1.40.xfrom
newgc

Conversation

@kinke

@kinke kinke commented Nov 17, 2024

Copy link
Copy Markdown

No description provided.

@kinke
kinke force-pushed the newgc branch 2 times, most recently from 5e02e4a to eb9c108 Compare March 12, 2025 17:17
Conflicts:
	.github/actions/4d-test-libs/action.yml
	.github/actions/6-integration-test/action.yml
@kinke

kinke commented May 2, 2025

Copy link
Copy Markdown
Author

Damn, now we have the problem of GitHub Actions not providing the Ubuntu-20 runners anymore. LDC master is using Ubuntu 22, with higher min glibc version requirement accordingly. For our Symmetry CI runners, a package built on Ubuntu 22 might not work on the Debian-11 sil-dev CI runners anymore. I wanted to get rid of Debian 11 support, but with the bump to D v2.111, not having to bump it now already.

The other alternative would be using a Ubuntu-20 container and building in there; that might require a few YAML changes only. I guess I'll try that.

@schveiguy

Copy link
Copy Markdown
Collaborator

@kinke should we close this PR? I feel like it just adds another identical run of the CI actions (there is one for the branch, and one for the inevitable tag).

@kinke

kinke commented May 2, 2025

Copy link
Copy Markdown
Author

Well I guess this branch/PR reaches EOL soon anyway - and the PR is handy for the discussion (although it doesn't need to remain open for that).

kinke and others added 2 commits May 2, 2025 23:37
… breakage (ldc-developers#4902)

But keep using Xcode v16 (the default version for macos-15), not v15.4.
By running the Linux x86_64 job in a Ubuntu 20 container.
@kinke

kinke commented May 2, 2025

Copy link
Copy Markdown
Author

Oh, have you force-pushed the tag? - Please wait until the branch workflow is through, there was still a problem caused by running in a container.

@kinke

kinke commented May 2, 2025

Copy link
Copy Markdown
Author

I feel like it just adds another identical run of the CI actions (there is one for the branch, and one for the inevitable tag).

There are actually 2 identical runs for each push here (branch + PR) - identical because the target branch doesn't have anything newer to merge in.

The tag workflow is slightly different - it uses an LLVM without assertions, which also disables LDC assertions. So tagged CI builds are significantly faster than all other CI builds.

@schveiguy

Copy link
Copy Markdown
Collaborator

OK, sorry. I just didn't want to litter the repo with subsequent tags. I will wait to push the tag, and just do lucky 13 I guess lol.

@kinke

kinke commented May 2, 2025

Copy link
Copy Markdown
Author

Okay, green now. - No too strong opinion from my side wrt. whether to force-push again or go with 13, but e.g. it's not like my local tag was updated after your force push. Not even after an explicit git fetch sym v1.40.1-sym1-newgc12 (and something like git show sym/v… doesn't work either) , so I guess one would need to add extra flags to get an updated tag. And the implicit GitHub release could potentially be affected too (pointing to an older commit), no idea.

kinke pushed a commit that referenced this pull request Feb 3, 2026
Limit the number of platforms that this is done on.  A inspection of
some libc implementations of fork has identified the main culprits,
don't need to apply this to any others.

MacOS testsuite also regressed as a result on calling this code, it's
not clear why, but the backtrace is:
```
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)
  * frame #0: 0x00007ff81abe6ee3 libsystem_platform.dylib`_os_unfair_lock_recursive_abort + 23
    frame #1: 0x00007ff81abe12da libsystem_platform.dylib`_os_unfair_lock_lock_slow + 247
    frame #2: 0x00007ff81abccd44 libsystem_pthread.dylib`_pthread_atfork_prepare_handlers + 48
    frame #3: 0x00007ff825dc2705 libSystem.B.dylib`libSystem_atfork_prepare + 25
    frame #4: 0x00007ff81aac17e1 libsystem_c.dylib`fork + 24
    frame #5: 0x0000000101f730ee test_runner`core.internal.backtrace.dwarf.resolveAddressesWithAtos(Location[]) + 210
```
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.

2 participants