[Bug 2075567] Re: zlib fails to build on s390x on oracular with gcc 14
Frank Heimes
2075567 at bugs.launchpad.net
Fri Sep 27 11:48:06 UTC 2024
The verification here is to rebuild existing zlib on noble, but explicitly using the updated 14.2.0-4ubuntu2~24.04.
I verified that it builds fine (on s390x and other archs).
(But since gcc 13 is the default in noble (13.2.0-7ubuntu1), this doesn't matter that much, it was mostly a problem in oracular, where the default is v14, hence zlib was build be default with v14.)
Updating tag.
** Tags removed: verification-needed verification-needed-noble
** Tags added: verification-done verification-done-noble
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to zlib in Ubuntu.
https://bugs.launchpad.net/bugs/2075567
Title:
zlib fails to build on s390x on oracular with gcc 14
Status in Ubuntu on IBM z Systems:
Fix Released
Status in gcc-14 package in Ubuntu:
Fix Released
Status in zlib package in Ubuntu:
Invalid
Status in gcc-14 source package in Noble:
Fix Committed
Bug description:
Rebuilding zlib for s390x on oracular fails to build, probably due to
gcc 14 usage (since it became more strict).
Full build log can be found here:
https://launchpadlibrarian.net/741961061/buildlog_ubuntu-oracular-s390x.zlib_1%3A1.3.dfsg-3.1ubuntu4_BUILDING.txt.gz
erroneous lines are:
D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DHAVE_IFUNC -DHAVE_S390X_VX -march=z13 -mzarch -c -o crc32-vx.o contrib/s390/crc32-vx.c
contrib/s390/crc32-vx.c: In function ‘crc32_le_vgfm_16’:
contrib/s390/crc32-vx.c:91:52: error: incompatible type for argument 3 of ‘__builtin_s390_vgfmag’
91 | v1 = (uv2di)vec_gfmsum_accum_128(r2r1, v1, part1);
| ^~~~~
| |
| uv16qi {aka __vector(16) unsigned char}
contrib/s390/crc32-vx.c:91:52: note: expected ‘__int128 unsigned’ but argument is of type ‘uv16qi’ {aka ‘__vector(16) unsigned char’}
contrib/s390/crc32-vx.c:92:52: error: incompatible type for argument 3 of ‘__builtin_s390_vgfmag’
92 | v2 = (uv2di)vec_gfmsum_accum_128(r2r1, v2, part2);
| ^~~~~
| |
| uv16qi {aka __vector(16) unsigned char}
contrib/s390/crc32-vx.c:92:52: note: expected ‘__int128 unsigned’ but argument is of type ‘uv16qi’ {aka ‘__vector(16) unsigned char’}
contrib/s390/crc32-vx.c:93:52: error: incompatible type for argument 3 of ‘__builtin_s390_vgfmag’
93 | v3 = (uv2di)vec_gfmsum_accum_128(r2r1, v3, part3);
| ^~~~~
| |
| uv16qi {aka __vector(16) unsigned char}
contrib/s390/crc32-vx.c:93:52: note: expected ‘__int128 unsigned’ but argument is of type ‘uv16qi’ {aka ‘__vector(16) unsigned char’}
contrib/s390/crc32-vx.c:94:52: error: incompatible type for argument 3 of ‘__builtin_s390_vgfmag’
94 | v4 = (uv2di)vec_gfmsum_accum_128(r2r1, v4, part4);
| ^~~~~
| |
| uv16qi {aka __vector(16) unsigned char}
contrib/s390/crc32-vx.c:94:52: note: expected ‘__int128 unsigned’ but argument is of type ‘uv16qi’ {aka ‘__vector(16) unsigned char’}
contrib/s390/crc32-vx.c:105:48: error: incompatible type for argument 3 of ‘__builtin_s390_vgfmag’
105 | v1 = (uv2di)vec_gfmsum_accum_128(r4r3, v1, (uv16qi)v2);
| ^~~~~~~~~~
| |
| __vector(16) unsigned char
contrib/s390/crc32-vx.c:105:48: note: expected ‘__int128 unsigned’ but argument is of type ‘__vector(16) unsigned char’
contrib/s390/crc32-vx.c:106:48: error: incompatible type for argument 3 of ‘__builtin_s390_vgfmag’
106 | v1 = (uv2di)vec_gfmsum_accum_128(r4r3, v1, (uv16qi)v3);
| ^~~~~~~~~~
| |
| __vector(16) unsigned char
contrib/s390/crc32-vx.c:106:48: note: expected ‘__int128 unsigned’ but argument is of type ‘__vector(16) unsigned char’
contrib/s390/crc32-vx.c:107:48: error: incompatible type for argument 3 of ‘__builtin_s390_vgfmag’
107 | v1 = (uv2di)vec_gfmsum_accum_128(r4r3, v1, (uv16qi)v4);
| ^~~~~~~~~~
| |
| __vector(16) unsigned char
contrib/s390/crc32-vx.c:107:48: note: expected ‘__int128 unsigned’ but argument is of type ‘__vector(16) unsigned char’
contrib/s390/crc32-vx.c:114:52: error: incompatible type for argument 3 of ‘__builtin_s390_vgfmag’
114 | v1 = (uv2di)vec_gfmsum_accum_128(r4r3, v1, (uv16qi)v2);
| ^~~~~~~~~~
| |
| __vector(16) unsigned char
contrib/s390/crc32-vx.c:114:52: note: expected ‘__int128 unsigned’ but argument is of type ‘__vector(16) unsigned char’
contrib/s390/crc32-vx.c:161:46: error: incompatible type for argument 3 of ‘__builtin_s390_vgfmag’
161 | v1 = (uv2di)vec_gfmsum_accum_128(r5, v1, (uv16qi)v2);
| ^~~~~~~~~~
| |
| __vector(16) unsigned char
contrib/s390/crc32-vx.c:161:46: note: expected ‘__int128 unsigned’ but argument is of type ‘__vector(16) unsigned char’
contrib/s390/crc32-vx.c:192:52: error: incompatible type for argument 3 of ‘__builtin_s390_vgfmag’
192 | v2 = (uv2di)vec_gfmsum_accum_128(crc_poly, v2, (uv16qi)v1);
| ^~~~~~~~~~
| |
| __vector(16) unsigned char
contrib/s390/crc32-vx.c:192:52: note: expected ‘__int128 unsigned’ but argument is of type ‘__vector(16) unsigned char’
make[1]: *** [Makefile:180: crc32-vx.o] Error 1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/2075567/+subscriptions
More information about the foundations-bugs
mailing list