emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#66709: closed (gzip build fails on s390x because (version 1.13))


From: GNU bug Tracking System
Subject: bug#66709: closed (gzip build fails on s390x because (version 1.13))
Date: Mon, 23 Oct 2023 21:46:02 +0000

Your message dated Mon, 23 Oct 2023 14:45:21 -0700
with message-id <50d91fcc-5341-4159-bd44-a6159901331c@cs.ucla.edu>
and subject line Re: bug#66709: gzip build fails on s390x because (version 1.13)
has caused the debbugs.gnu.org bug report #66709,
regarding gzip build fails on s390x because (version 1.13)
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
66709: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=66709
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- 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



--- End Message ---
--- Begin Message --- Subject: Re: bug#66709: gzip build fails on s390x because (version 1.13) Date: Mon, 23 Oct 2023 14:45:21 -0700 User-agent: Mozilla Thunderbird 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'.

Attachment: 0001-maint-fix-port-to-s390x.patch
Description: Text Data


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]