------- Comment From boris.m...@de.ibm.com 2024-08-07 12:48 EDT-------
Thanks Ilya for your quick analysis, finding out that this is a compiler issue. 
Stefan will send a patch to the GCC mailing list.
We will post a link here once it's available.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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:
  Triaged
Status in zlib package in Ubuntu:
  Triaged

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to