[Bug 1986667] Re: powerpc-utils FTBFS with GCC 12
Graham Inggs
1986667 at bugs.launchpad.net
Mon Sep 19 17:34:00 UTC 2022
** Tags added: ftbfs
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to powerpc-utils in Ubuntu.
https://bugs.launchpad.net/bugs/1986667
Title:
powerpc-utils FTBFS with GCC 12
Status in The Ubuntu-power-systems project:
New
Status in powerpc-utils package in Ubuntu:
New
Status in powerpc-utils package in Debian:
Confirmed
Bug description:
I've copied what I hope is the relevant part of the log below.
gcc -DPACKAGE_NAME=\"powerpc-utils\" -DPACKAGE_TARNAME=\"powerpc-utils\" -DPACKAGE_VERSION=\"1.3.9\" -DPACKAGE_STRING=\"powerpc-utils\ 1.3.9\" -DPACKAGE_BUGREPORT=\"tyreld at linux.ibm.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"powerpc-utils\" -DVERSION=\"1.3.9\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_MEMORY_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LINUX_PERF_EVENT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_ALARM=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -DLSTAT_FOLLOWS_SLASHED_SYMLINK=1 -DHAVE_MALLOC=1 -DHAVE_MEMSET=1 -DHAVE_STRCHR=1 -DHAVE_STRCSPN=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRRCHR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOUL=1 -DHAVE_STRTOULL=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_LIBZ=1 -DHAVE_LIBNUMA=1 -DHAVE_LIBRTAS=1 -DHAVE_LIBRTASEVENT=1 -DWITH_LIBRTAS=1 -I. -I ./src/common/ -D _GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -g -O3 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror -D_FORTIFY_SOURCE=2 -fstack-protector-all -fwrapv -fPIE -Wstack-protector --param=ssp-buffer-size=1 -c -o src/vcpustat.o src/vcpustat.c
In file included from /usr/include/stdio.h:906,
from src/vcpustat.c:26:
In function ‘printf’,
inlined from ‘print_stats’ at src/vcpustat.c:182:4:
/usr/include/powerpc64le-linux-gnu/bits/stdio2.h:86:10: error: ‘stat.far_numa_node’ may be used uninitialized [-Werror=maybe-uninitialized]
86 | return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ());
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/vcpustat.c: In function ‘print_stats’:
src/vcpustat.c:144:34: note: ‘stat.far_numa_node’ was declared here
144 | struct vcpudispatch_stat stat;
| ^~~~
In function ‘printf’,
inlined from ‘print_stats’ at src/vcpustat.c:182:4:
/usr/include/powerpc64le-linux-gnu/bits/stdio2.h:86:10: error: ‘stat.next_numa_node’ may be used uninitialized [-Werror=maybe-uninitialized]
86 | return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ());
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/vcpustat.c: In function ‘print_stats’:
src/vcpustat.c:144:34: note: ‘stat.next_numa_node’ was declared here
144 | struct vcpudispatch_stat stat;
| ^~~~
In function ‘printf’,
inlined from ‘print_stats’ at src/vcpustat.c:182:4:
/usr/include/powerpc64le-linux-gnu/bits/stdio2.h:86:10: error: ‘stat.home_numa_node’ may be used uninitialized [-Werror=maybe-uninitialized]
86 | return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ());
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/vcpustat.c: In function ‘print_stats’:
src/vcpustat.c:144:34: note: ‘stat.home_numa_node’ was declared here
144 | struct vcpudispatch_stat stat;
| ^~~~
In function ‘printf’,
inlined from ‘print_stats’ at src/vcpustat.c:182:4:
/usr/include/powerpc64le-linux-gnu/bits/stdio2.h:86:10: error: ‘stat.diff_package’ may be used uninitialized [-Werror=maybe-uninitialized]
86 | return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ());
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/vcpustat.c: In function ‘print_stats’:
src/vcpustat.c:144:34: note: ‘stat.diff_package’ was declared here
144 | struct vcpudispatch_stat stat;
| ^~~~
In function ‘printf’,
inlined from ‘print_stats’ at src/vcpustat.c:182:4:
/usr/include/powerpc64le-linux-gnu/bits/stdio2.h:86:10: error: ‘stat.same_package’ may be used uninitialized [-Werror=maybe-uninitialized]
86 | return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ());
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/vcpustat.c: In function ‘print_stats’:
src/vcpustat.c:144:34: note: ‘stat.same_package’ was declared here
144 | struct vcpudispatch_stat stat;
| ^~~~
In function ‘printf’,
inlined from ‘print_stats’ at src/vcpustat.c:182:4:
/usr/include/powerpc64le-linux-gnu/bits/stdio2.h:86:10: error: ‘stat.total’ may be used uninitialized [-Werror=maybe-uninitialized]
86 | return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ());
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/vcpustat.c: In function ‘print_stats’:
src/vcpustat.c:144:34: note: ‘stat.total’ was declared here
144 | struct vcpudispatch_stat stat;
| ^~~~
In function ‘printf’,
inlined from ‘print_stats’ at src/vcpustat.c:182:4:
/usr/include/powerpc64le-linux-gnu/bits/stdio2.h:86:10: error: ‘stat.same_chip’ may be used uninitialized [-Werror=maybe-uninitialized]
86 | return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ());
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/vcpustat.c: In function ‘print_stats’:
src/vcpustat.c:144:34: note: ‘stat.same_chip’ was declared here
144 | struct vcpudispatch_stat stat;
| ^~~~
In function ‘printf’,
inlined from ‘print_stats’ at src/vcpustat.c:182:4:
/usr/include/powerpc64le-linux-gnu/bits/stdio2.h:86:10: error: ‘stat.same_cpu’ may be used uninitialized [-Werror=maybe-uninitialized]
86 | return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ());
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/vcpustat.c: In function ‘print_stats’:
src/vcpustat.c:144:34: note: ‘stat.same_cpu’ was declared here
144 | struct vcpudispatch_stat stat;
| ^~~~
src/ppc64_cpu.c: In function ‘main’:
src/ppc64_cpu.c:294:19: error: ‘rc’ may be used uninitialized [-Werror=maybe-uninitialized]
294 | int i, j, rc;
| ^~
cc1: all warnings being treated as errors
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1986667/+subscriptions
More information about the foundations-bugs
mailing list