This commit is contained in:
parent
1723724ff6
commit
5c768e596e
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dc349626b79762987a7fe98c75914f7af2c9ce314dc395944cdc5d477992547e
|
||||
size 66438
|
3
libhugetlbfs-1.2.tar.gz
Normal file
3
libhugetlbfs-1.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:07b1380328546f7af179d8b0c4fcba8535f6f53d53be09255ee6862772dd4813
|
||||
size 70549
|
@ -1,3 +1,26 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 14 17:19:02 CET 2008 - olh@suse.de
|
||||
|
||||
- update to version 1.2
|
||||
New features
|
||||
* Partial segment remapping. This allows non-relinked binaries to try
|
||||
to take advantage of libhugetlbfs' segment remapping code. Large
|
||||
segments are required, especially on Power. This feature is useful
|
||||
for estimating huge page performance, however full relinking will
|
||||
still perform better.
|
||||
* Add extra debugging for binaries that may run out of address space.
|
||||
* Log library version when HUGETLB_VERBOSE is enabled.
|
||||
* New test to check handling of misaligned mmap() parameters.
|
||||
Bug fixes
|
||||
* Fix EH_FRAME segment. Fixes some C++ applications.
|
||||
* Rework PLT detection to work better on Power.
|
||||
* Add per-target-arch syscall stubs to the library. These provide
|
||||
reliable error messages from elflink.c if they occur while the
|
||||
program segments are unmapped.
|
||||
* Add proper SONAME to shared libs.
|
||||
* Makefile respects CFLAGS/LDFLAGS/CPPFLAGS environment variables.
|
||||
* Make mlock() failure non-fatal.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jul 8 09:34:13 CEST 2007 - olh@suse.de
|
||||
|
||||
|
@ -1,15 +0,0 @@
|
||||
---
|
||||
tests/Makefile | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
--- a/tests/Makefile
|
||||
+++ b/tests/Makefile
|
||||
@@ -10,7 +10,7 @@ LIB_TESTS = gethugepagesize test_root fi
|
||||
LIB_TESTS_64 = straddle_4GB huge_at_4GB_normal_below \
|
||||
huge_below_4GB_normal_above
|
||||
NOLIB_TESTS = malloc malloc_manysmall dummy
|
||||
-LDSCRIPT_TESTS = zero_filesize_segment
|
||||
+LDSCRIPT_TESTS =
|
||||
HUGELINK_TESTS = linkhuge linkhuge_nofd linkshare
|
||||
STRESS_TESTS = mmap-gettest mmap-cow shm-gettest shm-getraw shm-fork
|
||||
HELPERS = get_hugetlbfs_path
|
@ -1,17 +0,0 @@
|
||||
---
|
||||
Makefile | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
Index: libhugetlbfs-1.1/Makefile
|
||||
===================================================================
|
||||
--- libhugetlbfs-1.1.orig/Makefile
|
||||
+++ libhugetlbfs-1.1/Makefile
|
||||
@@ -204,7 +204,7 @@ objscript.%: %
|
||||
@$(VECHO) OBJSCRIPT $*
|
||||
sed "s!### SET DEFAULT LDSCRIPT PATH HERE ###!HUGETLB_LDSCRIPT_PATH=$(LDSCRIPTDIR)!" < $< > $@
|
||||
|
||||
-install: all $(OBJDIRS:%=%/install) $(INSTALL_OBJSCRIPT:%=objscript.%)
|
||||
+install: $(OBJDIRS:%=%/install) $(INSTALL_OBJSCRIPT:%=objscript.%)
|
||||
@$(VECHO) INSTALL
|
||||
$(INSTALL) -d $(DESTDIR)$(LDSCRIPTDIR)
|
||||
$(INSTALL) -m 644 $(INSTALL_LDSCRIPTS:%=ldscripts/%) $(DESTDIR)$(LDSCRIPTDIR)
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libhugetlbfs (Version 1.1)
|
||||
# spec file for package libhugetlbfs (Version 1.2)
|
||||
#
|
||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
@ -12,16 +12,15 @@
|
||||
|
||||
Name: libhugetlbfs
|
||||
BuildRequires: doxygen
|
||||
License: LGPL v2 or later
|
||||
License: LGPL v2.1 or later
|
||||
Group: Development/Libraries/Other
|
||||
Summary: hugetlbfs helper library
|
||||
Version: 1.1
|
||||
Release: 14
|
||||
URL: http://libhugetlbfs.sourceforge.net/
|
||||
Version: 1.2
|
||||
Release: 1
|
||||
Url: http://libhugetlbfs.sourceforge.net/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Source0: libhugetlbfs-1.1.tar.gz
|
||||
Patch1: libhugetlbfs.disable-LDSCRIPT_TESTS.patch
|
||||
Patch4: libhugetlbfs.make_install.patch
|
||||
%define my_make_flags V=1 CFLAGS="$RPM_OPT_FLAGS -g -fPIC" BUILDTYPE=NATIVEONLY PREFIX=/usr LIBDIR32=%{_libdir} DESTDIR=$RPM_BUILD_ROOT
|
||||
Source0: libhugetlbfs-1.2.tar.gz
|
||||
|
||||
%description
|
||||
libhugetlbfs interacts with the Linux hugetlbfs to make large pages
|
||||
@ -36,31 +35,16 @@ Authors:
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
%patch4 -p1
|
||||
|
||||
%build
|
||||
%ifarch ppc ppc64 %ix86 x86_64
|
||||
tests=tests
|
||||
%else
|
||||
tests=
|
||||
%endif
|
||||
mybitsize=
|
||||
%ifarch ppc %ix86
|
||||
mybitsize="-m32"
|
||||
%endif
|
||||
%ifarch ppc64 x86_64
|
||||
mybitsize="-m64"
|
||||
%endif
|
||||
make V=1 CFLAGS="$RPM_OPT_FLAGS -g -fPIC" CC32="gcc $mybitsize" CC64= PREFIX=/usr LIBDIR32=%{_libdir} libs $tests
|
||||
make %{my_make_flags} libs $tests
|
||||
|
||||
%install
|
||||
tests=
|
||||
%ifarch ppc ppc64 %ix86 x86_64
|
||||
tests=install-tests
|
||||
%else
|
||||
tests=
|
||||
%endif
|
||||
make V=1 CFLAGS="$RPM_OPT_FLAGS -g -fPIC" CC32=gcc CC64= PREFIX=/usr LIBDIR32=%{_libdir} DESTDIR=$RPM_BUILD_ROOT install $tests
|
||||
make %{my_make_flags} install $tests
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/include
|
||||
cp -avL hugetlbfs.h $RPM_BUILD_ROOT/usr/include
|
||||
chmod 644 $RPM_BUILD_ROOT%{_libdir}/*.a
|
||||
@ -76,6 +60,26 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_libdir}/lib*
|
||||
|
||||
%changelog
|
||||
* Mon Jan 14 2008 - olh@suse.de
|
||||
- update to version 1.2
|
||||
New features
|
||||
* Partial segment remapping. This allows non-relinked binaries to try
|
||||
to take advantage of libhugetlbfs' segment remapping code. Large
|
||||
segments are required, especially on Power. This feature is useful
|
||||
for estimating huge page performance, however full relinking will
|
||||
still perform better.
|
||||
* Add extra debugging for binaries that may run out of address space.
|
||||
* Log library version when HUGETLB_VERBOSE is enabled.
|
||||
* New test to check handling of misaligned mmap() parameters.
|
||||
Bug fixes
|
||||
* Fix EH_FRAME segment. Fixes some C++ applications.
|
||||
* Rework PLT detection to work better on Power.
|
||||
* Add per-target-arch syscall stubs to the library. These provide
|
||||
reliable error messages from elflink.c if they occur while the
|
||||
program segments are unmapped.
|
||||
* Add proper SONAME to shared libs.
|
||||
* Makefile respects CFLAGS/LDFLAGS/CPPFLAGS environment variables.
|
||||
* Make mlock() failure non-fatal.
|
||||
* Sun Jul 08 2007 - olh@suse.de
|
||||
- disable zero_filesize_segment test
|
||||
* Sun Apr 15 2007 - olh@suse.de
|
||||
|
Loading…
Reference in New Issue
Block a user