Compare commits

...

No commits in common. 'c9' and 'c8' have entirely different histories.
c9 ... c8

2
.gitignore vendored

@ -1 +1 @@
SOURCES/memkind-1.11.0.tar.gz SOURCES/memkind-1.10.1.tar.gz

@ -1 +1 @@
9da539ad9b716419b997ccf2020c1edd510c6082 SOURCES/memkind-1.11.0.tar.gz de0d9fdd1432415c005d034d8dc0ebadffbe4847 SOURCES/memkind-1.10.1.tar.gz

@ -1,13 +1,21 @@
diff --git a/configure.ac b/configure.ac diff --git a/configure.ac b/configure.ac
index 0659008..43f79d8 100644 index 7c332d7..fa5a487 100644
--- a/configure.ac --- a/configure.ac
+++ b/configure.ac +++ b/configure.ac
@@ -136,7 +136,7 @@ fi @@ -159,16 +159,6 @@ fi
],
[enable_secure="1"] [enable_secure="1"]
) )
if test "x$enable_secure" = "x1" ; then -if test "x$enable_secure" = "x1" ; then
- CFLAGS="$CFLAGS -fstack-protector" - CFLAGS="$CFLAGS -fstack-protector"
+ CFLAGS="$CFLAGS -fstack-protector-strong -fstack-clash-protection" - LDFLAGS="$LDFLAGS -Wl,-z,relro,-z,now"
LDFLAGS="$LDFLAGS -Wl,-z,relro,-z,now" -
- if test "$CFLAGS" != "${CFLAGS%-O0*}" ; then # if CFLAGS contains -O0
- echo "WARNING: Could not apply FORTIFY_SOURCE=2 due to lack of optimization (-O0)"
- else
- CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=2" #FORTITFY_SOURCE does not work with -O0 (ex. if enable_debug=1 or enable_gcov=1)
- fi
-fi
AC_SUBST([enable_secure])
if test "$CFLAGS" != "${CFLAGS%-O0*}" ; then # if CFLAGS contains -O0

@ -1,19 +1,32 @@
%global gittag0 v1.11.0 %global gittag0 v1.10.1
Name: memkind Name: memkind
Summary: User Extensible Heap Manager Summary: User Extensible Heap Manager
Version: 1.11.0 Version: 1.10.1
Release: 2%{?checkout}%{?dist} Release: 1%{?checkout}%{?dist}
License: BSD License: BSD
Group: System Environment/Libraries
URL: http://memkind.github.io/memkind URL: http://memkind.github.io/memkind
BuildRequires: make
BuildRequires: automake libtool numactl-devel systemd gcc gcc-c++ daxctl-devel BuildRequires: automake libtool numactl-devel systemd gcc gcc-c++ daxctl-devel
# Upstream testing of memkind is done exclusively on x86_64; other archs # x86_64 is the only arch memkind will build and work due to
# are unsupported but may work. # its current dependency on SSE4.2 CRC32 instruction which
ExclusiveArch: x86_64 ppc64 ppc64le s390x aarch64 # is used to compute thread local storage arena mappings
# with polynomial accumulations via GCC's intrinsic _mm_crc32_u64
Source0: https://github.com/%{name}/%{name}/archive/%{gittag0}/%{name}-%{version}.tar.gz # For further info check:
# - /lib/gcc/<target>/<version>/include/smmintrin.h
# - https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36095
# - http://en.wikipedia.org/wiki/SSE4
ExclusiveArch: x86_64
# Source0 creation:
# (1) "git archive git archive --prefix=%%{name}-%%{version}/ --format=tar [githash] | \
# gzip > [srcdir]/%%{name}-%%{version}-g%%{githash}.tar.gz"; or
# (2) wget https://github.com/%%{name}/%%{name}/archive/%%{gittag0}/%%{name}-%%{version}.tar.gz
Source0: %{name}-%{version}.tar.gz
# void nonsensical CFLAGS override done by autotools which invalidates
# the strong stack protection setup
Patch0: configure.ac.patch Patch0: configure.ac.patch
%description %description
@ -33,6 +46,7 @@ Feedback on design or implementation is greatly appreciated.
%package devel %package devel
Summary: Memkind User Extensible Heap Manager development lib and tools Summary: Memkind User Extensible Heap Manager development lib and tools
Group: Development/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
%description devel %description devel
@ -45,18 +59,22 @@ pre-alpha: bugs may exist and the interfaces may be subject to change prior to
alpha release. Feedback on design or implementation is greatly appreciated. alpha release. Feedback on design or implementation is greatly appreciated.
%prep %prep
%setup -q -a 0 %setup -q -a 0 -n %{name}-%{version}
%patch0 -p1 %patch0 -p1
%build %build
%set_build_flags
# It is required that we configure and build the jemalloc subdirectory
# before we configure and start building the top level memkind directory.
# To ensure the memkind build step is able to discover the output
# of the jemalloc build we must create an 'obj' directory, and build
# from within that directory.
cd %{_builddir}/%{name}-%{version} cd %{_builddir}/%{name}-%{version}
echo %{version} > %{_builddir}/%{name}-%{version}/VERSION echo %{version} > %{_builddir}/%{name}-%{version}/VERSION
test -f configure || ./autogen.sh ./build.sh --prefix=%{_prefix} --includedir=%{_includedir} --libdir=%{_libdir} \
%configure --enable-secure --enable-tls --prefix=%{_prefix} --libdir=%{_libdir} \ --bindir=%{_bindir} --docdir=%{_docdir}/%{name} --mandir=%{_mandir} \
--includedir=%{_includedir} --sbindir=%{_sbindir} --bindir=%{_bindir} \ --sbindir=%{_sbindir}
--mandir=%{_mandir} --docdir=%{_docdir}/%{name} \
CFLAGS="$RPM_OPT_FLAGS -std=gnu99" LDFLAGS="%{build_ldflags}"
%{__make} V=1 %{?_smp_mflags}
%install %install
cd %{_builddir}/%{name}-%{version} cd %{_builddir}/%{name}-%{version}
@ -65,7 +83,9 @@ rm -f %{buildroot}/%{_libdir}/lib%{name}.{l,}a
rm -f %{buildroot}/%{_libdir}/libautohbw.{l,}a rm -f %{buildroot}/%{_libdir}/libautohbw.{l,}a
rm -f %{buildroot}/%{_docdir}/%{name}/VERSION rm -f %{buildroot}/%{_docdir}/%{name}/VERSION
%ldconfig_scriptlets %post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files %files
%{_libdir}/lib%{name}.so.* %{_libdir}/lib%{name}.so.*
@ -92,57 +112,33 @@ rm -f %{buildroot}/%{_docdir}/%{name}/VERSION
%{_mandir}/man3/pmemallocator.3.* %{_mandir}/man3/pmemallocator.3.*
%changelog %changelog
* Fri Jan 28 2022 Rafael Aquini <aquini@redhat.com> - 1.11.0-2 * Mon Dec 14 2020 Rafael Aquini <aquini@redhat.com> - 1.10.1-1
- Fix annocheck pie test failure (2044880) - Update memkind source file to 1.10.1 upstream (1841966)
* Fri Oct 08 2021 Rafael Aquini <aquini@redhat.com> - 1.11.0-1
- Update memkind source file to 1.11.0 upstream
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.10.1-5
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.10.1-4
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Thu Oct 15 2020 Rafael Aquini <aquini@linux.com> - 1.10.1-2
- Work around false positive warning with gcc-11
* Wed Oct 07 2020 Rafael Aquini <aquini@linux.com> - 1.10.1-1
- Update memkind source file to 1.10.1 upstream
* Wed Jul 29 2020 Jeff Law <law@redhat.com> - 1.10.0-3
- Avoid uninitialized variable in testsuite
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Sat Feb 01 2020 Rafael Aquini <aquini@linux.com> - 1.10.0-1 * Tue Apr 14 2020 Rafael Aquini <aquini@redhat.com> - 1.10.0-10
- Update memkind source file to 1.10.0 upstream - Fix: add Tier1 tests for CI gating (1688933)
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.0-4 * Sun Apr 12 2020 Rafael Aquini <aquini@redhat.com> - 1.10.0-1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - Update to memkind source file to 1.10.0 upstream (1780394)
- add Tier1 tests for CI gating (1688933)
* Sat Dec 14 2019 Jeff Law <law@redhat.com> - 1.9.0-3 * Wed Oct 23 2019 Rafael Aquini <aquini@redhat.com> - 1.9.0-1
- Fix missing #include for gcc-10 - Update to memkind source file to 1.9.0 upstream (1660589)
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.0-2 * Tue Apr 2 2019 Rafael Aquini <aquini@redhat.com> - 1.7.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - Fix: Fix: Adding CI gating basic infrastructure (1680614)
* Wed Jul 10 2019 Rafael Aquini <aquini@linux.com> - 1.9.0-1 * Tue Apr 2 2019 Rafael Aquini <aquini@redhat.com> - 1.7.0-5
- Update memkind source file to 1.9.0 upstream - Fix: Adding CI gating basic infrastructure (1680614)
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-4 * Tue Mar 12 2019 Rafael Aquini <aquini@redhat.com> - 1.7.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - Adding CI gating basic infrastructure (1680614)
* Fri Jul 20 2018 Rafael Aquini <aquini@linux.com> - 1.7.0-3 * Mon Oct 8 2018 Rafael Aquini <aquini@redhat.com> - 1.7.0-3
- Rebuild to fix removal of GCC from buildroots (1604813) - Update to upstream 76495a7 to pick up assorted fixes (1631144)
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-2 * Tue Oct 2 2018 Rafael Aquini <aquini@redhat.com> - 1.7.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - Fix up annocheck distro flag failures (1630595)
* Fri Mar 23 2018 Rafael Aquini <aquini@linux.com> - 1.7.0-1 * Fri Mar 23 2018 Rafael Aquini <aquini@linux.com> - 1.7.0-1
- Update memkind source file to 1.7.0 upstream - Update memkind source file to 1.7.0 upstream

Loading…
Cancel
Save