GNU bug report logs -
#76644
1.13 fails to build on s390x: alignas gone
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 76644 in the body.
You can then email your comments to 76644 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gzip <at> gnu.org
:
bug#76644
; Package
gzip
.
(Fri, 28 Feb 2025 14:25:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Andreas Hasenack <andreas.hasenack <at> canonical.com>
:
New bug report received and forwarded. Copy sent to
bug-gzip <at> gnu.org
.
(Fri, 28 Feb 2025 14:25:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
We are getting this build failure[1] on s390x in dfltcc.c:
gcc -DHAVE_CONFIG_H -I. -I.. -I./lib -I../lib -Wdate-time
-D_FORTIFY_SOURCE=3 -DDFLTCC -DDFLTCC_LEVEL_MASK=0x7e -g -O2
-Werror=implicit-function-declaration -mbackchain
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security
-fno-stack-clash-protection
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/gzip-1.13-1ubuntu3~ppa1
-Wall -MT dfltcc.o -MD -MP -MF $depbase.Tpo -c -o dfltcc.o ../dfltcc.c
&&\
mv -f $depbase.Tpo $depbase.Po
../dfltcc.c:87:17: error: expected declaration specifiers or '...'
before numeric constant
87 | char alignas (8) aligned;
| ^
../dfltcc.c:88:1: warning: no semicolon at end of struct or union
88 | };
| ^
../dfltcc.c:139:17: error: expected declaration specifiers or '...'
before numeric constant
139 | char alignas (8) aligned;
| ^
../dfltcc.c:140:1: warning: no semicolon at end of struct or union
140 | };
| ^
make[3]: *** [Makefile:1946: dfltcc.o] Error 1
Looks like 1.13 did some refactoring for C23 support, but dfltcc.c is
still using the "alignas" keyword without an #ifdef. Since that file
is only used when building on s390x, that's where we are seeing this
error.
./gzip.c- let's do that. */
./gzip.c:#if defined HAVE_C_ALIGNASOF || defined alignas
./gzip.c:# define BUFFER_ALIGNED alignas (4096)
./gzip.c-#else
--
./dfltcc.c- struct dfltcc_qaf_param af;
./dfltcc.c: char alignas (8) aligned;
./dfltcc.c-};
--
./dfltcc.c- struct dfltcc_param_v0 param;
./dfltcc.c: char alignas (8) aligned;
./dfltcc.c-};
1. https://bugs.launchpad.net/ubuntu/+source/gzip/+bug/2100598/comments/2
Reply sent
to
Paul Eggert <eggert <at> cs.ucla.edu>
:
You have taken responsibility.
(Fri, 28 Feb 2025 22:14:03 GMT)
Full text and
rfc822 format available.
Notification sent
to
Andreas Hasenack <andreas.hasenack <at> canonical.com>
:
bug acknowledged by developer.
(Fri, 28 Feb 2025 22:14:03 GMT)
Full text and
rfc822 format available.
Message #10 received at 76644-done <at> debbugs.gnu.org (full text, mbox):
Thanks for the bug report. This appears to be the same as the following
issue reported by Sarah-Julia Kriesch, and you can see a fix there:
https://bugs.gnu.org/66709
For now, I'll merge the two bug reports.
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 140 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.