[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#957673: perftest: ftbfs with GCC-10



Package: src:perftest
Version: 4.4+0.5-1
Severity: normal
Tags: sid bullseye
User: debian-gcc@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/perftest_4.4+0.5-1_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

[...]
checking for rdma_create_event_channel in -lrdmacm... yes
checking for umad_init in -libumad... yes
checking for log in -lm... yes
checking for infiniband/verbs_exp.h... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --disable-maintainer-mode
   dh_auto_build
	make -j4
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make  all-am
make[2]: Entering directory '/<<PKGBUILDDIR>>'
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -Wall -D_GNU_SOURCE -O3 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/send_bw.o src/send_bw.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -Wall -D_GNU_SOURCE -O3 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/multicast_resources.o src/multicast_resources.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -Wall -D_GNU_SOURCE -O3 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/get_clock.o src/get_clock.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -Wall -D_GNU_SOURCE -O3 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/perftest_communication.o src/perftest_communication.c
In file included from /usr/include/x86_64-linux-gnu/sys/time.h:21,
                 from src/get_clock.c:43:
/usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -Wall -D_GNU_SOURCE -O3 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/perftest_parameters.o src/perftest_parameters.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -Wall -D_GNU_SOURCE -O3 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/perftest_resources.o src/perftest_resources.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -Wall -D_GNU_SOURCE -O3 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/raw_ethernet_resources.o src/raw_ethernet_resources.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -Wall -D_GNU_SOURCE -O3 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/send_lat.o src/send_lat.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -Wall -D_GNU_SOURCE -O3 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/write_lat.o src/write_lat.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -Wall -D_GNU_SOURCE -O3 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/write_bw.o src/write_bw.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -Wall -D_GNU_SOURCE -O3 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/read_lat.o src/read_lat.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -Wall -D_GNU_SOURCE -O3 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/read_bw.o src/read_bw.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -Wall -D_GNU_SOURCE -O3 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/atomic_lat.o src/atomic_lat.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -Wall -D_GNU_SOURCE -O3 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/atomic_bw.o src/atomic_bw.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -Wall -D_GNU_SOURCE -O3 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/raw_ethernet_send_bw.o src/raw_ethernet_send_bw.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -Wall -D_GNU_SOURCE -O3 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/raw_ethernet_send_lat.o src/raw_ethernet_send_lat.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -Wall -D_GNU_SOURCE -O3 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/raw_ethernet_send_burst_lat.o src/raw_ethernet_send_burst_lat.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -Wall -D_GNU_SOURCE -O3 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/raw_ethernet_fs_rate.o src/raw_ethernet_fs_rate.c
rm -f libperftest.a
ar cru libperftest.a src/get_clock.o src/perftest_communication.o src/perftest_parameters.o src/perftest_resources.o src/raw_ethernet_resources.o  
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib libperftest.a
/bin/bash ./libtool  --tag=CC   --mode=link gcc  -g -Wall -D_GNU_SOURCE -O3 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wl,-z,relro -Wl,-z,now -o ib_send_bw src/send_bw.o src/multicast_resources.o libperftest.a -libumad -lm   -lrdmacm -libverbs  -lpthread
/bin/bash ./libtool  --tag=CC   --mode=link gcc  -g -Wall -D_GNU_SOURCE -O3 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wl,-z,relro -Wl,-z,now -o ib_send_lat src/send_lat.o src/multicast_resources.o libperftest.a -libumad -lm   -lrdmacm -libverbs  -lpthread
/bin/bash ./libtool  --tag=CC   --mode=link gcc  -g -Wall -D_GNU_SOURCE -O3 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wl,-z,relro -Wl,-z,now -o ib_write_lat src/write_lat.o libperftest.a -lm    -lrdmacm -libverbs  -lpthread
/bin/bash ./libtool  --tag=CC   --mode=link gcc  -g -Wall -D_GNU_SOURCE -O3 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wl,-z,relro -Wl,-z,now -o ib_write_bw src/write_bw.o libperftest.a -lm   -lrdmacm -libverbs  -lpthread
libtool: link: gcc -g -Wall -D_GNU_SOURCE -O3 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o ib_write_lat src/write_lat.o  libperftest.a -lm -lrdmacm -libverbs -lpthread
libtool: link: gcc -g -Wall -D_GNU_SOURCE -O3 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o ib_send_bw src/send_bw.o src/multicast_resources.o  libperftest.a -libumad -lm -lrdmacm -libverbs -lpthread
libtool: link: gcc -g -Wall -D_GNU_SOURCE -O3 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o ib_send_lat src/send_lat.o src/multicast_resources.o  libperftest.a -libumad -lm -lrdmacm -libverbs -lpthread
libtool: link: gcc -g -Wall -D_GNU_SOURCE -O3 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o ib_write_bw src/write_bw.o  libperftest.a -lm -lrdmacm -libverbs -lpthread
/usr/bin/ld: libperftest.a(raw_ethernet_resources.o):./src/raw_ethernet_resources.c:58: multiple definition of `duration_param'; /usr/bin/ld: libperftest.a(raw_ethernet_resources.o):./src/raw_ethernet_resources.c:58: multiple definition of `duration_param'; /usr/bin/ld: /usr/bin/ld: libperftest.a(raw_ethernet_resources.o):./src/raw_ethernet_resources.c:58: multiple definition of `duration_param'; libperftest.a(perftest_resources.o):./src/perftest_resources.c:37: first defined here
libperftest.a(raw_ethernet_resources.o):./src/raw_ethernet_resources.c:58: multiple definition of `duration_param'; libperftest.a(perftest_resources.o):./src/perftest_resources.c:37: first defined here
libperftest.a(perftest_resources.o):./src/perftest_resources.c:37: first defined here
libperftest.a(perftest_resources.o):./src/perftest_resources.c:37: first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:745: ib_write_lat] Error 1
make[2]: *** Waiting for unfinished jobs....
collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:739: ib_write_bw] Error 1
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:727: ib_send_bw] Error 1
make[2]: *** [Makefile:733: ib_send_lat] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:571: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:7: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2


Reply to: