[Pkg-ofed-devel] Bug#811940: infinipath-psm: FTBFS with GCC 6: defined but not used

Martin Michlmayr tbm at hpe.com
Wed Jan 20 03:50:44 UTC 2016


Package: infinipath-psm
Version: 3.3+7.gec1d6d2-3
Severity: important
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-unused-const-variable

This package fails to build with GCC 6.  GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.

Note that only the first error is reported; there might be more.  You
can find a snapshot of GCC 6 in experimental.  To build with GCC 6,
you can set CC=gcc-6 CXX=g++-6 explicitly.

You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> cc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security   -Wall -Werror  -fpic -fPIC -D_GNU_SOURCE -funwind-tables   -O3 -g3   -DNVALGRIND   -Wall -Werror  -fpic -fPIC -D_GNU_SOURCE -funwind-tables   -O3 -g3  -DPSM_USE_SYS_UUID  -DNVALGRIND -I. -I/<<BUILDDIR>>/infinipath-psm-3.3+7.gec1d6d2/include -I/<<BUILDDIR>>/infinipath-psm-3.3+7.gec1d6d2/mpspawn -I/<<BUILDDIR>>/infinipath-psm-3.3+7.gec1d6d2/include/linux-x86_64  -I/<<BUILDDIR>>/infinipath-psm-3.3+7.gec1d6d2  -c am_reqrep.c -o am_reqrep.o
> In file included from /<<BUILDDIR>>/infinipath-psm-3.3+7.gec1d6d2/psm_user.h:51:0,
>                  from am_reqrep.c:35:
> /<<BUILDDIR>>/infinipath-psm-3.3+7.gec1d6d2/psm_help.h:131:62: error: '__psm_ss_amsh_qtail_info_t' defined but not used [-Werror=unused-const-variable]
>  #define PSMI_STRICT_SIZE_DECL(member,sz) static const size_t __psm_ss_ ## member = sz
>                                                               ^
> 
> psm_am_internal.h:425:1: note: in expansion of macro 'PSMI_STRICT_SIZE_DECL'
>  PSMI_STRICT_SIZE_DECL(amsh_qtail_info_t,64);
>  ^~~~~~~~~~~~~~~~~~~~~
> 
> /<<BUILDDIR>>/infinipath-psm-3.3+7.gec1d6d2/psm_help.h:131:62: error: '__psm_ss_am_ctl_blockhdr_t' defined but not used [-Werror=unused-const-variable]
>  #define PSMI_STRICT_SIZE_DECL(member,sz) static const size_t __psm_ss_ ## member = sz
>                                                               ^
> 
> psm_am_internal.h:351:1: note: in expansion of macro 'PSMI_STRICT_SIZE_DECL'
>  PSMI_STRICT_SIZE_DECL(am_ctl_blockhdr_t,128*3);
>  ^~~~~~~~~~~~~~~~~~~~~
> 
> /<<BUILDDIR>>/infinipath-psm-3.3+7.gec1d6d2/psm_help.h:131:62: error: '__psm_ss_am_ctl_qhdr_t' defined but not used [-Werror=unused-const-variable]
>  #define PSMI_STRICT_SIZE_DECL(member,sz) static const size_t __psm_ss_ ## member = sz
>                                                               ^
> 
> psm_am_internal.h:338:1: note: in expansion of macro 'PSMI_STRICT_SIZE_DECL'
>  PSMI_STRICT_SIZE_DECL(am_ctl_qhdr_t,128);
>  ^~~~~~~~~~~~~~~~~~~~~
> 
> /<<BUILDDIR>>/infinipath-psm-3.3+7.gec1d6d2/psm_help.h:131:62: error: '__psm_ss_am_pkt_short_t' defined but not used [-Werror=unused-const-variable]
>  #define PSMI_STRICT_SIZE_DECL(member,sz) static const size_t __psm_ss_ ## member = sz
>                                                               ^
> 
> psm_am_internal.h:308:1: note: in expansion of macro 'PSMI_STRICT_SIZE_DECL'
>  PSMI_STRICT_SIZE_DECL(am_pkt_short_t,64);

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise



More information about the Pkg-ofed-devel mailing list