Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Nov 2016 22:29:55 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r426981 - in branches/2016Q4/net/mpich: . files
Message-ID:  <201611232229.uANMTtW3083578@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Wed Nov 23 22:29:55 2016
New Revision: 426981
URL: https://svnweb.freebsd.org/changeset/ports/426981

Log:
  MFH: r426949
  
  Add patch to apply alignment attribute to a struct instead of a typedef.
  This rounds the size of the struct to a multiple of the alignment such that
  malloc and friends allocate memory with the correct alignment.
  
  PR:		214784
  Approved by:	ports-secteam (feld)

Added:
  branches/2016Q4/net/mpich/files/patch-src-include-mpiimpl.h
     - copied unchanged from r426949, head/net/mpich/files/patch-src-include-mpiimpl.h
Modified:
  branches/2016Q4/net/mpich/Makefile
Directory Properties:
  branches/2016Q4/   (props changed)

Modified: branches/2016Q4/net/mpich/Makefile
==============================================================================
--- branches/2016Q4/net/mpich/Makefile	Wed Nov 23 22:28:16 2016	(r426980)
+++ branches/2016Q4/net/mpich/Makefile	Wed Nov 23 22:29:55 2016	(r426981)
@@ -2,7 +2,7 @@
 
 PORTNAME=	mpich
 PORTVERSION=	3.2
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net parallel
 MASTER_SITES=	http://www.mpich.org/static/downloads/${DISTVERSION}/
 

Copied: branches/2016Q4/net/mpich/files/patch-src-include-mpiimpl.h (from r426949, head/net/mpich/files/patch-src-include-mpiimpl.h)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2016Q4/net/mpich/files/patch-src-include-mpiimpl.h	Wed Nov 23 22:29:55 2016	(r426981, copy of r426949, head/net/mpich/files/patch-src-include-mpiimpl.h)
@@ -0,0 +1,11 @@
+--- src/include/mpiimpl.h.orig	2015-11-10 02:39:01 UTC
++++ src/include/mpiimpl.h
+@@ -1528,7 +1528,7 @@ typedef struct MPID_Request {
+ #ifdef MPID_DEV_REQUEST_DECL
+     MPID_DEV_REQUEST_DECL
+ #endif
+-} MPID_Request ATTRIBUTE((__aligned__(32)));
++} ATTRIBUTE((__aligned__(32))) MPID_Request;
+ 
+ extern MPIU_Object_alloc_t MPID_Request_mem;
+ /* Preallocated request objects */



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