Public bug reported:

It looks like the glibc autopkgtest in jammy for s390x is using gcc-10
and it's failing to build with the following error:

s390x-linux-gnu-gcc-10 ../sysdeps/s390/longjmp.c -c -std=gnu11 -fgnu89-inline  
-pipe -O2 -g -fdebug-prefix-map=/tmp/autopkgtest.ehGgT4/build.Jkr/src=. -Wall 
-Wwrite-strings -Wundef -Werror -fmerge-all-constants -frounding-math 
-fstack-protector-strong -fno-common -Wstrict-prototypes -Wold-style-definition 
-fmath-errno -mlong-double-128  -fPIC   -ftls-model=initial-exec   
-U_FORTIFY_SOURCE -isystem /tmp/autopkgtest.ehGgT4/build.Jkr/src/debian/include 
 -I../include 
-I/tmp/autopkgtest.ehGgT4/build.Jkr/src/build-tree/s390x-libc/setjmp  
-I/tmp/autopkgtest.ehGgT4/build.Jkr/src/build-tree/s390x-libc  
-I../sysdeps/unix/sysv/linux/s390/s390-64  
-I../sysdeps/unix/sysv/linux/wordsize-64  -I../sysdeps/unix/sysv/linux/s390/fpu 
 -I../sysdeps/s390/fpu  -I../sysdeps/unix/sysv/linux/s390  
-I../sysdeps/s390/nptl  -I../sysdeps/ieee754/ldbl-64-128  
-I../sysdeps/ieee754/ldbl-opt  -I../sysdeps/unix/sysv/linux/include 
-I../sysdeps/unix/sysv/linux  -I../sysdeps/nptl  -I../sysdeps/pthread  
-I../sysdeps/gnu  -I../sysdeps/unix/inet  -I../sysdeps/unix/sysv  
-I../sysdeps/unix  -I../sysdeps/posix  -I../sysdeps/s390/s390-64  
-I../sysdeps/wordsize-64  -I../sysdeps/s390/multiarch  -I../sysdeps/s390  
-I../sysdeps/ieee754/ldbl-128  -I../sysdeps/ieee754/dbl-64  
-I../sysdeps/ieee754/flt-32  -I../sysdeps/ieee754  -I../sysdeps/generic  -I.. 
-I../libio -I. -nostdinc -isystem /usr/lib/gcc/s390x-linux-gnu/10/include 
-isystem /tmp/autopkgtest.ehGgT4/build.Jkr/src/debian/include -D_LIBC_REENTRANT 
-include 
/tmp/autopkgtest.ehGgT4/build.Jkr/src/build-tree/s390x-libc/libc-modules.h 
-DMODULE_NAME=libc -include ../include/libc-symbols.h  -DPIC -DSHARED     
-DTOP_NAMESPACE=glibc -o 
/tmp/autopkgtest.ehGgT4/build.Jkr/src/build-tree/s390x-libc/setjmp/longjmp.os 
-MD -MP -MF 
/tmp/autopkgtest.ehGgT4/build.Jkr/src/build-tree/s390x-libc/setjmp/longjmp.os.dt
 -MT 
/tmp/autopkgtest.ehGgT4/build.Jkr/src/build-tree/s390x-libc/setjmp/longjmp.os
s390x-linux-gnu-gcc-10 ../sysdeps/s390/s390-64/__longjmp.c -c -std=gnu11 
-fgnu89-inline  -pipe -O2 -g 
-fdebug-prefix-map=/tmp/autopkgtest.ehGgT4/build.Jkr/src=. -Wall 
-Wwrite-strings -Wundef -Werror -fmerge-all-constants -frounding-math 
-fstack-protector-strong -fno-common -Wstrict-prototypes -Wold-style-definition 
-fmath-errno -mlong-double-128  -fPIC   -ftls-model=initial-exec   
-U_FORTIFY_SOURCE -isystem /tmp/autopkgtest.ehGgT4/build.Jkr/src/debian/include 
 -I../include 
-I/tmp/autopkgtest.ehGgT4/build.Jkr/src/build-tree/s390x-libc/setjmp  
-I/tmp/autopkgtest.ehGgT4/build.Jkr/src/build-tree/s390x-libc  
-I../sysdeps/unix/sysv/linux/s390/s390-64  
-I../sysdeps/unix/sysv/linux/wordsize-64  -I../sysdeps/unix/sysv/linux/s390/fpu 
 -I../sysdeps/s390/fpu  -I../sysdeps/unix/sysv/linux/s390  
-I../sysdeps/s390/nptl  -I../sysdeps/ieee754/ldbl-64-128  
-I../sysdeps/ieee754/ldbl-opt  -I../sysdeps/unix/sysv/linux/include 
-I../sysdeps/unix/sysv/linux  -I../sysdeps/nptl  -I../sysdeps/pthread  
-I../sysdeps/gnu  -I../sysdeps/unix/inet  -I../sysdeps/unix/sysv  
-I../sysdeps/unix  -I../sysdeps/posix  -I../sysdeps/s390/s390-64  
-I../sysdeps/wordsize-64  -I../sysdeps/s390/multiarch  -I../sysdeps/s390  
-I../sysdeps/ieee754/ldbl-128  -I../sysdeps/ieee754/dbl-64  
-I../sysdeps/ieee754/flt-32  -I../sysdeps/ieee754  -I../sysdeps/generic  -I.. 
-I../libio -I. -nostdinc -isystem /usr/lib/gcc/s390x-linux-gnu/10/include 
-isystem /tmp/autopkgtest.ehGgT4/build.Jkr/src/debian/include -D_LIBC_REENTRANT 
-include 
/tmp/autopkgtest.ehGgT4/build.Jkr/src/build-tree/s390x-libc/libc-modules.h 
-DMODULE_NAME=libc -include ../include/libc-symbols.h  -DPIC -DSHARED     
-DTOP_NAMESPACE=glibc -o 
/tmp/autopkgtest.ehGgT4/build.Jkr/src/build-tree/s390x-libc/setjmp/__longjmp.os 
-MD -MP -MF 
/tmp/autopkgtest.ehGgT4/build.Jkr/src/build-tree/s390x-libc/setjmp/__longjmp.os.dt
 -MT 
/tmp/autopkgtest.ehGgT4/build.Jkr/src/build-tree/s390x-libc/setjmp/__longjmp.os
In file included from ../include/stap-probe.h:25,
                 from ../sysdeps/s390/s390-64/__longjmp.c:25:
../sysdeps/s390/s390-64/__longjmp.c: In function ‘__longjmp’:
../sysdeps/s390/s390-64/__longjmp.c:53:29: error: expected ‘:’ or ‘)’ before 
numeric constant
   53 |    LIBC_PROBE_ASM (longjmp, 8@%1 -4@%0 8@%%r4)
      |                             ^
../sysdeps/s390/s390-64/__longjmp.c:53:4: note: in expansion of macro 
‘LIBC_PROBE_ASM’
   53 |    LIBC_PROBE_ASM (longjmp, 8@%1 -4@%0 8@%%r4)
      |    ^~~~~~~~~~~~~~

Is there any reason why we're we using gcc-10? Shouldn't we use gcc-11?

More details here:

https://autopkgtest.ubuntu.com/results/autopkgtest-
jammy/jammy/s390x/g/glibc/20220115_000350_e2b55@/log.gz

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

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

Title:
  jammy: glibc autopkgtest failure on s390x with kernel 5.15

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1958010/+subscriptions


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

Reply via email to