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

Ana Guerrero Lopez ana at debian.org
Mon Apr 4 08:06:32 UTC 2016

On Tue, Jan 19, 2016 at 07:50:44PM -0800, Martin Michlmayr wrote:
> 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.

With the version 3.3+19.g67c0807.open-1, the package still FTBFS with GCC 6
with the following error:

psm_diags.c: In function 'memcpy_check_size':
psm_diags.c:286:7: error: statement is indented as if it were guarded by... [-Werror=misleading-indentation]
       if (dst) psmi_free(dst);
psm_diags.c:284:5: note: ...this 'if' clause, but it is not
     if (src == NULL || dst == NULL)
cc1: all warnings being treated as errors

I'll send a path to upstream.


More information about the Pkg-ofed-devel mailing list