I'm finding building vlc-126.96.36.199 with gcc-11 failing
> vlc-188.8.131.52 % gcc --version
gcc (Gentoo 11.0.0_pre9999 p4, commit 8e59ff5541889817a160afda130bcbcdb70c4b90) 11.0.0 20201128 (experimental)
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
From build log
during GIMPLE pass: wrestrict
video_chroma/copy.c: In function ‘CopyFromUswc’:
video_chroma/copy.c:141:13: internal compiler error: Segmentation fault
141 | static void CopyFromUswc(uint8_t *dst, size_t dst_pitch,
Please include the info from the wiki page I linked you if possible. There’s a lot but it’s needed.
Yes, I've looked at that page before, and blanched :), but might be time to step it up!
Reproduced locally. I'll extract smaller example and attach to https://gcc.gnu.org/PR97750.
(In reply to Sam James from comment #1)
> Please include the info from the wiki page I linked you if possible. There’s
> a lot but it’s needed.
Added as https://gcc.gnu.org/PR97750#c3
gcc was fixed upstream with https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=c25b504636fec7bf8f181a84af83a52757ba7e89
We'll also need to refresh gcc patchset to avoid patches conflicts.
(In reply to Sergei Trofimovich from comment #5)
> We'll also need to refresh gcc patchset to avoid patches conflicts.
Should be sorted by https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=badb26541f1acfca59f4dab726694d41fa819c56