bug#77824: LTO build fails with grep 3.12

2025-04-15 Thread Christian Hesse
Ups, sent this to the wrong mailing list... Sorry! Please ignore and close. -- main(a){char*c=/*Schoene Gruesse */"B?IJj;MEH" "CX:;",b;for(a/*Best regards my address:*/=0;b=c[a++];) putchar(b-1/(/*Chriscc -ox -xc - && ./x*/b/42*2-

bug#77824: LTO build fails with grep 3.12

2025-04-15 Thread Christian Hesse
Hello everybody, I am building grep 3.12 in a clean build environment for Arch Linux. That fails when building with link time optimization is enabled: CCLD grep In function 'dfaoptimize', inlined from 'dfaanalyze' at ../lib/dfa.c:2873:3: ../lib/dfa.c:2606:12: error: writing 1 byte into

bug#77815: [PATCH 1/1] initialize env_argc & env_argv

2025-04-15 Thread Christian Hesse
Dear gzip maintainers, just found out this is related to link time optimization. If I disable LTO it builds as-is (git master and 1.14), as soon as I enable LTO my patches is required for a successful build. Thanks! -- Best regards, Chris pgpYU47i1wJJ1.pgp Description: OpenPGP digital signature

bug#77815: [PATCH 1/1] initialize env_argc & env_argv

2025-04-14 Thread Christian Hesse
... as the compiler complains: gzip.c: In function 'main': gzip.c:465:24: error: 'env_argc' may be used uninitialized [-Werror=maybe-uninitialized] 465 | optc = getopt_long (env_argc, env_argv, shortopts, longopts, |^ gzip.c:413:9: note: 'env_argc'