From ad18b4ebacd1ff915a9b49ea2e627fe09a402f78 Mon Sep 17 00:00:00 2001 From: Jay Fenlason Date: Thu, 17 Mar 2011 00:28:42 -0400 Subject: [PATCH] Close 647011 and 679489 --- openmpi-1.5-dt-textrel.patch | 11 +++++++++++ openmpi.spec | 13 ++++++++++++- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 openmpi-1.5-dt-textrel.patch diff --git a/openmpi-1.5-dt-textrel.patch b/openmpi-1.5-dt-textrel.patch new file mode 100644 index 0000000..704e446 --- /dev/null +++ b/openmpi-1.5-dt-textrel.patch @@ -0,0 +1,11 @@ +--- openmpi-1.5/opal/config/opal_config_asm.m4.jj 2010-09-28 23:33:51.000000000 +0200 ++++ openmpi-1.5/opal/config/opal_config_asm.m4 2011-02-23 01:39:21.191433509 +0100 +@@ -885,7 +885,7 @@ AC_DEFUN([OMPI_CONFIG_ASM],[ + ompi_cv_asm_arch="AMD64" + fi + OPAL_ASM_SUPPORT_64BIT=1 +- OMPI_GCC_INLINE_ASSIGN='"xaddl %1,%0" : "=m"(ret), "+r"(negone)' ++ OMPI_GCC_INLINE_ASSIGN='"xaddl %1,%0" : "=m"(ret), "+r"(negone) : "m"(ret)' + ;; + + ia64-*) diff --git a/openmpi.spec b/openmpi.spec index ec1e19e..1c7fe5d 100644 --- a/openmpi.spec +++ b/openmpi.spec @@ -19,7 +19,7 @@ Name: openmpi%{?_cc_name_suffix} Version: 1.5 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Open Message Passing Interface Group: Development/Libraries License: BSD, MIT and Romio @@ -35,6 +35,7 @@ URL: http://www.open-mpi.org/ Source0: openmpi-%{version}-RH.tar.bz2 Source1: openmpi.module.in Source2: macros.openmpi +Patch0: openmpi-1.5-dt-textrel.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gcc-gfortran, libtool, numactl-devel #sparc 64 doesnt have valgrind @@ -44,6 +45,7 @@ BuildRequires: valgrind-devel BuildRequires: libibverbs-devel >= 1.1.3, opensm-devel > 3.3.0 BuildRequires: librdmacm librdmacm-devel libibcm libibcm-devel BuildRequires: python libtool-ltdl-devel plpa-devel +BuildRequires: libesmtp-devel #%ifnarch ppc #BuildRequires: compat-dapl-devel #%endif @@ -116,6 +118,7 @@ Contains development headers and libraries for openmpi %prep %setup -q -n openmpi-%{version} +%patch0 -p1 -b .dt-textrel ./autogen.sh %build @@ -132,7 +135,9 @@ XFLAGS="-fPIC" --with-sge \ %ifnarch %{sparc} --with-valgrind \ + --enable-memchecker \ %endif + --with-esmtp \ --with-wrapper-cflags="%{?opt_cflags} %{?modeflag}" \ --with-wrapper-cxxflags="%{?opt_cxxflags} %{?modeflag}" \ --with-wrapper-fflags="%{?opt_fflags} %{?modeflag}" \ @@ -227,6 +232,12 @@ rm -rf %{buildroot} %{_sysconfdir}/rpm/macros.%{namearch} %changelog +* Thu Mar 17 2011 Jay Fenlason 1.5-3 +- Add dt-textrel patch to close + Resolves: bz679489 +- Add memchecker and esmtp support + Resolves: bz647011 + * Tue Feb 08 2011 Fedora Release Engineering - 1.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild