GNU bug report logs - #66709
gzip build fails on s390x because (version 1.13)

Previous Next

Package: gzip;

Reported by: Sarah-Julia Kriesch <sarah-julia.kriesch <at> gmx.de>

Date: Mon, 23 Oct 2023 18:43:02 UTC

Severity: normal

Merged with 76644

Found in version 1.13

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 66709 in the body.
You can then email your comments to 66709 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gzip <at> gnu.org:
bug#66709; Package gzip. (Mon, 23 Oct 2023 18:43:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sarah-Julia Kriesch <sarah-julia.kriesch <at> gmx.de>:
New bug report received and forwarded. Copy sent to bug-gzip <at> gnu.org. (Mon, 23 Oct 2023 18:43:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Sarah-Julia Kriesch <sarah-julia.kriesch <at> gmx.de>
To: bug-gzip <at> gnu.org
Subject: gzip build fails on s390x because (version 1.13)
Date: Mon, 23 Oct 2023 18:51:33 +0200
Hi,

we are using gzip 1.13 for builds on openSUSE Tumbleweed.
It is failing for the hardware architecture s390x with the following error message:
[  246s] gcc -DHAVE_CONFIG_H -I. -I./lib  -I./lib    -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wstrict-prototypes -Wpointer-arith -fPIE -DDFLTCC_LEVEL_MASK=0x7e -fprofile-generate -c -o dfltcc.o dfltcc.c
[  246s] dfltcc.c:86:17: error: expected declaration specifiers or '...' before numeric constant
[  246s]    86 |   char alignas (8) aligned;
[  246s]       |                 ^
[  246s] dfltcc.c:87:1: warning: no semicolon at end of struct or union
[  246s]    87 | };
[  246s]       | ^
[  246s] dfltcc.c:138:17: error: expected declaration specifiers or '...' before numeric constant
[  246s]   138 |   char alignas (8) aligned;
[  246s]       |                 ^
[  246s] dfltcc.c:139:1: warning: no semicolon at end of struct or union
[  246s]   139 | };
[  246s]       | ^
[  246s] make[2]: *** [Makefile:1945: dfltcc.o] Error 1




Reply sent to Paul Eggert <eggert <at> cs.ucla.edu>:
You have taken responsibility. (Mon, 23 Oct 2023 21:46:02 GMT) Full text and rfc822 format available.

Notification sent to Sarah-Julia Kriesch <sarah-julia.kriesch <at> gmx.de>:
bug acknowledged by developer. (Mon, 23 Oct 2023 21:46:02 GMT) Full text and rfc822 format available.

Message #10 received at 66709-done <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Sarah-Julia Kriesch <sarah-julia.kriesch <at> gmx.de>
Cc: 66709-done <at> debbugs.gnu.org
Subject: Re: bug#66709: gzip build fails on s390x because (version 1.13)
Date: Mon, 23 Oct 2023 14:45:21 -0700
[Message part 1 (text/plain, inline)]
Thanks for the bug report. This bug was introduced during the flurry of 
patches just before 1.13 was released. Commit 
d826f7c04d824362dd1ba91c13d8f2c8b0996fff dated Sat Aug 19 11:23:45 2023 
-0700 removed Gnulib's stdalign module but did not add Gnulib's 
alignasof module that replaced stdalign. gzip needs this module because 
gzip.c and (as you noticed) dlftcc.c use alignas. We didn't notice the 
bug until now because gzip.c falls back on working code if alignas is 
absent, and we don't test on s390x.

I fixed the bug by installing the attached, which should appear in the 
next gzip release. In the meantime you should be able to build on s390x 
by compiling with 'gcc -Dalignas=_Alignas'.
[0001-maint-fix-port-to-s390x.patch (text/x-patch, attachment)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 21 Nov 2023 12:24:06 GMT) Full text and rfc822 format available.

bug unarchived. Request was from Paul Eggert <eggert <at> cs.ucla.edu> to control <at> debbugs.gnu.org. (Fri, 28 Feb 2025 22:15:02 GMT) Full text and rfc822 format available.

Merged 66709 76644. Request was from Paul Eggert <eggert <at> cs.ucla.edu> to control <at> debbugs.gnu.org. (Fri, 28 Feb 2025 22:15:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 29 Mar 2025 11:24:13 GMT) Full text and rfc822 format available.

This bug report was last modified 85 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.