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

Bug#984205: libpsm2: ftbfs with GCC-11



Package: src:libpsm2
Version: 11.2.185-1
Severity: normal
Tags: sid bookworm
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-11

[This bug is not targeted to the upcoming bullseye release]

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-11/g++-11, but succeeds to build with gcc-10/g++-10. The
severity of this report will be raised before the bookworm release,
so nothing has to be done for the bullseye release.

The full build log can be found at:
http://people.debian.org/~doko/logs/20210228/filtered/gcc11/libpsm2_11.2.185-1_unstable_gcc11.log
The last lines of the build log are at the end of this report.

To build with GCC 11, either set CC=gcc-11 CXX=g++-11 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-11/porting_to.html

GCC 11 defaults to the GNU++17 standard.  If your package installs
header files in /usr/include, please don't work around C++17 issues
by choosing a lower C++ standard for the package build, but fix these
issues to build with the C++17 standard.

[...]
	debian/libpsm2-2-compat.prerm.in > debian/libpsm2-2-compat.prerm
sed	-e 's/@DEB_HOST_MULTIARCH@/x86_64-linux-gnu/g'	\
	-e 's/@PSM_LIB_VERSION@/1/g'		\
	-e 's/@PSM_LIB_MAJOR@/1/g'		\
	debian/libpsm2-2-compat.postrm.in > debian/libpsm2-2-compat.postrm
dh_auto_build
	make -j4 "INSTALL=install --strip-program=true"
make[2]: Entering directory '/<<PKGBUILDDIR>>'
mkdir -p /<<PKGBUILDDIR>>/build_release
# Our buildflags.mak exports all variables, all are propogated to submakes.
make[3]: Entering directory '/<<PKGBUILDDIR>>'
make[3]: warning: -j8 forced in submake: resetting jobserver mode.
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security  -pthread -Wall -Werror -mavx2 -D_DEFAULT_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -O3 -g3 -Wp,-D_FORTIFY_SOURCE=2 -DNVIDIA_GPU_DIRECT -fpic -fPIC -D_GNU_SOURCE -funwind-tables -Wno-strict-aliasing -Wformat-security -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/mpspawn -I/<<PKGBUILDDIR>>/include/linux-x86_64 -I/usr/include/uapi -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/ptl_ips -I/<<PKGBUILDDIR>>/build_release -I/<<PKGBUILDDIR>>/ptl_self/.. /<<PKGBUILDDIR>>/ptl_self/ptl.c -MM -MF /<<PKGBUILDDIR>>/build_release/ptl_self/ptl.d -MQ /<<PKGBUILDDIR>>/build_release/ptl_self/ptl.o
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security  -pthread -Wall -Werror -mavx2 -D_DEFAULT_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -O3 -g3 -Wp,-D_FORTIFY_SOURCE=2 -DNVIDIA_GPU_DIRECT -fpic -fPIC -D_GNU_SOURCE -funwind-tables -Wno-strict-aliasing -Wformat-security -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/mpspawn -I/<<PKGBUILDDIR>>/include/linux-x86_64 -I/usr/include/uapi -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/ptl_ips -I/<<PKGBUILDDIR>>/build_release -I/<<PKGBUILDDIR>>/ptl_self/.. -c /<<PKGBUILDDIR>>/ptl_self/ptl.c -o /<<PKGBUILDDIR>>/build_release/ptl_self/ptl.o
make[3]: Leaving directory '/<<PKGBUILDDIR>>/ptl_self'
make[3]: Entering directory '/<<PKGBUILDDIR>>'
make[3]: warning: -j8 forced in submake: resetting jobserver mode.
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security  -pthread -Wall -Werror -mavx2 -D_DEFAULT_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -O3 -g3 -Wp,-D_FORTIFY_SOURCE=2 -DNVIDIA_GPU_DIRECT -fpic -fPIC -D_GNU_SOURCE -funwind-tables -Wno-strict-aliasing -Wformat-security -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/mpspawn -I/<<PKGBUILDDIR>>/include/linux-x86_64 -I/usr/include/uapi -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/ptl_ips -I/<<PKGBUILDDIR>>/build_release -I/<<PKGBUILDDIR>>/ptl_ips/.. -I/<<PKGBUILDDIR>>/ptl_ips/../ptl_ips /<<PKGBUILDDIR>>/ptl_ips/ips_tidcache.c -MM -MF /<<PKGBUILDDIR>>/build_release/ptl_ips/ips_tidcache.d -MQ /<<PKGBUILDDIR>>/build_release/ptl_ips/ips_tidcache.o
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security  -pthread -Wall -Werror -mavx2 -D_DEFAULT_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -O3 -g3 -Wp,-D_FORTIFY_SOURCE=2 -DNVIDIA_GPU_DIRECT -fpic -fPIC -D_GNU_SOURCE -funwind-tables -Wno-strict-aliasing -Wformat-security -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/mpspawn -I/<<PKGBUILDDIR>>/include/linux-x86_64 -I/usr/include/uapi -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/ptl_ips -I/<<PKGBUILDDIR>>/build_release -I/<<PKGBUILDDIR>>/ptl_ips/.. -I/<<PKGBUILDDIR>>/ptl_ips/../ptl_ips /<<PKGBUILDDIR>>/ptl_ips/ips_path_rec.c -MM -MF /<<PKGBUILDDIR>>/build_release/ptl_ips/ips_path_rec.d -MQ /<<PKGBUILDDIR>>/build_release/ptl_ips/ips_path_rec.o
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security  -pthread -Wall -Werror -mavx2 -D_DEFAULT_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -O3 -g3 -Wp,-D_FORTIFY_SOURCE=2 -DNVIDIA_GPU_DIRECT -fpic -fPIC -D_GNU_SOURCE -funwind-tables -Wno-strict-aliasing -Wformat-security -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/mpspawn -I/<<PKGBUILDDIR>>/include/linux-x86_64 -I/usr/include/uapi -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/ptl_ips -I/<<PKGBUILDDIR>>/build_release -I/<<PKGBUILDDIR>>/ptl_ips/.. -I/<<PKGBUILDDIR>>/ptl_ips/../ptl_ips /<<PKGBUILDDIR>>/ptl_ips/ips_crc32.c -MM -MF /<<PKGBUILDDIR>>/build_release/ptl_ips/ips_crc32.d -MQ /<<PKGBUILDDIR>>/build_release/ptl_ips/ips_crc32.o
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security  -pthread -Wall -Werror -mavx2 -D_DEFAULT_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -O3 -g3 -Wp,-D_FORTIFY_SOURCE=2 -DNVIDIA_GPU_DIRECT -fpic -fPIC -D_GNU_SOURCE -funwind-tables -Wno-strict-aliasing -Wformat-security -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/mpspawn -I/<<PKGBUILDDIR>>/include/linux-x86_64 -I/usr/include/uapi -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/ptl_ips -I/<<PKGBUILDDIR>>/build_release -I/<<PKGBUILDDIR>>/ptl_ips/.. -I/<<PKGBUILDDIR>>/ptl_ips/../ptl_ips /<<PKGBUILDDIR>>/ptl_ips/ips_epstate.c -MM -MF /<<PKGBUILDDIR>>/build_release/ptl_ips/ips_epstate.d -MQ /<<PKGBUILDDIR>>/build_release/ptl_ips/ips_epstate.o
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security  -pthread -Wall -Werror -mavx2 -D_DEFAULT_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -O3 -g3 -Wp,-D_FORTIFY_SOURCE=2 -DNVIDIA_GPU_DIRECT -fpic -fPIC -D_GNU_SOURCE -funwind-tables -Wno-strict-aliasing -Wformat-security -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/mpspawn -I/<<PKGBUILDDIR>>/include/linux-x86_64 -I/usr/include/uapi -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/ptl_ips -I/<<PKGBUILDDIR>>/build_release -I/<<PKGBUILDDIR>>/ptl_ips/.. -I/<<PKGBUILDDIR>>/ptl_ips/../ptl_ips /<<PKGBUILDDIR>>/ptl_ips/ips_tidflow.c -MM -MF /<<PKGBUILDDIR>>/build_release/ptl_ips/ips_tidflow.d -MQ /<<PKGBUILDDIR>>/build_release/ptl_ips/ips_tidflow.o
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security  -pthread -Wall -Werror -mavx2 -D_DEFAULT_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -O3 -g3 -Wp,-D_FORTIFY_SOURCE=2 -DNVIDIA_GPU_DIRECT -fpic -fPIC -D_GNU_SOURCE -funwind-tables -Wno-strict-aliasing -Wformat-security -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/mpspawn -I/<<PKGBUILDDIR>>/include/linux-x86_64 -I/usr/include/uapi -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/ptl_ips -I/<<PKGBUILDDIR>>/build_release -I/<<PKGBUILDDIR>>/ptl_ips/.. -I/<<PKGBUILDDIR>>/ptl_ips/../ptl_ips /<<PKGBUILDDIR>>/ptl_ips/ips_opp_path_rec.c -MM -MF /<<PKGBUILDDIR>>/build_release/ptl_ips/ips_opp_path_rec.d -MQ /<<PKGBUILDDIR>>/build_release/ptl_ips/ips_opp_path_rec.o
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security  -pthread -Wall -Werror -mavx2 -D_DEFAULT_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -O3 -g3 -Wp,-D_FORTIFY_SOURCE=2 -DNVIDIA_GPU_DIRECT -fpic -fPIC -D_GNU_SOURCE -funwind-tables -Wno-strict-aliasing -Wformat-security -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/mpspawn -I/<<PKGBUILDDIR>>/include/linux-x86_64 -I/usr/include/uapi -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/ptl_ips -I/<<PKGBUILDDIR>>/build_release -I/<<PKGBUILDDIR>>/ptl_ips/.. -I/<<PKGBUILDDIR>>/ptl_ips/../ptl_ips /<<PKGBUILDDIR>>/ptl_ips/ips_proto_am.c -MM -MF /<<PKGBUILDDIR>>/build_release/ptl_ips/ips_proto_am.d -MQ /<<PKGBUILDDIR>>/build_release/ptl_ips/ips_proto_am.o
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security  -pthread -Wall -Werror -mavx2 -D_DEFAULT_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -O3 -g3 -Wp,-D_FORTIFY_SOURCE=2 -DNVIDIA_GPU_DIRECT -fpic -fPIC -D_GNU_SOURCE -funwind-tables -Wno-strict-aliasing -Wformat-security -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/mpspawn -I/<<PKGBUILDDIR>>/include/linux-x86_64 -I/usr/include/uapi -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/ptl_ips -I/<<PKGBUILDDIR>>/build_release -I/<<PKGBUILDDIR>>/ptl_ips/.. -I/<<PKGBUILDDIR>>/ptl_ips/../ptl_ips /<<PKGBUILDDIR>>/ptl_ips/ips_scb.c -MM -MF /<<PKGBUILDDIR>>/build_release/ptl_ips/ips_scb.d -MQ /<<PKGBUILDDIR>>/build_release/ptl_ips/ips_scb.o
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security  -pthread -Wall -Werror -mavx2 -D_DEFAULT_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -O3 -g3 -Wp,-D_FORTIFY_SOURCE=2 -DNVIDIA_GPU_DIRECT -fpic -fPIC -D_GNU_SOURCE -funwind-tables -Wno-strict-aliasing -Wformat-security -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/mpspawn -I/<<PKGBUILDDIR>>/include/linux-x86_64 -I/usr/include/uapi -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/ptl_ips -I/<<PKGBUILDDIR>>/build_release -I/<<PKGBUILDDIR>>/ptl_ips/.. -I/<<PKGBUILDDIR>>/ptl_ips/../ptl_ips /<<PKGBUILDDIR>>/ptl_ips/ips_tid.c -MM -MF /<<PKGBUILDDIR>>/build_release/ptl_ips/ips_tid.d -MQ /<<PKGBUILDDIR>>/build_release/ptl_ips/ips_tid.o
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security  -pthread -Wall -Werror -mavx2 -D_DEFAULT_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -O3 -g3 -Wp,-D_FORTIFY_SOURCE=2 -DNVIDIA_GPU_DIRECT -fpic -fPIC -D_GNU_SOURCE -funwind-tables -Wno-strict-aliasing -Wformat-security -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/mpspawn -I/<<PKGBUILDDIR>>/include/linux-x86_64 -I/usr/include/uapi -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/ptl_ips -I/<<PKGBUILDDIR>>/build_release -I/<<PKGBUILDDIR>>/ptl_ips/.. -I/<<PKGBUILDDIR>>/ptl_ips/../ptl_ips /<<PKGBUILDDIR>>/ptl_ips/ips_proto_expected.c -MM -MF /<<PKGBUILDDIR>>/build_release/ptl_ips/ips_proto_expected.d -MQ /<<PKGBUILDDIR>>/build_release/ptl_ips/ips_proto_expected.o
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security  -pthread -Wall -Werror -mavx2 -D_DEFAULT_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -O3 -g3 -Wp,-D_FORTIFY_SOURCE=2 -DNVIDIA_GPU_DIRECT -fpic -fPIC -D_GNU_SOURCE -funwind-tables -Wno-strict-aliasing -Wformat-security -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/mpspawn -I/<<PKGBUILDDIR>>/include/linux-x86_64 -I/usr/include/uapi -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/ptl_ips -I/<<PKGBUILDDIR>>/build_release -I/<<PKGBUILDDIR>>/ptl_ips/.. -I/<<PKGBUILDDIR>>/ptl_ips/../ptl_ips /<<PKGBUILDDIR>>/ptl_ips/ips_writehdrq.c -MM -MF /<<PKGBUILDDIR>>/build_release/ptl_ips/ips_writehdrq.d -MQ /<<PKGBUILDDIR>>/build_release/ptl_ips/ips_writehdrq.o
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security  -pthread -Wall -Werror -mavx2 -D_DEFAULT_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -O3 -g3 -Wp,-D_FORTIFY_SOURCE=2 -DNVIDIA_GPU_DIRECT -fpic -fPIC -D_GNU_SOURCE -funwind-tables -Wno-strict-aliasing -Wformat-security -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/mpspawn -I/<<PKGBUILDDIR>>/include/linux-x86_64 -I/usr/include/uapi -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/ptl_ips -I/<<PKGBUILDDIR>>/build_release -I/<<PKGBUILDDIR>>/ptl_ips/.. -I/<<PKGBUILDDIR>>/ptl_ips/../ptl_ips /<<PKGBUILDDIR>>/ptl_ips/ips_proto_mq.c -MM -MF /<<PKGBUILDDIR>>/build_release/ptl_ips/ips_proto_mq.d -MQ /<<PKGBUILDDIR>>/build_release/ptl_ips/ips_proto_mq.o
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security  -pthread -Wall -Werror -mavx2 -D_DEFAULT_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -O3 -g3 -Wp,-D_FORTIFY_SOURCE=2 -DNVIDIA_GPU_DIRECT -fpic -fPIC -D_GNU_SOURCE -funwind-tables -Wno-strict-aliasing -Wformat-security -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/mpspawn -I/<<PKGBUILDDIR>>/include/linux-x86_64 -I/usr/include/uapi -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/ptl_ips -I/<<PKGBUILDDIR>>/build_release -I/<<PKGBUILDDIR>>/ptl_ips/.. -I/<<PKGBUILDDIR>>/ptl_ips/../ptl_ips /<<PKGBUILDDIR>>/ptl_ips/ips_proto_dump.c -MM -MF /<<PKGBUILDDIR>>/build_release/ptl_ips/ips_proto_dump.d -MQ /<<PKGBUILDDIR>>/build_release/ptl_ips/ips_proto_dump.o
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security  -pthread -Wall -Werror -mavx2 -D_DEFAULT_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -O3 -g3 -Wp,-D_FORTIFY_SOURCE=2 -DNVIDIA_GPU_DIRECT -fpic -fPIC -D_GNU_SOURCE -funwind-tables -Wno-strict-aliasing -Wformat-security -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/mpspawn -I/<<PKGBUILDDIR>>/include/linux-x86_64 -I/usr/include/uapi -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/ptl_ips -I/<<PKGBUILDDIR>>/build_release -I/<<PKGBUILDDIR>>/ptl_ips/.. -I/<<PKGBUILDDIR>>/ptl_ips/../ptl_ips /<<PKGBUILDDIR>>/ptl_ips/ips_proto_connect.c -MM -MF /<<PKGBUILDDIR>>/build_release/ptl_ips/ips_proto_connect.d -MQ /<<PKGBUILDDIR>>/build_release/ptl_ips/ips_proto_connect.o
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security  -pthread -Wall -Werror -mavx2 -D_DEFAULT_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -O3 -g3 -Wp,-D_FORTIFY_SOURCE=2 -DNVIDIA_GPU_DIRECT -fpic -fPIC -D_GNU_SOURCE -funwind-tables -Wno-strict-aliasing -Wformat-security -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/mpspawn -I/<<PKGBUILDDIR>>/include/linux-x86_64 -I/usr/include/uapi -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/ptl_ips -I/<<PKGBUILDDIR>>/build_release -I/<<PKGBUILDDIR>>/ptl_ips/.. -I/<<PKGBUILDDIR>>/ptl_ips/../ptl_ips /<<PKGBUILDDIR>>/ptl_ips/ips_proto_recv.c -MM -MF /<<PKGBUILDDIR>>/build_release/ptl_ips/ips_proto_recv.d -MQ /<<PKGBUILDDIR>>/build_release/ptl_ips/ips_proto_recv.o
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security  -pthread -Wall -Werror -mavx2 -D_DEFAULT_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -O3 -g3 -Wp,-D_FORTIFY_SOURCE=2 -DNVIDIA_GPU_DIRECT -fpic -fPIC -D_GNU_SOURCE -funwind-tables -Wno-strict-aliasing -Wformat-security -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/mpspawn -I/<<PKGBUILDDIR>>/include/linux-x86_64 -I/usr/include/uapi -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/ptl_ips -I/<<PKGBUILDDIR>>/build_release -I/<<PKGBUILDDIR>>/ptl_ips/.. -I/<<PKGBUILDDIR>>/ptl_ips/../ptl_ips /<<PKGBUILDDIR>>/ptl_ips/ips_recvhdrq.c -MM -MF /<<PKGBUILDDIR>>/build_release/ptl_ips/ips_recvhdrq.d -MQ /<<PKGBUILDDIR>>/build_release/ptl_ips/ips_recvhdrq.o
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security  -pthread -Wall -Werror -mavx2 -D_DEFAULT_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -O3 -g3 -Wp,-D_FORTIFY_SOURCE=2 -DNVIDIA_GPU_DIRECT -fpic -fPIC -D_GNU_SOURCE -funwind-tables -Wno-strict-aliasing -Wformat-security -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/mpspawn -I/<<PKGBUILDDIR>>/include/linux-x86_64 -I/usr/include/uapi -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/ptl_ips -I/<<PKGBUILDDIR>>/build_release -I/<<PKGBUILDDIR>>/ptl_ips/.. -I/<<PKGBUILDDIR>>/ptl_ips/../ptl_ips /<<PKGBUILDDIR>>/ptl_ips/ips_recvq.c -MM -MF /<<PKGBUILDDIR>>/build_release/ptl_ips/ips_recvq.d -MQ /<<PKGBUILDDIR>>/build_release/ptl_ips/ips_recvq.o
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security  -pthread -Wall -Werror -mavx2 -D_DEFAULT_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -O3 -g3 -Wp,-D_FORTIFY_SOURCE=2 -DNVIDIA_GPU_DIRECT -fpic -fPIC -D_GNU_SOURCE -funwind-tables -Wno-strict-aliasing -Wformat-security -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/mpspawn -I/<<PKGBUILDDIR>>/include/linux-x86_64 -I/usr/include/uapi -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/ptl_ips -I/<<PKGBUILDDIR>>/build_release -I/<<PKGBUILDDIR>>/ptl_ips/.. -I/<<PKGBUILDDIR>>/ptl_ips/../ptl_ips /<<PKGBUILDDIR>>/ptl_ips/ips_proto.c -MM -MF /<<PKGBUILDDIR>>/build_release/ptl_ips/ips_proto.d -MQ /<<PKGBUILDDIR>>/build_release/ptl_ips/ips_proto.o
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security  -pthread -Wall -Werror -mavx2 -D_DEFAULT_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -O3 -g3 -Wp,-D_FORTIFY_SOURCE=2 -DNVIDIA_GPU_DIRECT -fpic -fPIC -D_GNU_SOURCE -funwind-tables -Wno-strict-aliasing -Wformat-security -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/mpspawn -I/<<PKGBUILDDIR>>/include/linux-x86_64 -I/usr/include/uapi -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/ptl_ips -I/<<PKGBUILDDIR>>/build_release -I/<<PKGBUILDDIR>>/ptl_ips/.. -I/<<PKGBUILDDIR>>/ptl_ips/../ptl_ips /<<PKGBUILDDIR>>/ptl_ips/ptl_rcvthread.c -MM -MF /<<PKGBUILDDIR>>/build_release/ptl_ips/ptl_rcvthread.d -MQ /<<PKGBUILDDIR>>/build_release/ptl_ips/ptl_rcvthread.o
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security  -pthread -Wall -Werror -mavx2 -D_DEFAULT_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -O3 -g3 -Wp,-D_FORTIFY_SOURCE=2 -DNVIDIA_GPU_DIRECT -fpic -fPIC -D_GNU_SOURCE -funwind-tables -Wno-strict-aliasing -Wformat-security -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/mpspawn -I/<<PKGBUILDDIR>>/include/linux-x86_64 -I/usr/include/uapi -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/ptl_ips -I/<<PKGBUILDDIR>>/build_release -I/<<PKGBUILDDIR>>/ptl_ips/.. -I/<<PKGBUILDDIR>>/ptl_ips/../ptl_ips /<<PKGBUILDDIR>>/ptl_ips/ptl.c -MM -MF /<<PKGBUILDDIR>>/build_release/ptl_ips/ptl.d -MQ /<<PKGBUILDDIR>>/build_release/ptl_ips/ptl.o
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security  -pthread -Wall -Werror -mavx2 -D_DEFAULT_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -O3 -g3 -Wp,-D_FORTIFY_SOURCE=2 -DNVIDIA_GPU_DIRECT -fpic -fPIC -D_GNU_SOURCE -funwind-tables -Wno-strict-aliasing -Wformat-security -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/mpspawn -I/<<PKGBUILDDIR>>/include/linux-x86_64 -I/usr/include/uapi -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/ptl_ips -I/<<PKGBUILDDIR>>/build_release -I/<<PKGBUILDDIR>>/ptl_ips/.. -I/<<PKGBUILDDIR>>/ptl_ips/../ptl_ips -c /<<PKGBUILDDIR>>/ptl_ips/ptl.c -o /<<PKGBUILDDIR>>/build_release/ptl_ips/ptl.o
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security  -pthread -Wall -Werror -mavx2 -D_DEFAULT_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -O3 -g3 -Wp,-D_FORTIFY_SOURCE=2 -DNVIDIA_GPU_DIRECT -fpic -fPIC -D_GNU_SOURCE -funwind-tables -Wno-strict-aliasing -Wformat-security -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/mpspawn -I/<<PKGBUILDDIR>>/include/linux-x86_64 -I/usr/include/uapi -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/ptl_ips -I/<<PKGBUILDDIR>>/build_release -I/<<PKGBUILDDIR>>/ptl_ips/.. -I/<<PKGBUILDDIR>>/ptl_ips/../ptl_ips -c /<<PKGBUILDDIR>>/ptl_ips/ptl_rcvthread.c -o /<<PKGBUILDDIR>>/build_release/ptl_ips/ptl_rcvthread.o
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security  -pthread -Wall -Werror -mavx2 -D_DEFAULT_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -O3 -g3 -Wp,-D_FORTIFY_SOURCE=2 -DNVIDIA_GPU_DIRECT -fpic -fPIC -D_GNU_SOURCE -funwind-tables -Wno-strict-aliasing -Wformat-security -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/mpspawn -I/<<PKGBUILDDIR>>/include/linux-x86_64 -I/usr/include/uapi -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/ptl_ips -I/<<PKGBUILDDIR>>/build_release -I/<<PKGBUILDDIR>>/ptl_ips/.. -I/<<PKGBUILDDIR>>/ptl_ips/../ptl_ips -c /<<PKGBUILDDIR>>/ptl_ips/ips_proto.c -o /<<PKGBUILDDIR>>/build_release/ptl_ips/ips_proto.o
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security  -pthread -Wall -Werror -mavx2 -D_DEFAULT_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -O3 -g3 -Wp,-D_FORTIFY_SOURCE=2 -DNVIDIA_GPU_DIRECT -fpic -fPIC -D_GNU_SOURCE -funwind-tables -Wno-strict-aliasing -Wformat-security -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/mpspawn -I/<<PKGBUILDDIR>>/include/linux-x86_64 -I/usr/include/uapi -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/ptl_ips -I/<<PKGBUILDDIR>>/build_release -I/<<PKGBUILDDIR>>/ptl_ips/.. -I/<<PKGBUILDDIR>>/ptl_ips/../ptl_ips -c /<<PKGBUILDDIR>>/ptl_ips/ips_recvq.c -o /<<PKGBUILDDIR>>/build_release/ptl_ips/ips_recvq.o
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security  -pthread -Wall -Werror -mavx2 -D_DEFAULT_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -O3 -g3 -Wp,-D_FORTIFY_SOURCE=2 -DNVIDIA_GPU_DIRECT -fpic -fPIC -D_GNU_SOURCE -funwind-tables -Wno-strict-aliasing -Wformat-security -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/mpspawn -I/<<PKGBUILDDIR>>/include/linux-x86_64 -I/usr/include/uapi -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/ptl_ips -I/<<PKGBUILDDIR>>/build_release -I/<<PKGBUILDDIR>>/ptl_ips/.. -I/<<PKGBUILDDIR>>/ptl_ips/../ptl_ips -c /<<PKGBUILDDIR>>/ptl_ips/ips_recvhdrq.c -o /<<PKGBUILDDIR>>/build_release/ptl_ips/ips_recvhdrq.o
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security  -pthread -Wall -Werror -mavx2 -D_DEFAULT_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -O3 -g3 -Wp,-D_FORTIFY_SOURCE=2 -DNVIDIA_GPU_DIRECT -fpic -fPIC -D_GNU_SOURCE -funwind-tables -Wno-strict-aliasing -Wformat-security -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/mpspawn -I/<<PKGBUILDDIR>>/include/linux-x86_64 -I/usr/include/uapi -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/ptl_ips -I/<<PKGBUILDDIR>>/build_release -I/<<PKGBUILDDIR>>/ptl_ips/.. -I/<<PKGBUILDDIR>>/ptl_ips/../ptl_ips -c /<<PKGBUILDDIR>>/ptl_ips/ips_proto_recv.c -o /<<PKGBUILDDIR>>/build_release/ptl_ips/ips_proto_recv.o
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security  -pthread -Wall -Werror -mavx2 -D_DEFAULT_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -O3 -g3 -Wp,-D_FORTIFY_SOURCE=2 -DNVIDIA_GPU_DIRECT -fpic -fPIC -D_GNU_SOURCE -funwind-tables -Wno-strict-aliasing -Wformat-security -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/mpspawn -I/<<PKGBUILDDIR>>/include/linux-x86_64 -I/usr/include/uapi -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/ptl_ips -I/<<PKGBUILDDIR>>/build_release -I/<<PKGBUILDDIR>>/ptl_ips/.. -I/<<PKGBUILDDIR>>/ptl_ips/../ptl_ips -c /<<PKGBUILDDIR>>/ptl_ips/ips_proto_connect.c -o /<<PKGBUILDDIR>>/build_release/ptl_ips/ips_proto_connect.o
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security  -pthread -Wall -Werror -mavx2 -D_DEFAULT_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -O3 -g3 -Wp,-D_FORTIFY_SOURCE=2 -DNVIDIA_GPU_DIRECT -fpic -fPIC -D_GNU_SOURCE -funwind-tables -Wno-strict-aliasing -Wformat-security -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/mpspawn -I/<<PKGBUILDDIR>>/include/linux-x86_64 -I/usr/include/uapi -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/ptl_ips -I/<<PKGBUILDDIR>>/build_release -I/<<PKGBUILDDIR>>/ptl_ips/.. -I/<<PKGBUILDDIR>>/ptl_ips/../ptl_ips -c /<<PKGBUILDDIR>>/ptl_ips/ips_proto_dump.c -o /<<PKGBUILDDIR>>/build_release/ptl_ips/ips_proto_dump.o
In file included from /<<PKGBUILDDIR>>/include/opa_intf.h:68,
                 from /<<PKGBUILDDIR>>/include/opa_user.h:80,
                 from /<<PKGBUILDDIR>>/psm_user.h:78,
                 from /<<PKGBUILDDIR>>/ptl_ips/ptl_rcvthread.c:58:
/<<PKGBUILDDIR>>/ptl_ips/ptl_rcvthread.c: In function ‘ips_ptl_pollintr’:
/<<PKGBUILDDIR>>/include/linux-x86_64/sysdep.h:146:9: error: array subscript ‘struct xchg_dummy[0]’ is partly outside array bounds of ‘psmi_lock_t[1]’ [-Werror=array-bounds]
  146 |         asm volatile (LOCK_PREFIX "cmpxchgl %1,%2" : "=a"(prev)
      |         ^~~
In file included from /<<PKGBUILDDIR>>/ptl_ips/ptl_rcvthread.c:58:
/<<PKGBUILDDIR>>/psm_user.h:122:20: note: while referencing ‘psmi_creation_lock’
  122 | extern psmi_lock_t psmi_creation_lock;
      |                    ^~~~~~~~~~~~~~~~~~
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security  -pthread -Wall -Werror -mavx2 -D_DEFAULT_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -O3 -g3 -Wp,-D_FORTIFY_SOURCE=2 -DNVIDIA_GPU_DIRECT -fpic -fPIC -D_GNU_SOURCE -funwind-tables -Wno-strict-aliasing -Wformat-security -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/mpspawn -I/<<PKGBUILDDIR>>/include/linux-x86_64 -I/usr/include/uapi -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/ptl_ips -I/<<PKGBUILDDIR>>/build_release -I/<<PKGBUILDDIR>>/ptl_ips/.. -I/<<PKGBUILDDIR>>/ptl_ips/../ptl_ips -c /<<PKGBUILDDIR>>/ptl_ips/ips_proto_mq.c -o /<<PKGBUILDDIR>>/build_release/ptl_ips/ips_proto_mq.o
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security  -pthread -Wall -Werror -mavx2 -D_DEFAULT_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -O3 -g3 -Wp,-D_FORTIFY_SOURCE=2 -DNVIDIA_GPU_DIRECT -fpic -fPIC -D_GNU_SOURCE -funwind-tables -Wno-strict-aliasing -Wformat-security -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/mpspawn -I/<<PKGBUILDDIR>>/include/linux-x86_64 -I/usr/include/uapi -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/ptl_ips -I/<<PKGBUILDDIR>>/build_release -I/<<PKGBUILDDIR>>/ptl_ips/.. -I/<<PKGBUILDDIR>>/ptl_ips/../ptl_ips -c /<<PKGBUILDDIR>>/ptl_ips/ips_writehdrq.c -o /<<PKGBUILDDIR>>/build_release/ptl_ips/ips_writehdrq.o
cc1: all warnings being treated as errors
make[3]: *** [Makefile:80: /<<PKGBUILDDIR>>/build_release/ptl_ips/ptl_rcvthread.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<PKGBUILDDIR>>/ptl_ips'
make[2]: *** [Makefile:299: all] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 "INSTALL=install --strip-program=true" returned exit code 2
make[1]: *** [debian/rules:38: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:16: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2


Reply to: