Re: lib/zstd/compress/huf_compress.c:1033:1: internal compiler error: Segmentation fault

From: Nick Terrell
Date: Wed Mar 19 2025 - 13:10:18 EST



> On Mar 17, 2025, at 6:55 AM, Borislav Petkov <bp@xxxxxxxxx> wrote:
>
> Hi,
>
> so the below is new. Kernel is -rc7 + tip/master.
>
> gcc is:
>
> gcc (Debian 10.3.0-9) 10.3.0
> 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.
>
> and it built -rc3 just fine on that particular test box so it could be
> something funky has happened in-between.

Zstd hasn't changed in that duration, but I'm preparing an update now.
You could check to see if this branch fixes your issue:

https://github.com/terrelln/linux.git tags/2025-03-13-zstd-v1.5.7-v1

> lib/zstd/compress/huf_compress.c:1033:1: internal compiler error: Segmentation fault
> 1033 | {
> | ^
> 0x7f8dd185af8f ???
> ./signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0
> 0x7f8dd1846189 __libc_start_call_main
> ../sysdeps/x86/libc-start.c:58
> 0x7f8dd1846244 __libc_start_main_impl
> ../sysdeps/nptl/libc_start_call_main.h:381
> Please submit a full bug report,
> with preprocessed source if appropriate.
> Please include the complete backtrace with any bug report.
> See <file:///usr/share/doc/gcc-10/README.Bugs> for instructions.
> make[4]: *** [scripts/Makefile.build:207: lib/zstd/compress/huf_compress.o] Error 1
> make[3]: *** [scripts/Makefile.build:465: lib/zstd] Error 2
> make[2]: *** [scripts/Makefile.build:465: lib] Error 2
> make[2]: *** Waiting for unfinished jobs....
> make[1]: *** [/mnt/kernel/kernel/linux/Makefile:1997: .] Error 2
> make: *** [Makefile:251: __sub-make] Error 2
>
> Thx.
>
> --
> Regards/Gruss,
> Boris.
>
> https://people.kernel.org/tglx/notes-about-netiquette