Skip to content

[WIP] gcc: update to 16.1.1+20260502. - #60505

Draft
oreo639 wants to merge 42 commits into
void-linux:masterfrom
oreo639:gcc16
Draft

[WIP] gcc: update to 16.1.1+20260502.#60505
oreo639 wants to merge 42 commits into
void-linux:masterfrom
oreo639:gcc16

Conversation

@oreo639

@oreo639 oreo639 commented May 11, 2026

Copy link
Copy Markdown
Member

Testing the changes

  • I tested the changes in this PR: briefly

[ci skip]

This restricts musl1.1 to specifically armv* architectures rather than all 32-bit architectures since armv* are the only ones officially supported.

I have removed the patches for --enable-autolink-libatomic as support for that was merged into gcc upstream.

I have also enabled libsanitizer for musl architectures.

TODO: libphobos currently fails to build on armv7l-musl and armv6l-musl, I did try reworking the time_t patch for the changes to libphobos but I haven't gotten it working atm. I have removed the patch for now. I can confirm the same issue happens on the latest release of ldc (2.42.x) as well. I have disabled gdc on those architectures temporarily until I have the time to fully debug it.

I also have yet to update the cross compilers (which I will do soon) or run a full test of the core packages as well as anything pulled in by the ISOs, which I will do when I have the time.

Note for merging: glibc and musl must be merged and built before everything else.

@oreo639
oreo639 force-pushed the gcc16 branch 2 times, most recently from 85cb438 to e7cc8a6 Compare May 11, 2026 20:28
@oreo639
oreo639 force-pushed the gcc16 branch 6 times, most recently from 47803cb to 97e0eed Compare May 12, 2026 08:24
@github-actions

Copy link
Copy Markdown

Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.

@github-actions github-actions Bot added the Stale label Aug 11, 2026
@dkwo

dkwo commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

To rebuild the base-system natively on aarch64-gnu:

  • *: switch to pkgconf as in [RFC] pkgconf #59980
  • dhcpcd: drop broken ntp from host, update to 10.5.2 dhcpcd: update to 10.5.2 #62110
  • f2fs-tools: patch 6617d15a660becc23825007ab3fc2d270b5b250f
  • gmp: patch 8e7bb4ae7a18b1405ea7f9cbcda450b7d920a901
  • libsasl: patches 6c5e359681cf341d190bb7677b6cd2ece570ba2c 79bce416883cab6dc45151575f2a66dc181c67e4 c3ccead6ee3773f624708ca22be41292cd5ce557
  • libxcrypt: update to 4.5.2 and patch 174c24d6e87aeae631bc0a7bb1ba983cf8def4de
  • m4: update to 1.4.21
  • mit-krb5: update to 1.22.2 and patch ad4dcf1856dadc4b352b5c8ff08e51c7290fb41f
  • openssh: CFLAGS+=" -Wno-error=discarded-qualifiers"
  • pam: update to 1.7.2 as in WIP: pam: update to 1.7.2. #60255
  • perl: CFLAGS+=" -Wno-error=implicit-function-declaration"
  • tar: patch from Arch Linux
  • texinfo: update to 7.3
  • xbps: build from master at commit=c5f41d5b8c1e5b0ed6a657595ec825555167e209
  • unzip, yasm, nvi: unmainteined, export CFLAGS="-std=gnu17 $CFLAGS"
  • ntp: broken, unmaintained.

Note to self: options ~offload,~flang in llvm22, used in mesa, rust-bindgen.

@github-actions github-actions Bot removed the Stale label Aug 14, 2026
@dkwo

dkwo commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

@oreo639 What do you think about updating glibc to 2.44 (which has most of the patches here) as well as m4 to 1.4.21 in this PR? I guess everything else can be done separately.

@oreo639

oreo639 commented Aug 17, 2026

Copy link
Copy Markdown
Member Author

What do you think about updating glibc to 2.44 (which has most of the patches here) as well as m4 to 1.4.21 in this PR? I guess everything else can be done separately.

Should be fine. I'll start working on this again later today or tomorrow i.g. (I'm not looking forward to trying to fix the libphobos musl time 32 issue :p)

Also, thanks for the aarch64 testing.

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