Bug#957209: flang: ftbfs with GCC-10

Matthias Klose doko at debian.org
Fri Apr 17 12:00:09 BST 2020


Package: src:flang
Version: 20190329-5
Severity: normal
Tags: sid bullseye
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-10

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-10/g++-10, but succeeds to build with gcc-9/g++-9. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc10-20200225/flang_20190329-5_unstable_gcc10.log
The last lines of the build log are at the end of this report.

To build with GCC 10, either set CC=gcc-10 CXX=g++-10 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-10/porting_to.html

[...]
cd /<<PKGBUILDDIR>>/debian/build/runtime/libpgmath/lib/x86_64 && /usr/bin/cc -DFN_PROTO_SUFFIX=_avx2 -DHOST_LINUX -DLINUX -DLINUX86 -DLINUX8664 -DMAXCPUS=256 -DMAXCPUSL=8 -DMAXCPUSR=8 -DPG_PIC -DTARGET_LINUX -DTARGET_LINUX_X86 -DTARGET_LINUX_X8664 -DTARGET_X86 -DTARGET_X8664 -D_GNU_SOURCE -D_ISOC99_SOURCE -D__gnu_linux__ -I/<<PKGBUILDDIR>>/runtime/libpgmath/lib/common -I/<<PKGBUILDDIR>>/runtime/libpgmath/lib/x86_64  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC   -m64 -O3 -Wall -W -Wstrict-prototypes -Wwrite-strings -Werror  -mavx2 -mfma -ffp-contract=fast -o CMakeFiles/avx2.dir/datan.c.o   -c /<<PKGBUILDDIR>>/runtime/libpgmath/lib/x86_64/datan.c
[ 73%] Building C object lib/x86_64/CMakeFiles/avx2.dir/dcosh.c.o
cd /<<PKGBUILDDIR>>/debian/build/runtime/libpgmath/lib/x86_64 && /usr/bin/cc -DFN_PROTO_SUFFIX=_avx2 -DHOST_LINUX -DLINUX -DLINUX86 -DLINUX8664 -DMAXCPUS=256 -DMAXCPUSL=8 -DMAXCPUSR=8 -DPG_PIC -DTARGET_LINUX -DTARGET_LINUX_X86 -DTARGET_LINUX_X8664 -DTARGET_X86 -DTARGET_X8664 -D_GNU_SOURCE -D_ISOC99_SOURCE -D__gnu_linux__ -I/<<PKGBUILDDIR>>/runtime/libpgmath/lib/common -I/<<PKGBUILDDIR>>/runtime/libpgmath/lib/x86_64  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC   -m64 -O3 -Wall -W -Wstrict-prototypes -Wwrite-strings -Werror  -mavx2 -mfma -ffp-contract=fast -o CMakeFiles/avx2.dir/dcosh.c.o   -c /<<PKGBUILDDIR>>/runtime/libpgmath/lib/x86_64/dcosh.c
[ 73%] Building C object lib/x86_64/CMakeFiles/avx2.dir/dexp2.c.o
cd /<<PKGBUILDDIR>>/debian/build/runtime/libpgmath/lib/x86_64 && /usr/bin/cc -DFN_PROTO_SUFFIX=_avx2 -DHOST_LINUX -DLINUX -DLINUX86 -DLINUX8664 -DMAXCPUS=256 -DMAXCPUSL=8 -DMAXCPUSR=8 -DPG_PIC -DTARGET_LINUX -DTARGET_LINUX_X86 -DTARGET_LINUX_X8664 -DTARGET_X86 -DTARGET_X8664 -D_GNU_SOURCE -D_ISOC99_SOURCE -D__gnu_linux__ -I/<<PKGBUILDDIR>>/runtime/libpgmath/lib/common -I/<<PKGBUILDDIR>>/runtime/libpgmath/lib/x86_64  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC   -m64 -O3 -Wall -W -Wstrict-prototypes -Wwrite-strings -Werror  -mavx2 -mfma -ffp-contract=fast -o CMakeFiles/avx2.dir/dexp2.c.o   -c /<<PKGBUILDDIR>>/runtime/libpgmath/lib/x86_64/dexp2.c
[ 74%] Building C object lib/x86_64/CMakeFiles/avx2.dir/dexp.c.o
cd /<<PKGBUILDDIR>>/debian/build/runtime/libpgmath/lib/x86_64 && /usr/bin/cc -DFN_PROTO_SUFFIX=_avx2 -DHOST_LINUX -DLINUX -DLINUX86 -DLINUX8664 -DMAXCPUS=256 -DMAXCPUSL=8 -DMAXCPUSR=8 -DPG_PIC -DTARGET_LINUX -DTARGET_LINUX_X86 -DTARGET_LINUX_X8664 -DTARGET_X86 -DTARGET_X8664 -D_GNU_SOURCE -D_ISOC99_SOURCE -D__gnu_linux__ -I/<<PKGBUILDDIR>>/runtime/libpgmath/lib/common -I/<<PKGBUILDDIR>>/runtime/libpgmath/lib/x86_64  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC   -m64 -O3 -Wall -W -Wstrict-prototypes -Wwrite-strings -Werror  -mavx2 -mfma -ffp-contract=fast -o CMakeFiles/avx2.dir/dexp.c.o   -c /<<PKGBUILDDIR>>/runtime/libpgmath/lib/x86_64/dexp.c
[ 74%] Building C object lib/x86_64/CMakeFiles/avx2.dir/dlog.c.o
cd /<<PKGBUILDDIR>>/debian/build/runtime/libpgmath/lib/x86_64 && /usr/bin/cc -DFN_PROTO_SUFFIX=_avx2 -DHOST_LINUX -DLINUX -DLINUX86 -DLINUX8664 -DMAXCPUS=256 -DMAXCPUSL=8 -DMAXCPUSR=8 -DPG_PIC -DTARGET_LINUX -DTARGET_LINUX_X86 -DTARGET_LINUX_X8664 -DTARGET_X86 -DTARGET_X8664 -D_GNU_SOURCE -D_ISOC99_SOURCE -D__gnu_linux__ -I/<<PKGBUILDDIR>>/runtime/libpgmath/lib/common -I/<<PKGBUILDDIR>>/runtime/libpgmath/lib/x86_64  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC   -m64 -O3 -Wall -W -Wstrict-prototypes -Wwrite-strings -Werror  -mavx2 -mfma -ffp-contract=fast -o CMakeFiles/avx2.dir/dlog.c.o   -c /<<PKGBUILDDIR>>/runtime/libpgmath/lib/x86_64/dlog.c
[ 74%] Building C object lib/x86_64/CMakeFiles/avx2.dir/dsincosp.c.o
cd /<<PKGBUILDDIR>>/debian/build/runtime/libpgmath/lib/x86_64 && /usr/bin/cc -DFN_PROTO_SUFFIX=_avx2 -DHOST_LINUX -DLINUX -DLINUX86 -DLINUX8664 -DMAXCPUS=256 -DMAXCPUSL=8 -DMAXCPUSR=8 -DPG_PIC -DTARGET_LINUX -DTARGET_LINUX_X86 -DTARGET_LINUX_X8664 -DTARGET_X86 -DTARGET_X8664 -D_GNU_SOURCE -D_ISOC99_SOURCE -D__gnu_linux__ -I/<<PKGBUILDDIR>>/runtime/libpgmath/lib/common -I/<<PKGBUILDDIR>>/runtime/libpgmath/lib/x86_64  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC   -m64 -O3 -Wall -W -Wstrict-prototypes -Wwrite-strings -Werror  -mavx2 -mfma -ffp-contract=fast -o CMakeFiles/avx2.dir/dsincosp.c.o   -c /<<PKGBUILDDIR>>/runtime/libpgmath/lib/x86_64/dsincosp.c
[ 74%] Building C object lib/x86_64/CMakeFiles/avx2.dir/dsinh.c.o
cd /<<PKGBUILDDIR>>/debian/build/runtime/libpgmath/lib/x86_64 && /usr/bin/cc -DFN_PROTO_SUFFIX=_avx2 -DHOST_LINUX -DLINUX -DLINUX86 -DLINUX8664 -DMAXCPUS=256 -DMAXCPUSL=8 -DMAXCPUSR=8 -DPG_PIC -DTARGET_LINUX -DTARGET_LINUX_X86 -DTARGET_LINUX_X8664 -DTARGET_X86 -DTARGET_X8664 -D_GNU_SOURCE -D_ISOC99_SOURCE -D__gnu_linux__ -I/<<PKGBUILDDIR>>/runtime/libpgmath/lib/common -I/<<PKGBUILDDIR>>/runtime/libpgmath/lib/x86_64  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC   -m64 -O3 -Wall -W -Wstrict-prototypes -Wwrite-strings -Werror  -mavx2 -mfma -ffp-contract=fast -o CMakeFiles/avx2.dir/dsinh.c.o   -c /<<PKGBUILDDIR>>/runtime/libpgmath/lib/x86_64/dsinh.c
[ 75%] Building C object lib/x86_64/CMakeFiles/avx2.dir/dtan.c.o
cd /<<PKGBUILDDIR>>/debian/build/runtime/libpgmath/lib/x86_64 && /usr/bin/cc -DFN_PROTO_SUFFIX=_avx2 -DHOST_LINUX -DLINUX -DLINUX86 -DLINUX8664 -DMAXCPUS=256 -DMAXCPUSL=8 -DMAXCPUSR=8 -DPG_PIC -DTARGET_LINUX -DTARGET_LINUX_X86 -DTARGET_LINUX_X8664 -DTARGET_X86 -DTARGET_X8664 -D_GNU_SOURCE -D_ISOC99_SOURCE -D__gnu_linux__ -I/<<PKGBUILDDIR>>/runtime/libpgmath/lib/common -I/<<PKGBUILDDIR>>/runtime/libpgmath/lib/x86_64  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC   -m64 -O3 -Wall -W -Wstrict-prototypes -Wwrite-strings -Werror  -mavx2 -mfma -ffp-contract=fast -o CMakeFiles/avx2.dir/dtan.c.o   -c /<<PKGBUILDDIR>>/runtime/libpgmath/lib/x86_64/dtan.c
[ 75%] Building C object lib/x86_64/CMakeFiles/avx2.dir/dtanh.c.o
cd /<<PKGBUILDDIR>>/debian/build/runtime/libpgmath/lib/x86_64 && /usr/bin/cc -DFN_PROTO_SUFFIX=_avx2 -DHOST_LINUX -DLINUX -DLINUX86 -DLINUX8664 -DMAXCPUS=256 -DMAXCPUSL=8 -DMAXCPUSR=8 -DPG_PIC -DTARGET_LINUX -DTARGET_LINUX_X86 -DTARGET_LINUX_X8664 -DTARGET_X86 -DTARGET_X8664 -D_GNU_SOURCE -D_ISOC99_SOURCE -D__gnu_linux__ -I/<<PKGBUILDDIR>>/runtime/libpgmath/lib/common -I/<<PKGBUILDDIR>>/runtime/libpgmath/lib/x86_64  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC   -m64 -O3 -Wall -W -Wstrict-prototypes -Wwrite-strings -Werror  -mavx2 -mfma -ffp-contract=fast -o CMakeFiles/avx2.dir/dtanh.c.o   -c /<<PKGBUILDDIR>>/runtime/libpgmath/lib/x86_64/dtanh.c
[ 75%] Building C object lib/x86_64/CMakeFiles/avx2.dir/exp.c.o
cd /<<PKGBUILDDIR>>/debian/build/runtime/libpgmath/lib/x86_64 && /usr/bin/cc -DFN_PROTO_SUFFIX=_avx2 -DHOST_LINUX -DLINUX -DLINUX86 -DLINUX8664 -DMAXCPUS=256 -DMAXCPUSL=8 -DMAXCPUSR=8 -DPG_PIC -DTARGET_LINUX -DTARGET_LINUX_X86 -DTARGET_LINUX_X8664 -DTARGET_X86 -DTARGET_X8664 -D_GNU_SOURCE -D_ISOC99_SOURCE -D__gnu_linux__ -I/<<PKGBUILDDIR>>/runtime/libpgmath/lib/common -I/<<PKGBUILDDIR>>/runtime/libpgmath/lib/x86_64  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC   -m64 -O3 -Wall -W -Wstrict-prototypes -Wwrite-strings -Werror  -mavx2 -mfma -ffp-contract=fast -o CMakeFiles/avx2.dir/exp.c.o   -c /<<PKGBUILDDIR>>/runtime/libpgmath/lib/x86_64/exp.c
[ 75%] Building C object lib/x86_64/CMakeFiles/avx2.dir/log.c.o
cd /<<PKGBUILDDIR>>/debian/build/runtime/libpgmath/lib/x86_64 && /usr/bin/cc -DFN_PROTO_SUFFIX=_avx2 -DHOST_LINUX -DLINUX -DLINUX86 -DLINUX8664 -DMAXCPUS=256 -DMAXCPUSL=8 -DMAXCPUSR=8 -DPG_PIC -DTARGET_LINUX -DTARGET_LINUX_X86 -DTARGET_LINUX_X8664 -DTARGET_X86 -DTARGET_X8664 -D_GNU_SOURCE -D_ISOC99_SOURCE -D__gnu_linux__ -I/<<PKGBUILDDIR>>/runtime/libpgmath/lib/common -I/<<PKGBUILDDIR>>/runtime/libpgmath/lib/x86_64  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC   -m64 -O3 -Wall -W -Wstrict-prototypes -Wwrite-strings -Werror  -mavx2 -mfma -ffp-contract=fast -o CMakeFiles/avx2.dir/log.c.o   -c /<<PKGBUILDDIR>>/runtime/libpgmath/lib/x86_64/log.c
[ 75%] Building C object lib/x86_64/CMakeFiles/avx2.dir/rpow.c.o
cd /<<PKGBUILDDIR>>/debian/build/runtime/libpgmath/lib/x86_64 && /usr/bin/cc -DFN_PROTO_SUFFIX=_avx2 -DHOST_LINUX -DLINUX -DLINUX86 -DLINUX8664 -DMAXCPUS=256 -DMAXCPUSL=8 -DMAXCPUSR=8 -DPG_PIC -DTARGET_LINUX -DTARGET_LINUX_X86 -DTARGET_LINUX_X8664 -DTARGET_X86 -DTARGET_X8664 -D_GNU_SOURCE -D_ISOC99_SOURCE -D__gnu_linux__ -I/<<PKGBUILDDIR>>/runtime/libpgmath/lib/common -I/<<PKGBUILDDIR>>/runtime/libpgmath/lib/x86_64  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC   -m64 -O3 -Wall -W -Wstrict-prototypes -Wwrite-strings -Werror  -mavx2 -mfma -ffp-contract=fast -o CMakeFiles/avx2.dir/rpow.c.o   -c /<<PKGBUILDDIR>>/runtime/libpgmath/lib/x86_64/rpow.c
[ 76%] Building C object lib/x86_64/CMakeFiles/avx2.dir/sincosp.c.o
cd /<<PKGBUILDDIR>>/debian/build/runtime/libpgmath/lib/x86_64 && /usr/bin/cc -DFN_PROTO_SUFFIX=_avx2 -DHOST_LINUX -DLINUX -DLINUX86 -DLINUX8664 -DMAXCPUS=256 -DMAXCPUSL=8 -DMAXCPUSR=8 -DPG_PIC -DTARGET_LINUX -DTARGET_LINUX_X86 -DTARGET_LINUX_X8664 -DTARGET_X86 -DTARGET_X8664 -D_GNU_SOURCE -D_ISOC99_SOURCE -D__gnu_linux__ -I/<<PKGBUILDDIR>>/runtime/libpgmath/lib/common -I/<<PKGBUILDDIR>>/runtime/libpgmath/lib/x86_64  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC   -m64 -O3 -Wall -W -Wstrict-prototypes -Wwrite-strings -Werror  -mavx2 -mfma -ffp-contract=fast -o CMakeFiles/avx2.dir/sincosp.c.o   -c /<<PKGBUILDDIR>>/runtime/libpgmath/lib/x86_64/sincosp.c
In file included from /<<PKGBUILDDIR>>/runtime/libpgmath/lib/x86_64/sincosp.c:50:
/<<PKGBUILDDIR>>/runtime/libpgmath/lib/x86_64/sincosp.c: In function ‘__mth_sincos_avx2’:
/<<PKGBUILDDIR>>/runtime/libpgmath/lib/x86_64/libm_inlines_amd.h:2041:22: error: ‘res[5]’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
 2041 |     nextbits = (~(res[i + 1]) & mask);
      |                  ~~~~^~~~~~~~
/<<PKGBUILDDIR>>/runtime/libpgmath/lib/x86_64/libm_inlines_amd.h:2050:14: error: ‘res[5]’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
 2050 |     nextbits = res[i + 1];
      |     ~~~~~~~~~^~~~~~~~~~~~
/<<PKGBUILDDIR>>/runtime/libpgmath/lib/x86_64/libm_inlines_amd.h:2050:14: error: ‘res[6]’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
/<<PKGBUILDDIR>>/runtime/libpgmath/lib/x86_64/libm_inlines_amd.h:2050:14: error: ‘res[7]’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
/<<PKGBUILDDIR>>/runtime/libpgmath/lib/x86_64/libm_inlines_amd.h:2050:14: error: ‘res[8]’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
/<<PKGBUILDDIR>>/runtime/libpgmath/lib/x86_64/libm_inlines_amd.h:2050:14: error: ‘res[9]’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
/<<PKGBUILDDIR>>/runtime/libpgmath/lib/x86_64/sincosp.c: In function ‘__mth_i_sin_avx2’:
/<<PKGBUILDDIR>>/runtime/libpgmath/lib/x86_64/libm_inlines_amd.h:2041:22: error: ‘res[5]’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
 2041 |     nextbits = (~(res[i + 1]) & mask);
      |                  ~~~~^~~~~~~~
/<<PKGBUILDDIR>>/runtime/libpgmath/lib/x86_64/libm_inlines_amd.h:2050:14: error: ‘res[5]’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
 2050 |     nextbits = res[i + 1];
      |     ~~~~~~~~~^~~~~~~~~~~~
/<<PKGBUILDDIR>>/runtime/libpgmath/lib/x86_64/libm_inlines_amd.h:2050:14: error: ‘res[6]’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
/<<PKGBUILDDIR>>/runtime/libpgmath/lib/x86_64/libm_inlines_amd.h:2050:14: error: ‘res[7]’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
/<<PKGBUILDDIR>>/runtime/libpgmath/lib/x86_64/libm_inlines_amd.h:2050:14: error: ‘res[8]’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
/<<PKGBUILDDIR>>/runtime/libpgmath/lib/x86_64/libm_inlines_amd.h:2050:14: error: ‘res[9]’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
/<<PKGBUILDDIR>>/runtime/libpgmath/lib/x86_64/sincosp.c: In function ‘__mth_i_cos_avx2’:
/<<PKGBUILDDIR>>/runtime/libpgmath/lib/x86_64/libm_inlines_amd.h:2041:22: error: ‘res[5]’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
 2041 |     nextbits = (~(res[i + 1]) & mask);
      |                  ~~~~^~~~~~~~
/<<PKGBUILDDIR>>/runtime/libpgmath/lib/x86_64/libm_inlines_amd.h:2050:14: error: ‘res[5]’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
 2050 |     nextbits = res[i + 1];
      |     ~~~~~~~~~^~~~~~~~~~~~
/<<PKGBUILDDIR>>/runtime/libpgmath/lib/x86_64/libm_inlines_amd.h:2050:14: error: ‘res[6]’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
/<<PKGBUILDDIR>>/runtime/libpgmath/lib/x86_64/libm_inlines_amd.h:2050:14: error: ‘res[7]’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
/<<PKGBUILDDIR>>/runtime/libpgmath/lib/x86_64/libm_inlines_amd.h:2050:14: error: ‘res[8]’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
/<<PKGBUILDDIR>>/runtime/libpgmath/lib/x86_64/libm_inlines_amd.h:2050:14: error: ‘res[9]’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
cc1: all warnings being treated as errors
make[4]: *** [lib/x86_64/CMakeFiles/avx2.dir/build.make:284: lib/x86_64/CMakeFiles/avx2.dir/sincosp.c.o] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/debian/build/runtime/libpgmath'
make[3]: *** [CMakeFiles/Makefile2:4929: lib/x86_64/CMakeFiles/avx2.dir/all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian/build/runtime/libpgmath'
make[2]: *** [Makefile:130: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/debian/build/runtime/libpgmath'
make[1]: *** [debian/rules:31: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:14: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the Pkg-llvm-team mailing list