Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 May 2022 10:25:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 264366] net/mpich2: Build fails with GCC 11 on i386: error: size of array element is not a multiple of its alignment
Message-ID:  <bug-264366-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264366

            Bug ID: 264366
           Summary: net/mpich2: Build fails with GCC 11 on i386: error:
                    size of array element is not a multiple of its
                    alignment
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: http://package23.nyi.freebsd.org/data/130i386-default-
                    foo/2022-05-26_19h07m39s/logs/errors/mpich2-1.5_15,5.l
                    og
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: thierry@FreeBSD.org
          Reporter: salvadore@freebsd.org
            Blocks: 258378
             Flags: maintainer-feedback?(thierry@FreeBSD.org)
          Assignee: thierry@FreeBSD.org

Updating GCC_DEFAULT from GCC 10 to GCC 11 is blocked by the fact that buil=
ding
this port with GCC 11 on i386 fails.

The error messages are the following:

--- src/mpi/attr/attrutil.lo ---
In file included from src/mpi/attr/attrutil.c:16:
./src/include/mpiimpl.h:1458:1: error: size of array element is not a multi=
ple
of its alignment
 1458 | extern MPID_Request MPID_Request_direct[];
      | ^~~~~~
./src/include/mpiimpl.h:1458:1: error: size of array element is not a multi=
ple
of its alignment

and later we also have

--- src/mpi/attr/dup_fn.lo ---
In file included from src/mpi/attr/dup_fn.c:8:
./src/include/mpiimpl.h:1458:1: error: size of array element is not a multi=
ple
of its alignment
 1458 | extern MPID_Request MPID_Request_direct[];
      | ^~~~~~
./src/include/mpiimpl.h:1458:1: error: size of array element is not a multi=
ple
of its alignment
*** [src/mpi/attr/dup_fn.lo] Error code 1

Please also see the log in the URL field.


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258378
[Bug 258378] [exp-run] Update GCC_DEFAULT from 10 to 11
--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264366-7788>