Public bug reported:

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

** Affects: ubuntu-z-systems
     Importance: High
     Assignee: bugproxy (bugproxy)
         Status: New

** Affects: zlib (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: reverse-proxy-bugzilla s390x

** Also affects: ubuntu-z-systems
   Importance: Undecided
       Status: New

** Changed in: ubuntu-z-systems
     Assignee: (unassigned) => bugproxy (bugproxy)

** Changed in: zlib (Ubuntu)
     Assignee: bugproxy (bugproxy) => (unassigned)

** Changed in: ubuntu-z-systems
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2075567

Title:
  zlib fails to build on s390x on oracular with gcc 14

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/2075567/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to