commit libhugetlbfs for openSUSE:Factory
Hello community, here is the log from the commit of package libhugetlbfs for openSUSE:Factory checked in at 2020-08-20 22:26:19 Comparing /work/SRC/openSUSE:Factory/libhugetlbfs (Old) and /work/SRC/openSUSE:Factory/.libhugetlbfs.new.3399 (New) Package is "libhugetlbfs" Thu Aug 20 22:26:19 2020 rev:47 rq:827356 version:2.22 Changes: --- /work/SRC/openSUSE:Factory/libhugetlbfs/libhugetlbfs.changes 2018-10-02 19:49:48.837681789 +0200 +++ /work/SRC/openSUSE:Factory/.libhugetlbfs.new.3399/libhugetlbfs.changes 2020-08-20 22:27:11.643935447 +0200 @@ -1,0 +2,15 @@ +Mon Aug 17 13:48:04 UTC 2020 - Dirk Mueller + +- update to 2.22: + * Library now verifies if slices are supported on PPC + * ld.hugetlbfs now supports multiple page sizes on PPC64 + * Various GCC warning cleanups + * setup script converted to Python 3 + * Tests are only run on online CPUs and only if a sufficient number are + available + * task-size-overrun now searches empty address space more efficiently + * Tests that do not link the library are run for default page sizes only + * Test runner now uses Python 3 +- remove libhugetlbfs_fix_tests.patch (upstream) + +--- Old: libhugetlbfs-2.21.tar.xz libhugetlbfs_fix_tests.patch New: libhugetlbfs-2.22.tar.gz Other differences: -- ++ libhugetlbfs.spec ++ --- /var/tmp/diff_new_pack.Lf36gu/_old 2020-08-20 22:27:14.403936737 +0200 +++ /var/tmp/diff_new_pack.Lf36gu/_new 2020-08-20 22:27:14.407936739 +0200 @@ -1,7 +1,7 @@ # # spec file for package libhugetlbfs # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,24 +12,23 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define my_make_flags V=1 CFLAGS="%{optflags} -fPIC" BUILDTYPE=NATIVEONLY PREFIX=%{_prefix} LIBDIR32=%{_libdir} DESTDIR=%{buildroot} Name: libhugetlbfs -Version:2.21 +Version:2.22 Release:0 Summary:Helper library for the Huge Translation Lookaside Buffer Filesystem License:LGPL-2.1-or-later Group: System/Libraries -Url:https://github.com/libhugetlbfs/libhugetlbfs -Source0:%{name}-%{version}.tar.xz +URL:https://github.com/libhugetlbfs/libhugetlbfs +Source0: https://github.com/libhugetlbfs/libhugetlbfs/releases/download/%{version}/libhugetlbfs-%{version}.tar.gz Source1:baselibs.conf Patch2: libhugetlbfs.s390.patch Patch4: libhugetlbfs.tests-malloc.patch Patch7: libhugetlbfs_ia64_fix_missing_test.patch -Patch8: libhugetlbfs_fix_tests.patch Patch14:disable-rw-on-non-ldscripts.diff Patch15:zero_filesize_segment.patch BuildRequires: doxygen @@ -65,7 +64,6 @@ %patch2 -p1 %patch4 -p1 %patch7 -p1 -%patch8 -p1 %patch14 %patch15 -p1
commit libhugetlbfs for openSUSE:Factory
Hello community, here is the log from the commit of package libhugetlbfs for openSUSE:Factory checked in at 2018-10-02 19:49:35 Comparing /work/SRC/openSUSE:Factory/libhugetlbfs (Old) and /work/SRC/openSUSE:Factory/.libhugetlbfs.new (New) Package is "libhugetlbfs" Tue Oct 2 19:49:35 2018 rev:46 rq:639569 version:2.21 Changes: --- /work/SRC/openSUSE:Factory/libhugetlbfs/libhugetlbfs.changes 2017-10-09 19:47:36.633194088 +0200 +++ /work/SRC/openSUSE:Factory/.libhugetlbfs.new/libhugetlbfs.changes 2018-10-02 19:49:48.837681789 +0200 @@ -1,0 +2,17 @@ +Mon Oct 1 13:52:36 UTC 2018 - egotth...@suse.com + +- Removed make target "install-perlmod" and filecheck from packaging process. + +--- +Fri Sep 28 11:30:08 UTC 2018 - egotth...@suse.com + +- Update to 2.21 +- Bug Fixes + * The noexec stack markers are set directly + * We no longer lie to glibc about shrinking the heap by less than HPAGE_SIZE +- Test Suite + * No existent tests are no longer marked Killed By Signal + * Disable malloc per-thread cache for heap shrinking tests +- Remove patch "ignore-perl-modules.diff" + +--- Old: ignore-perl-modules.diff libhugetlbfs-2.20.tar.xz New: libhugetlbfs-2.21.tar.xz Other differences: -- ++ libhugetlbfs.spec ++ --- /var/tmp/diff_new_pack.gi2Ke6/_old 2018-10-02 19:49:49.633680958 +0200 +++ /var/tmp/diff_new_pack.gi2Ke6/_new 2018-10-02 19:49:49.637680953 +0200 @@ -1,7 +1,7 @@ # # spec file for package libhugetlbfs # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,10 +18,10 @@ %define my_make_flags V=1 CFLAGS="%{optflags} -fPIC" BUILDTYPE=NATIVEONLY PREFIX=%{_prefix} LIBDIR32=%{_libdir} DESTDIR=%{buildroot} Name: libhugetlbfs -Version:2.20 +Version:2.21 Release:0 Summary:Helper library for the Huge Translation Lookaside Buffer Filesystem -License:LGPL-2.1+ +License:LGPL-2.1-or-later Group: System/Libraries Url:https://github.com/libhugetlbfs/libhugetlbfs Source0:%{name}-%{version}.tar.xz @@ -30,7 +30,6 @@ Patch4: libhugetlbfs.tests-malloc.patch Patch7: libhugetlbfs_ia64_fix_missing_test.patch Patch8: libhugetlbfs_fix_tests.patch -Patch13:ignore-perl-modules.diff Patch14:disable-rw-on-non-ldscripts.diff Patch15:zero_filesize_segment.patch BuildRequires: doxygen @@ -67,7 +66,6 @@ %patch4 -p1 %patch7 -p1 %patch8 -p1 -%patch13 %patch14 %patch15 -p1 @@ -77,7 +75,7 @@ %install make %{my_make_flags} PMDIR="%{perl_vendorlib}/TLBC" \ - install install-perlmod install-tests + install install-tests mkdir -p %{buildroot}%{_prefix}/include cp -avL hugetlbfs.h %{buildroot}%{_prefix}/include chmod 644 %{buildroot}%{_libdir}/*.a @@ -93,7 +91,6 @@ %{_mandir}/man[178]/*%{?ext_man} %{_libdir}/libhugetlbfs_privutils.so %{_libdir}/libhugetlbfs.so -%{perl_vendorlib}/TLBC/ %files devel %defattr(-, root, root) ++ _service ++ --- /var/tmp/diff_new_pack.gi2Ke6/_old 2018-10-02 19:49:49.673680916 +0200 +++ /var/tmp/diff_new_pack.gi2Ke6/_new 2018-10-02 19:49:49.673680916 +0200 @@ -3,8 +3,8 @@ git://github.com/libhugetlbfs/libhugetlbfs.git git libhugetlbfs -2.20 -2.20 +2.21 +2.21 *.tar ++ disable-rw-on-non-ldscripts.diff ++ --- /var/tmp/diff_new_pack.gi2Ke6/_old 2018-10-02 19:49:49.701680887 +0200 +++ /var/tmp/diff_new_pack.gi2Ke6/_new 2018-10-02 19:49:49.701680887 +0200 @@ -1,6 +1,8 @@ tests/Makefile +Index: tests/Makefile +=== +--- tests/Makefile.orig +++ tests/Makefile -@@ -46,7 +46,7 @@ +@@ -48,7 +48,7 @@ ifeq ($(CUSTOM_LDSCRIPTS),yes) TESTS += $(LDSCRIPT_TESTS) $(HUGELINK_TESTS) $(HUGELINK_TESTS:%=xB.%) \ $(HUGELINK_TESTS:%=xBDT.%) $(HUGELINK_RW_TESTS) else @@ -9,9 +11,9 @@ endif else -@@ -55,7 +55,7 @@ +@@ -57,7 +57,7 @@ ifeq ($(CUSTOM_LDSCRIPTS),yes) TESTS += $(LDSCRIPT_TESTS) $(HUGELINK_TESTS) $(HUGELINK_TESTS:%=xB.%) \ - $(HUGELINK_TESTS:%=xBDT.%) + $(HUGELINK_TESTS:%=xBDT.%) $(HUGELINK_RW_TESTS) else -TESTS += $(LDSCRIPT_TESTS) $(HUGELINK_TESTS) $(HUGELINK_RW_TESTS) +TESTS += $(LDSCRIPT_TESTS) $(HUGELINK_TESTS) ++ libhugetlbfs-2.20.tar.xz -> libhugetlbfs-2.21.tar.xz ++ 2538 lines of diff (skipped) ++ libhugetlbfs.s390.patch
commit libhugetlbfs for openSUSE:Factory
Hello community, here is the log from the commit of package libhugetlbfs for openSUSE:Factory checked in at 2017-10-09 19:44:01 Comparing /work/SRC/openSUSE:Factory/libhugetlbfs (Old) and /work/SRC/openSUSE:Factory/.libhugetlbfs.new (New) Package is "libhugetlbfs" Mon Oct 9 19:44:01 2017 rev:45 rq:532407 version:2.20 Changes: --- /work/SRC/openSUSE:Factory/libhugetlbfs/libhugetlbfs.changes 2017-05-17 10:50:49.504615277 +0200 +++ /work/SRC/openSUSE:Factory/.libhugetlbfs.new/libhugetlbfs.changes 2017-10-09 19:47:36.633194088 +0200 @@ -1,0 +2,7 @@ +Mon Sep 11 07:47:31 UTC 2017 - jeng...@inai.de + +- Run `make install-perlmod` to install/satisfy Perl modules + required by /usr/bin/cpupcstat, itself installed by just + `make install` [boo#1057963] + +--- Other differences: -- ++ libhugetlbfs.spec ++ --- /var/tmp/diff_new_pack.nI5tyS/_old 2017-10-09 19:47:37.281165609 +0200 +++ /var/tmp/diff_new_pack.nI5tyS/_new 2017-10-09 19:47:37.281165609 +0200 @@ -76,8 +76,8 @@ make %{my_make_flags} %install -make %{my_make_flags} install -make %{my_make_flags} install-tests +make %{my_make_flags} PMDIR="%{perl_vendorlib}/TLBC" \ + install install-perlmod install-tests mkdir -p %{buildroot}%{_prefix}/include cp -avL hugetlbfs.h %{buildroot}%{_prefix}/include chmod 644 %{buildroot}%{_libdir}/*.a @@ -93,6 +93,7 @@ %{_mandir}/man[178]/*%{?ext_man} %{_libdir}/libhugetlbfs_privutils.so %{_libdir}/libhugetlbfs.so +%{perl_vendorlib}/TLBC/ %files devel %defattr(-, root, root)
commit libhugetlbfs for openSUSE:Factory
Hello community, here is the log from the commit of package libhugetlbfs for openSUSE:Factory checked in at 2017-05-17 10:50:48 Comparing /work/SRC/openSUSE:Factory/libhugetlbfs (Old) and /work/SRC/openSUSE:Factory/.libhugetlbfs.new (New) Package is "libhugetlbfs" Wed May 17 10:50:48 2017 rev:44 rq:491627 version:2.20 Changes: --- /work/SRC/openSUSE:Factory/libhugetlbfs/libhugetlbfs.changes 2017-03-12 20:05:02.636893715 +0100 +++ /work/SRC/openSUSE:Factory/.libhugetlbfs.new/libhugetlbfs.changes 2017-05-17 10:50:49.504615277 +0200 @@ -1,0 +2,8 @@ +Thu Apr 20 10:40:04 UTC 2017 - jeng...@inai.de + +- Update summary and descriptions a bit +- Move development manpages (*.3) to development subpackage +- Avoid ||/&& in %install because it can leave $? at non-zero + (unlike if..fi), and %install is run with sh -x. + +--- Other differences: -- ++ libhugetlbfs.spec ++ --- /var/tmp/diff_new_pack.K9NvZM/_old 2017-05-17 10:50:50.304502751 +0200 +++ /var/tmp/diff_new_pack.K9NvZM/_new 2017-05-17 10:50:50.308502189 +0200 @@ -1,7 +1,7 @@ # # spec file for package libhugetlbfs # -# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,9 +20,9 @@ Name: libhugetlbfs Version:2.20 Release:0 -Summary:Hugetlbfs helper library +Summary:Helper library for the Huge Translation Lookaside Buffer Filesystem License:LGPL-2.1+ -Group: Development/Libraries/Other +Group: System/Libraries Url:https://github.com/libhugetlbfs/libhugetlbfs Source0:%{name}-%{version}.tar.xz Source1:baselibs.conf @@ -46,19 +46,20 @@ make large pages available to applications in a transparent manner. %package devel -Summary:Devel package for libhugetlb -Group: Development/Libraries/Other +Summary:Development files for libhugetlbfs +Group: Development/Libraries/C and C++ Requires: libhugetlbfs %description devel -Devel package, header and static library, of libhugetlb +Devel package, header and static library, of libhugetlbfs. %package tests -Summary:Tests for package libhugetlb -Group: Development/Libraries/Other +Summary:Tests for package libhugetlbfs +Group: Development/Tools/Other %description tests -The testsuite for libhugetlb. Binaries can be found in %{_libdir}/libhugetlbfs/tests +The testsuite for libhugetlbfs. Binaries can be found in +%{_libdir}/libhugetlbfs/tests. %prep %setup -q @@ -80,14 +81,16 @@ mkdir -p %{buildroot}%{_prefix}/include cp -avL hugetlbfs.h %{buildroot}%{_prefix}/include chmod 644 %{buildroot}%{_libdir}/*.a -[ ! -f %{buildroot}%{_libdir}/libhugetlbfs/tests/obj64/dummy.ldscript ] || chmod -f a-x %{buildroot}%{_libdir}/libhugetlbfs/tests/obj64/dummy.ldscript +if [ -f %{buildroot}%{_libdir}/libhugetlbfs/tests/obj64/dummy.ldscript ]; then + chmod -f a-x %{buildroot}%{_libdir}/libhugetlbfs/tests/obj64/dummy.ldscript +fi %files %defattr(-, root, root) %doc LGPL-2.1 HOWTO README NEWS %{_datadir}/libhugetlbfs %{_bindir}/* -%{_mandir}/man*/*.gz +%{_mandir}/man[178]/*%{?ext_man} %{_libdir}/libhugetlbfs_privutils.so %{_libdir}/libhugetlbfs.so @@ -95,10 +98,10 @@ %defattr(-, root, root) %{_includedir}/hugetlbfs.h %{_libdir}/libhugetlbfs.a +%{_mandir}/man3/*%{?ext_man} %files tests %defattr(-,root,root) -%dir %{_libdir}/libhugetlbfs -%{_libdir}/libhugetlbfs/* +%{_libdir}/libhugetlbfs/ %changelog
commit libhugetlbfs for openSUSE:Factory
Hello community, here is the log from the commit of package libhugetlbfs for openSUSE:Factory checked in at 2017-03-12 20:04:59 Comparing /work/SRC/openSUSE:Factory/libhugetlbfs (Old) and /work/SRC/openSUSE:Factory/.libhugetlbfs.new (New) Package is "libhugetlbfs" Sun Mar 12 20:04:59 2017 rev:43 rq:478037 version:2.20 Changes: --- /work/SRC/openSUSE:Factory/libhugetlbfs/libhugetlbfs.changes 2015-11-08 11:27:05.0 +0100 +++ /work/SRC/openSUSE:Factory/.libhugetlbfs.new/libhugetlbfs.changes 2017-03-12 20:05:02.636893715 +0100 @@ -1,0 +2,9 @@ +Thu Mar 9 09:10:07 UTC 2017 - fschnizl...@suse.com + +- Update to 2.20 +- Bug Fixes: + * Fix keyword collisions and warnings from GCC 5 + * hugeadm output is parsed for default size in huge_page_setup_helper + * Testsuite: fallocate tests + +--- Old: libhugetlbfs-2.18.99.tar.xz New: libhugetlbfs-2.20.tar.xz Other differences: -- ++ libhugetlbfs.spec ++ --- /var/tmp/diff_new_pack.0vxseX/_old 2017-03-12 20:05:03.556763551 +0100 +++ /var/tmp/diff_new_pack.0vxseX/_new 2017-03-12 20:05:03.564762419 +0100 @@ -1,7 +1,7 @@ # # spec file for package libhugetlbfs # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %define my_make_flags V=1 CFLAGS="%{optflags} -fPIC" BUILDTYPE=NATIVEONLY PREFIX=%{_prefix} LIBDIR32=%{_libdir} DESTDIR=%{buildroot} Name: libhugetlbfs -Version:2.18.99 +Version:2.20 Release:0 Summary:Hugetlbfs helper library License:LGPL-2.1+ ++ _service ++ --- /var/tmp/diff_new_pack.0vxseX/_old 2017-03-12 20:05:03.612755628 +0100 +++ /var/tmp/diff_new_pack.0vxseX/_new 2017-03-12 20:05:03.616755062 +0100 @@ -3,8 +3,8 @@ git://github.com/libhugetlbfs/libhugetlbfs.git git libhugetlbfs -2.18.99 -next +2.20 +2.20 *.tar ++ libhugetlbfs-2.18.99.tar.xz -> libhugetlbfs-2.20.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libhugetlbfs-2.18.99/NEWS new/libhugetlbfs-2.20/NEWS --- old/libhugetlbfs-2.18.99/NEWS 2015-11-06 13:01:34.0 +0100 +++ new/libhugetlbfs-2.20/NEWS 2015-12-04 03:04:07.0 +0100 @@ -1,3 +1,12 @@ +libhugetlbfs 2.20 "View Across the Charles" +== +Bug Fixes +* Fix keyword collisions and warnings from GCC 5 +* hugeadm output is parsed for default size in huge_page_setup_helper + +Test Suite +* fallocate tests + libhugetlbfs 2.19 "Missing Longfellow Lanes" == Bug Fixes diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libhugetlbfs-2.18.99/README new/libhugetlbfs-2.20/README --- old/libhugetlbfs-2.18.99/README 2015-11-06 13:01:34.0 +0100 +++ new/libhugetlbfs-2.20/README2015-12-04 03:04:07.0 +0100 @@ -1,3 +1,15 @@ +03 December 2015 -- Yet another mailing list move + +librelist seems to be dead or at least broken. I have recieved several +emails directly saying that patches were posted, but they never got +responses and the archives always seem empty. So we are moving the list +again. This from here on out we will be using + +libhugetl...@googlegroups.com + +as our mailing list. Please send patches to this list rather than +creating a pull request. + 03 June 2015 -- libhugetlbfs to find new home As part of the fall out from the recent hijacking various "unmaintained" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libhugetlbfs-2.18.99/SubmittingCode new/libhugetlbfs-2.20/SubmittingCode --- old/libhugetlbfs-2.18.99/SubmittingCode 2015-11-06 13:01:34.0 +0100 +++ new/libhugetlbfs-2.20/SubmittingCode2015-12-04 03:04:07.0 +0100 @@ -9,7 +9,7 @@ Also like the Linux kernel, we transact in patches over a mailing list. The libhugetlbfs mailing is at: -libhugetl...@librelist.com +libhugetl...@googlegroups.com You do not need to be subscribed to send mail to that list. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libhugetlbfs-2.18.99/tests/Makefile new/libhugetlbfs-2.20/tests/Makefile --- old/libhugetlbfs-2.18.99/tests/Makefile 2015-11-06 13:01:34.0 +0100 +++ new/libhugetlbfs-2.20/tests/Makefile2015-12-04 03:
commit libhugetlbfs for openSUSE:Factory
Hello community, here is the log from the commit of package libhugetlbfs for openSUSE:Factory checked in at 2015-11-08 11:26:54 Comparing /work/SRC/openSUSE:Factory/libhugetlbfs (Old) and /work/SRC/openSUSE:Factory/.libhugetlbfs.new (New) Package is "libhugetlbfs" Changes: --- /work/SRC/openSUSE:Factory/libhugetlbfs/libhugetlbfs.changes 2015-06-30 10:16:00.0 +0200 +++ /work/SRC/openSUSE:Factory/.libhugetlbfs.new/libhugetlbfs.changes 2015-11-08 11:27:05.0 +0100 @@ -1,0 +2,14 @@ +Fri Nov 6 13:10:03 UTC 2015 - fv...@suse.com + +- Add zero_filesize_segment.patch to fix testcase on s390x +- Fixes bnc#919680 +- Patches already included mainline and now deleted: +D libhugetlbfs-2.18-restrict-is-a-reserved-word.patch +D fix_plt_extrasz_always_returning_0_on_ppc64le.patch + +--- +Fri Nov 6 12:01:55 UTC 2015 - fv...@suse.com + +- Latest version from git next branch + +--- Old: fix_plt_extrasz_always_returning_0_on_ppc64le.patch libhugetlbfs-2.18-restrict-is-a-reserved-word.patch libhugetlbfs-2.18.tar.gz New: _service libhugetlbfs-2.18.99.tar.xz zero_filesize_segment.patch Other differences: -- ++ libhugetlbfs.spec ++ --- /var/tmp/diff_new_pack.ucqUua/_old 2015-11-08 11:27:06.0 +0100 +++ /var/tmp/diff_new_pack.ucqUua/_new 2015-11-08 11:27:06.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package libhugetlbfs # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,27 +16,15 @@ # +%define my_make_flags V=1 CFLAGS="%{optflags} -fPIC" BUILDTYPE=NATIVEONLY PREFIX=%{_prefix} LIBDIR32=%{_libdir} DESTDIR=%{buildroot} Name: libhugetlbfs - -%if 0%{?suse_version} > 1140 -BuildRequires: glibc-devel-static -%endif -BuildRequires: doxygen - +Version:2.18.99 +Release:0 Summary:Hugetlbfs helper library License:LGPL-2.1+ Group: Development/Libraries/Other -# bug437293 -%ifarch ppc64 -Obsoletes: libhugetlbfs-64bit -%endif -# -Version:2.18 -Release:0 -Url:http://libhugetlbfs.sourceforge.net/ -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%define my_make_flags V=1 CFLAGS="$RPM_OPT_FLAGS -fPIC" BUILDTYPE=NATIVEONLY PREFIX=/usr LIBDIR32=%{_libdir} DESTDIR=$RPM_BUILD_ROOT -Source0: http://downloads.sourceforge.net/project/libhugetlbfs/libhugetlbfs/%{version}/libhugetlbfs-%{version}.tar.gz +Url:https://github.com/libhugetlbfs/libhugetlbfs +Source0:%{name}-%{version}.tar.xz Source1:baselibs.conf Patch2: libhugetlbfs.s390.patch Patch4: libhugetlbfs.tests-malloc.patch @@ -44,22 +32,34 @@ Patch8: libhugetlbfs_fix_tests.patch Patch13:ignore-perl-modules.diff Patch14:disable-rw-on-non-ldscripts.diff -Patch15:fix_plt_extrasz_always_returning_0_on_ppc64le.patch -# PATCH-FIX-UPSTREAM libhugetlbfs-2.18-restrict-is-a-reserved-word.patch -- Fix compilation with GCC 5 (and C99/C11 in general) -Patch16:libhugetlbfs-2.18-restrict-is-a-reserved-word.patch +Patch15:zero_filesize_segment.patch +BuildRequires: doxygen +BuildRequires: glibc-devel-static +BuildRoot: %{_tmppath}/%{name}-%{version}-build +# bug437293 +%ifarch ppc64 +Obsoletes: libhugetlbfs-64bit +%endif %description The libhugetlbfs package interacts with the Linux hugetlbfs to make large pages available to applications in a transparent manner. -%package libhugetlb-devel +%package devel Summary:Devel package for libhugetlb Group: Development/Libraries/Other Requires: libhugetlbfs -%description libhugetlb-devel +%description devel Devel package, header and static library, of libhugetlb +%package tests +Summary:Tests for package libhugetlb +Group: Development/Libraries/Other + +%description tests +The testsuite for libhugetlb. Binaries can be found in %{_libdir}/libhugetlbfs/tests + %prep %setup -q %patch2 -p1 @@ -69,37 +69,36 @@ %patch13 %patch14 %patch15 -p1 -%patch16 -p1 %build +echo %{version} > version make %{my_make_flags} %install make %{my_make_flags} install -make \ -%ifarch sparc sparcv9 - CC32="gcc" CC64="" NATIVEONLY=1 \ -%endif - %{my_make_flags} install -mkdir -p $RPM_BUILD_ROOT/usr/include -cp -avL hugetlbfs.h $RPM_BUILD_ROOT/usr/include -chmod 644 $RPM_BUILD_ROOT%{_libdir}/*.a - -%clean -rm -rf $RPM_BU
commit libhugetlbfs for openSUSE:Factory
Hello community, here is the log from the commit of package libhugetlbfs for openSUSE:Factory checked in at 2015-06-30 10:15:59 Comparing /work/SRC/openSUSE:Factory/libhugetlbfs (Old) and /work/SRC/openSUSE:Factory/.libhugetlbfs.new (New) Package is "libhugetlbfs" Changes: --- /work/SRC/openSUSE:Factory/libhugetlbfs/libhugetlbfs.changes 2015-02-22 17:26:22.0 +0100 +++ /work/SRC/openSUSE:Factory/.libhugetlbfs.new/libhugetlbfs.changes 2015-06-30 10:16:00.0 +0200 @@ -1,0 +2,7 @@ +Tue Jun 23 22:35:32 UTC 2015 - antoine.belv...@laposte.net + +- Add libhugelbfs-2.18-restrict-is-a-reserved-word.patch which + fixes compilation with GCC 5 (and C99/C11 in general). +* Add libhugetlbfs-2.18-restrict-is-a-reserved-word.patch + +--- New: libhugetlbfs-2.18-restrict-is-a-reserved-word.patch Other differences: -- ++ libhugetlbfs.spec ++ --- /var/tmp/diff_new_pack.5OnWab/_old 2015-06-30 10:16:01.0 +0200 +++ /var/tmp/diff_new_pack.5OnWab/_new 2015-06-30 10:16:01.0 +0200 @@ -45,6 +45,8 @@ Patch13:ignore-perl-modules.diff Patch14:disable-rw-on-non-ldscripts.diff Patch15:fix_plt_extrasz_always_returning_0_on_ppc64le.patch +# PATCH-FIX-UPSTREAM libhugetlbfs-2.18-restrict-is-a-reserved-word.patch -- Fix compilation with GCC 5 (and C99/C11 in general) +Patch16:libhugetlbfs-2.18-restrict-is-a-reserved-word.patch %description The libhugetlbfs package interacts with the Linux hugetlbfs to @@ -67,6 +69,7 @@ %patch13 %patch14 %patch15 -p1 +%patch16 -p1 %build make %{my_make_flags} ++ libhugetlbfs-2.18-restrict-is-a-reserved-word.patch ++ diff -up libhugetlbfs-2.18/hugeutils.c.orig libhugetlbfs-2.18/hugeutils.c --- libhugetlbfs-2.18/hugeutils.c.orig 2015-06-24 00:23:09.374535669 +0200 +++ libhugetlbfs-2.18/hugeutils.c 2015-06-24 00:23:45.536534148 +0200 @@ -301,14 +301,14 @@ void hugetlbfs_setup_env() env = getenv("HUGETLB_RESTRICT_EXE"); if (env) { - char *p, *tok, *exe, buf[MAX_EXE+1], restrict[MAX_EXE]; + char *p, *tok, *exe, buf[MAX_EXE+1], restriction[MAX_EXE]; int found = 0; exe = get_exe_name(buf, sizeof buf); DEBUG("Found HUGETLB_RESTRICT_EXE, this exe is \"%s\"\n", exe); - strncpy(restrict, env, sizeof restrict); - restrict[sizeof(restrict)-1] = 0; - for (p = restrict; (tok = strtok(p, ":")) != NULL; p = NULL) { + strncpy(restriction, env, sizeof restriction); + restriction[sizeof(restriction)-1] = 0; + for (p = restriction; (tok = strtok(p, ":")) != NULL; p = NULL) { DEBUG(" ...check exe match for \"%s\"\n", tok); if (strcmp(tok, exe) == 0) { found = 1;
commit libhugetlbfs for openSUSE:Factory
Hello community, here is the log from the commit of package libhugetlbfs for openSUSE:Factory checked in at 2015-02-22 17:26:21 Comparing /work/SRC/openSUSE:Factory/libhugetlbfs (Old) and /work/SRC/openSUSE:Factory/.libhugetlbfs.new (New) Package is "libhugetlbfs" Changes: --- /work/SRC/openSUSE:Factory/libhugetlbfs/libhugetlbfs.changes 2014-04-09 18:47:36.0 +0200 +++ /work/SRC/openSUSE:Factory/.libhugetlbfs.new/libhugetlbfs.changes 2015-02-22 17:26:22.0 +0100 @@ -1,0 +2,13 @@ +Fri Feb 20 12:11:44 UTC 2015 - norm...@linux.vnet.ibm.com + +- update to 2.18 + to solve build failures for ppc/ppc64. + remove following patches now included in 2.18: +libhugetlbfs-ppc64le.patch +libhugetlbfs.ppc64le.step2.patch +libhugetlbfs.ppc64le.step3.patch +libhugetlbfs.ppc64le.step4.patch +- Add fix_plt_extrasz_always_returning_0_on_ppc64le.patch + already upstream. + +--- Old: libhugetlbfs-2.17.tar.gz libhugetlbfs-ppc64le.patch libhugetlbfs.ppc64le.step2.patch libhugetlbfs.ppc64le.step3.patch libhugetlbfs.ppc64le.step4.patch New: fix_plt_extrasz_always_returning_0_on_ppc64le.patch libhugetlbfs-2.18.tar.gz Other differences: -- ++ libhugetlbfs.spec ++ --- /var/tmp/diff_new_pack.n14yqY/_old 2015-02-22 17:26:23.0 +0100 +++ /var/tmp/diff_new_pack.n14yqY/_new 2015-02-22 17:26:23.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package libhugetlbfs # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -31,7 +31,7 @@ Obsoletes: libhugetlbfs-64bit %endif # -Version:2.17 +Version:2.18 Release:0 Url:http://libhugetlbfs.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -42,12 +42,9 @@ Patch4: libhugetlbfs.tests-malloc.patch Patch7: libhugetlbfs_ia64_fix_missing_test.patch Patch8: libhugetlbfs_fix_tests.patch -Patch9: libhugetlbfs-ppc64le.patch -Patch10:libhugetlbfs.ppc64le.step2.patch -Patch11:libhugetlbfs.ppc64le.step3.patch -Patch12:libhugetlbfs.ppc64le.step4.patch Patch13:ignore-perl-modules.diff Patch14:disable-rw-on-non-ldscripts.diff +Patch15:fix_plt_extrasz_always_returning_0_on_ppc64le.patch %description The libhugetlbfs package interacts with the Linux hugetlbfs to @@ -67,12 +64,9 @@ %patch4 -p1 %patch7 -p1 %patch8 -p1 -%patch9 -p1 -%patch10 -p1 -%patch11 -p1 -%patch12 -p1 %patch13 %patch14 +%patch15 -p1 %build make %{my_make_flags} ++ fix_plt_extrasz_always_returning_0_on_ppc64le.patch ++ Subject: fix plt_extrasz() always returning 0 on ppc64le From: Signed-off-by: Jan Stancek libhugetlbfs.so is not linked with elf64lppc.o on ppc64le, which makes plt_extrasz() always return 0. This is causing failures (SIGSEGV) in these tests: HUGETLB_ELFMAP=W linkhuge_rw (16M: 64): HUGETLB_ELFMAP=RW linkhuge_rw (16M: 64): HUGETLB_SHARE=0 HUGETLB_ELFMAP=W linkhuge_rw (16M: 64): HUGETLB_SHARE=1 HUGETLB_ELFMAP=W linkhuge_rw (16M: 64): HUGETLB_SHARE=0 HUGETLB_ELFMAP=RW linkhuge_rw (16M: 64): HUGETLB_SHARE=1 HUGETLB_ELFMAP=RW linkhuge_rw (16M: 64): as they miss some already initialized data when performing "minimal copy" in get_extracopy(). This patch links also elf64lppc.o, which defines powerpc specific version of plt_extrasz(). Signed-off-by: Jan Stancek --- Makefile |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index b24bd0f..8cf469f 100644 --- a/Makefile +++ b/Makefile @@ -142,6 +142,9 @@ endif ifeq ($(ELF64),elf64ppc) LIBOBJS64 += obj64/$(ELF64).o endif +ifeq ($(ELF64),elf64lppc) +LIBOBJS64 += obj64/$(ELF64).o +endif LIBOBJS32 += $(LIBOBJS:%=obj32/%) LIBOBJS64 += $(LIBOBJS:%=obj64/%) -- 1.7.1 ++ libhugetlbfs-2.17.tar.gz -> libhugetlbfs-2.18.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libhugetlbfs-2.17/Makefile new/libhugetlbfs-2.18/Makefile --- old/libhugetlbfs-2.17/Makefile 2013-10-22 03:07:56.0 +0200 +++ new/libhugetlbfs-2.18/Makefile 2014-04-06 18:11:46.0 +0200 @@ -30,14 +30,14 @@ LDFLAGS += -Wl,-z,noexecstack -ldl CFLAGS ?= -O2 -g CFLAGS += -Wall -fPIC -CPPFLAGS += -D__LIBHUGETLBFS__ -DPPC_NO_SEGMENTS +CPPFLAGS += -D__LIBHUGETLBFS__ ARCH = $(shell uname -m | sed -e s/i.86/i386/) CC = gcc CUSTOM_LDSCRIPTS = yes -ifeq ($(ARCH),powerpc64) +ifeq (
commit libhugetlbfs for openSUSE:Factory
Hello community, here is the log from the commit of package libhugetlbfs for openSUSE:Factory checked in at 2014-04-09 18:47:35 Comparing /work/SRC/openSUSE:Factory/libhugetlbfs (Old) and /work/SRC/openSUSE:Factory/.libhugetlbfs.new (New) Package is "libhugetlbfs" Changes: --- /work/SRC/openSUSE:Factory/libhugetlbfs/libhugetlbfs.changes 2014-02-11 11:19:57.0 +0100 +++ /work/SRC/openSUSE:Factory/.libhugetlbfs.new/libhugetlbfs.changes 2014-04-09 18:47:36.0 +0200 @@ -1,0 +2,18 @@ +Wed Mar 26 12:37:06 UTC 2014 - dmuel...@suse.com + +- update to 2.17: + * PPC segement alignment restrictions can be disabled + * Added Aarch64 support + * Allow compiler overrides for 64 and 32 bit builds + * hugeadm now handles /etc/mtab being a simlink properly + + * ppc64 fixes +- remove libhugetlbfs.ia64-libdir.patch: + ia64 is no longer supported by openSUSE +- add ignore-perl-modules.diff: do not install perl modules, unused + and are installed in the wrong place to be found anyway +- add ARM support +- add disable-rw-on-non-ldscripts.diff: Skip rw tests +- Do not install tests anymore + +--- Old: libhugetlbfs-2.16.tar.gz libhugetlbfs.ia64-libdir.patch New: disable-rw-on-non-ldscripts.diff ignore-perl-modules.diff libhugetlbfs-2.17.tar.gz Other differences: -- ++ libhugetlbfs.spec ++ --- /var/tmp/diff_new_pack.ljDpYp/_old 2014-04-09 18:47:37.0 +0200 +++ /var/tmp/diff_new_pack.ljDpYp/_new 2014-04-09 18:47:37.0 +0200 @@ -16,7 +16,6 @@ # - Name: libhugetlbfs %if 0%{?suse_version} > 1140 @@ -32,16 +31,13 @@ Obsoletes: libhugetlbfs-64bit %endif # -Version:2.16 +Version:2.17 Release:0 Url:http://libhugetlbfs.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-build %define my_make_flags V=1 CFLAGS="$RPM_OPT_FLAGS -fPIC" BUILDTYPE=NATIVEONLY PREFIX=/usr LIBDIR32=%{_libdir} DESTDIR=$RPM_BUILD_ROOT -Source0:libhugetlbfs-%{version}.tar.gz +Source0: http://downloads.sourceforge.net/project/libhugetlbfs/libhugetlbfs/%{version}/libhugetlbfs-%{version}.tar.gz Source1:baselibs.conf -# Sources have no support for arm (and they depend on the architecture) -ExcludeArch:%arm -Patch1: libhugetlbfs.ia64-libdir.patch Patch2: libhugetlbfs.s390.patch Patch4: libhugetlbfs.tests-malloc.patch Patch7: libhugetlbfs_ia64_fix_missing_test.patch @@ -50,6 +46,8 @@ Patch10:libhugetlbfs.ppc64le.step2.patch Patch11:libhugetlbfs.ppc64le.step3.patch Patch12:libhugetlbfs.ppc64le.step4.patch +Patch13:ignore-perl-modules.diff +Patch14:disable-rw-on-non-ldscripts.diff %description The libhugetlbfs package interacts with the Linux hugetlbfs to @@ -65,7 +63,6 @@ %prep %setup -q -%patch1 -p1 %patch2 -p1 %patch4 -p1 %patch7 -p1 @@ -74,26 +71,22 @@ %patch10 -p1 %patch11 -p1 %patch12 -p1 +%patch13 +%patch14 %build make %{my_make_flags} %install -tests=install-tests -make %{my_make_flags} install $tests +make %{my_make_flags} install make \ %ifarch sparc sparcv9 CC32="gcc" CC64="" NATIVEONLY=1 \ %endif - %{my_make_flags} install $tests + %{my_make_flags} install mkdir -p $RPM_BUILD_ROOT/usr/include cp -avL hugetlbfs.h $RPM_BUILD_ROOT/usr/include chmod 644 $RPM_BUILD_ROOT%{_libdir}/*.a -for file in $RPM_BUILD_ROOT/%_libdir/libhugetlbfs/tests/*/*; do - strip $file || : -done -# Do not pack in a 268MB file.. -rm $RPM_BUILD_ROOT/%_libdir/libhugetlbfs/tests/obj32/linkhuge_rw || : %clean rm -rf $RPM_BUILD_ROOT @@ -106,14 +99,6 @@ %{_mandir}/man*/*.gz %{_libdir}/libhugetlbfs_privutils.so %{_libdir}/libhugetlbfs.so -%dir %{_libdir}/libhugetlbfs -%{_libdir}/libhugetlbfs/* -# ToDo: What are these for... -%dir /usr/lib/perl5/TLBC -/usr/lib/perl5/TLBC/DataCollect.pm -/usr/lib/perl5/TLBC/OpCollect.pm -/usr/lib/perl5/TLBC/Report.pm -/usr/lib/perl5/TLBC/PerfCollect.pm %files libhugetlb-devel %defattr(-, root, root) ++ disable-rw-on-non-ldscripts.diff ++ --- tests/Makefile +++ tests/Makefile @@ -46,7 +46,7 @@ TESTS += $(LDSCRIPT_TESTS) $(HUGELINK_TESTS) $(HUGELINK_TESTS:%=xB.%) \ $(HUGELINK_TESTS:%=xBDT.%) $(HUGELINK_RW_TESTS) else -TESTS += $(LDSCRIPT_TESTS) $(HUGELINK_TESTS) $(HUGELINK_RW_TESTS) +TESTS += $(LDSCRIPT_TESTS) $(HUGELINK_TESTS) endif else @@ -55,7 +55,7 @@ TESTS += $(LDSCRIPT_TESTS) $(HUGELINK_TESTS) $(HUGELINK_TESTS:%=xB.%) \ $(HUGELINK_TESTS:%=xBDT.%) else -TESTS += $(LDSCRIPT_TESTS) $(HUGELINK_TESTS) $(HUGELINK_RW_TESTS) +TESTS += $(LDSCRIPT_TESTS) $(HUGELINK_TESTS) endif endif ++ ignore-perl-modules
commit libhugetlbfs for openSUSE:Factory
Hello community, here is the log from the commit of package libhugetlbfs for openSUSE:Factory checked in at 2014-02-11 11:19:56 Comparing /work/SRC/openSUSE:Factory/libhugetlbfs (Old) and /work/SRC/openSUSE:Factory/.libhugetlbfs.new (New) Package is "libhugetlbfs" Changes: --- /work/SRC/openSUSE:Factory/libhugetlbfs/libhugetlbfs.changes 2014-01-14 19:52:17.0 +0100 +++ /work/SRC/openSUSE:Factory/.libhugetlbfs.new/libhugetlbfs.changes 2014-02-11 11:19:57.0 +0100 @@ -1,0 +2,13 @@ +Tue Feb 11 08:09:11 UTC 2014 - tr...@suse.de + +- Tests compile fine for s390(x), also include them in the package, the same + way it is done for other archs as well. + +--- +Mon Feb 10 15:56:31 UTC 2014 - tr...@suse.de + +- There are no tests installed in s390(x) case, therefore there are no + files in %{_libdir}/libhugetlbfs + Remove the directory from the file list to fix package build for s390(x) + +--- Other differences: -- ++ libhugetlbfs.spec ++ --- /var/tmp/diff_new_pack.Pp9sBb/_old 2014-02-11 11:19:58.0 +0100 +++ /var/tmp/diff_new_pack.Pp9sBb/_new 2014-02-11 11:19:58.0 +0100 @@ -16,6 +16,7 @@ # + Name: libhugetlbfs %if 0%{?suse_version} > 1140 @@ -78,11 +79,8 @@ make %{my_make_flags} %install -tests= -%ifarch ppc ppc64 ppc64le %ix86 x86_64 tests=install-tests make %{my_make_flags} install $tests -%endif make \ %ifarch sparc sparcv9 CC32="gcc" CC64="" NATIVEONLY=1 \ -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit libhugetlbfs for openSUSE:Factory
Hello community, here is the log from the commit of package libhugetlbfs for openSUSE:Factory checked in at 2014-01-14 19:52:16 Comparing /work/SRC/openSUSE:Factory/libhugetlbfs (Old) and /work/SRC/openSUSE:Factory/.libhugetlbfs.new (New) Package is "libhugetlbfs" Changes: --- /work/SRC/openSUSE:Factory/libhugetlbfs/libhugetlbfs.changes 2013-03-20 09:53:22.0 +0100 +++ /work/SRC/openSUSE:Factory/.libhugetlbfs.new/libhugetlbfs.changes 2014-01-14 19:52:17.0 +0100 @@ -1,0 +2,9 @@ +Sat Jan 11 05:56:47 UTC 2014 - norm...@linux.vnet.ibm.com + +- Add support of ppc64le with 4 patches + libhugetlbfs-ppc64le.patch + libhugetlbfs.ppc64le.step2.patch + libhugetlbfs.ppc64le.step3.patch + libhugetlbfs.ppc64le.step4.patch + +--- New: libhugetlbfs-ppc64le.patch libhugetlbfs.ppc64le.step2.patch libhugetlbfs.ppc64le.step3.patch libhugetlbfs.ppc64le.step4.patch Other differences: -- ++ libhugetlbfs.spec ++ --- /var/tmp/diff_new_pack.HTucK7/_old 2014-01-14 19:52:19.0 +0100 +++ /var/tmp/diff_new_pack.HTucK7/_new 2014-01-14 19:52:19.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package libhugetlbfs # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,7 +16,6 @@ # - Name: libhugetlbfs %if 0%{?suse_version} > 1140 @@ -46,6 +45,10 @@ Patch4: libhugetlbfs.tests-malloc.patch Patch7: libhugetlbfs_ia64_fix_missing_test.patch Patch8: libhugetlbfs_fix_tests.patch +Patch9: libhugetlbfs-ppc64le.patch +Patch10:libhugetlbfs.ppc64le.step2.patch +Patch11:libhugetlbfs.ppc64le.step3.patch +Patch12:libhugetlbfs.ppc64le.step4.patch %description The libhugetlbfs package interacts with the Linux hugetlbfs to @@ -66,13 +69,17 @@ %patch4 -p1 %patch7 -p1 %patch8 -p1 +%patch9 -p1 +%patch10 -p1 +%patch11 -p1 +%patch12 -p1 %build make %{my_make_flags} %install tests= -%ifarch ppc ppc64 %ix86 x86_64 +%ifarch ppc ppc64 ppc64le %ix86 x86_64 tests=install-tests make %{my_make_flags} install $tests %endif ++ libhugetlbfs-ppc64le.patch ++ Add ppc64le support Signed-off-by: Anton Blanchard --- diff --git a/Makefile b/Makefile index 48205af..7919c3b 100644 --- a/Makefile +++ b/Makefile @@ -46,6 +46,11 @@ CC32 = gcc -m32 ELF32 = elf32ppclinux endif else +ifeq ($(ARCH),ppc64le) +CC64 = gcc -m64 +ELF64 = elf64lppc +TMPLIB64 = lib64 +else ifeq ($(ARCH),ppc) CC32 = gcc -m32 ELF32 = elf32ppclinux @@ -100,6 +105,7 @@ endif endif endif endif +endif ifdef CC32 OBJDIRS += obj32 diff --git a/contrib/tlbmiss_cost.sh b/contrib/tlbmiss_cost.sh index 1f1e234..8fbf798 100755 --- a/contrib/tlbmiss_cost.sh +++ b/contrib/tlbmiss_cost.sh @@ -44,7 +44,7 @@ cpumhz() { FNAME="cpu MHz" FINDEX=4 case "`uname -m`" in - ppc64) + ppc64|ppc64le) FNAME="clock" FINDEX=3 ;; ++ libhugetlbfs.ppc64le.step2.patch ++ Subject: libhugetlbfs.ppc64le.step2 From: Michel Normand Need to create the elf64lppc.c supposed to be a soft link of elf64ppc.c But do not know hwo to do that via a patch <= TODO Signed-off-by: Michel Normand --- elf64lppc.c | 54 ++ 1 file changed, 54 insertions(+) Index: libhugetlbfs-2.16/elf64lppc.c === --- /dev/null +++ libhugetlbfs-2.16/elf64lppc.c @@ -0,0 +1,54 @@ +/* + * libhugetlbfs - Easy use of Linux hugepages + * Copyright (C) 2008 Adam Litke, IBM Corporation. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ + +#include +#include + +#include "libhugetlbfs_internal.h
commit libhugetlbfs for openSUSE:Factory
Hello community, here is the log from the commit of package libhugetlbfs for openSUSE:Factory checked in at 2013-03-20 09:53:06 Comparing /work/SRC/openSUSE:Factory/libhugetlbfs (Old) and /work/SRC/openSUSE:Factory/.libhugetlbfs.new (New) Package is "libhugetlbfs", Maintainer is "tr...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/libhugetlbfs/libhugetlbfs.changes 2013-01-29 10:48:12.0 +0100 +++ /work/SRC/openSUSE:Factory/.libhugetlbfs.new/libhugetlbfs.changes 2013-03-20 09:53:22.0 +0100 @@ -1,0 +2,11 @@ +Mon Mar 11 09:02:48 UTC 2013 - tr...@suse.de + +- Update to version 2.16: + Features: + * ARM Support + * s390x Dynamic TASK_SIZE support + + Bug Fixes: + * find_mounts() now properly NULL terminates mount point names + +--- Old: libhugetlbfs-2.15.tar.gz New: libhugetlbfs-2.16.tar.gz Other differences: -- ++ libhugetlbfs.spec ++ --- /var/tmp/diff_new_pack.X4xXXY/_old 2013-03-20 09:53:24.0 +0100 +++ /var/tmp/diff_new_pack.X4xXXY/_new 2013-03-20 09:53:24.0 +0100 @@ -32,7 +32,7 @@ Obsoletes: libhugetlbfs-64bit %endif # -Version:2.15 +Version:2.16 Release:0 Url:http://libhugetlbfs.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-build ++ libhugetlbfs-2.15.tar.gz -> libhugetlbfs-2.16.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libhugetlbfs-2.15/Makefile new/libhugetlbfs-2.16/Makefile --- old/libhugetlbfs-2.15/Makefile 2012-12-08 18:15:26.0 +0100 +++ new/libhugetlbfs-2.16/Makefile 2013-03-10 03:59:52.0 +0100 @@ -51,6 +51,12 @@ ELF32 = elf32ppclinux TMPLIB32 = lib else +ifeq ($(ARCH),armv7l) +CC32 = gcc +TMPLIB32 = lib +ELF32 += armelf_linux_eabi +CUSTOM_LDSCRIPTS = no +else ifeq ($(ARCH),i386) CC32 = gcc ELF32 = elf_i386 @@ -89,6 +95,7 @@ endif endif endif +endif endif endif endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libhugetlbfs-2.15/NEWS new/libhugetlbfs-2.16/NEWS --- old/libhugetlbfs-2.15/NEWS 2012-12-08 18:15:26.0 +0100 +++ new/libhugetlbfs-2.16/NEWS 2013-03-10 03:59:52.0 +0100 @@ -1,3 +1,16 @@ +libhugetlbfs 2.16 "Joe E. Parker" +== +New Features +* ARM Support +* s390x Dynamic TASK_SIZE support + +Bug Fixes +* find_mounts() now properly NULL terminates mount point names + +Test Suite +* ARM Support +* mremap-fixed-huge-near-normal no longer calls munmap with 0 length + libhugetlbfs 2.15 "Minature Panda" == New Features diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libhugetlbfs-2.15/hugeutils.c new/libhugetlbfs-2.16/hugeutils.c --- old/libhugetlbfs-2.15/hugeutils.c 2012-12-08 18:15:26.0 +0100 +++ new/libhugetlbfs-2.16/hugeutils.c 2013-03-10 03:59:52.0 +0100 @@ -665,6 +665,7 @@ continue; strncpy(path, match, end - match); + path[end - match] = '\0'; if ((hugetlbfs_test_path(path) == 1) && !(access(path, R_OK | W_OK | X_OK))) add_hugetlbfs_mount(path, 0); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libhugetlbfs-2.15/ld.hugetlbfs new/libhugetlbfs-2.16/ld.hugetlbfs --- old/libhugetlbfs-2.15/ld.hugetlbfs 2012-12-08 18:15:26.0 +0100 +++ new/libhugetlbfs-2.16/ld.hugetlbfs 2013-03-10 03:59:52.0 +0100 @@ -79,6 +79,11 @@ HTLB_ALIGN="" # --hugetlbfs-link overrides --hugetlbfs-align LDSCRIPT="$EMU.x$HTLB_LINK" HTLBOPTS="-T${HUGETLB_LDSCRIPT_PATH}/${LDSCRIPT}" + +if [ "$EMU" == "armelf_linux_eabi" ]; then +echo "Please use --hugetlbfs-align when targeting ARM." + exit -1 +fi fi MB=$((1024*1024)) @@ -86,11 +91,18 @@ elf32ppclinux|elf64ppc)HPAGE_SIZE=$((16*$MB)) SLICE_SIZE=$((256*$MB)) ;; elf_i386|elf_x86_64) HPAGE_SIZE=$((4*$MB)) SLICE_SIZE=$HPAGE_SIZE ;; elf_s390|elf64_s390) HPAGE_SIZE=$((1*$MB)) SLICE_SIZE=$HPAGE_SIZE ;; +armelf_linux_eabi) HPAGE_SIZE=$((2*$MB)) SLICE_SIZE=$HPAGE_SIZE ;; esac if [ "$HTLB_ALIGN" == "slice" ]; then HTLBOPTS="-zcommon-page-size=$SLICE_SIZE -zmax-page-size=$SLICE_SIZE" HTLBOPTS="$HTLBOPTS -lhugetlbfs" + + # targeting the ARM platform one needs to explicitly set the text segment offset + # otherwise it will be NULL. + if [ "$EMU"
commit libhugetlbfs for openSUSE:Factory
Hello community, here is the log from the commit of package libhugetlbfs for openSUSE:Factory checked in at 2013-01-29 10:48:11 Comparing /work/SRC/openSUSE:Factory/libhugetlbfs (Old) and /work/SRC/openSUSE:Factory/.libhugetlbfs.new (New) Package is "libhugetlbfs", Maintainer is "tr...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/libhugetlbfs/libhugetlbfs.changes 2012-07-12 10:46:43.0 +0200 +++ /work/SRC/openSUSE:Factory/.libhugetlbfs.new/libhugetlbfs.changes 2013-01-29 10:48:12.0 +0100 @@ -1,0 +2,17 @@ +Wed Jan 23 10:34:58 UTC 2013 - tr...@suse.de + +- Update to version 2.15 + Features: + * Some System z functionality went into 2.15 + * Updated man pages + * Added basic events for core_i7 to oprofile_map_events + + Fixes: + * Disable Unable to verify address range warning when offset < page_size + * Remove sscanf in library setup to avoid heap allocation before _morecore + override + * Revert heap exhaustion patch + * hugectl no longer clips LD_LIBRARY_PATH variable + * Fix clean on failure code to avoid closing stdout + +--- Old: libhugetlbfs-2.13.tar.gz New: libhugetlbfs-2.15.tar.gz libhugetlbfs_fix_tests.patch libhugetlbfs_ia64_fix_missing_test.patch Other differences: -- ++ libhugetlbfs.spec ++ --- /var/tmp/diff_new_pack.bA1TlL/_old 2013-01-29 10:48:14.0 +0100 +++ /var/tmp/diff_new_pack.bA1TlL/_new 2013-01-29 10:48:14.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package libhugetlbfs # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,6 +16,7 @@ # + Name: libhugetlbfs %if 0%{?suse_version} > 1140 @@ -31,7 +32,7 @@ Obsoletes: libhugetlbfs-64bit %endif # -Version:2.13 +Version:2.15 Release:0 Url:http://libhugetlbfs.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -43,6 +44,8 @@ Patch1: libhugetlbfs.ia64-libdir.patch Patch2: libhugetlbfs.s390.patch Patch4: libhugetlbfs.tests-malloc.patch +Patch7: libhugetlbfs_ia64_fix_missing_test.patch +Patch8: libhugetlbfs_fix_tests.patch %description The libhugetlbfs package interacts with the Linux hugetlbfs to @@ -61,6 +64,8 @@ %patch1 -p1 %patch2 -p1 %patch4 -p1 +%patch7 -p1 +%patch8 -p1 %build make %{my_make_flags} @@ -69,6 +74,7 @@ tests= %ifarch ppc ppc64 %ix86 x86_64 tests=install-tests +make %{my_make_flags} install $tests %endif make \ %ifarch sparc sparcv9 ++ libhugetlbfs-2.13.tar.gz -> libhugetlbfs-2.15.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libhugetlbfs-2.13/HOWTO new/libhugetlbfs-2.15/HOWTO --- old/libhugetlbfs-2.13/HOWTO 2012-03-05 14:20:12.0 +0100 +++ new/libhugetlbfs-2.15/HOWTO 2012-12-08 18:15:26.0 +0100 @@ -43,13 +43,14 @@ -- You will need a CPU with some sort of hugepage support, which is -handled by your kernel. The covers recent x86, AMD64 and 64-bit -PowerPC(R) (POWER4, PPC970 and later) CPUs. +handled by your kernel. This covers recent x86, AMD64, 64-bit +PowerPC(R) (POWER4, PPC970 and later), and IBM System z CPUs. Currently, only x86, AMD64 and PowerPC are fully supported by libhugetlbfs. IA64 and Sparc64 have a working malloc, and SH64 should also but it has not been tested. IA64, Sparc64, and SH64 -do not support segment remapping at this time. +do not support segment remapping at this time. IBM System z supports +malloc and also segment remapping with --hugetlbfs-align. Kernel prerequisites diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libhugetlbfs-2.13/Makefile new/libhugetlbfs-2.15/Makefile --- old/libhugetlbfs-2.13/Makefile 2012-03-05 14:20:12.0 +0100 +++ new/libhugetlbfs-2.15/Makefile 2012-12-08 18:15:26.0 +0100 @@ -11,9 +11,10 @@ INSTALL_HELPER = huge_page_setup_helper.py INSTALL_PERLMOD = DataCollect.pm OpCollect.pm PerfCollect.pm Report.pm INSTALL_HEADERS = hugetlbfs.h -INSTALL_MAN1 = pagesize.1 -INSTALL_MAN3 = get_huge_pages.3 get_hugepage_region.3 \ - gethugepagesizes.3 getpagesizes.3 +INSTALL_MAN1 = ld.hugetlbfs.1 pagesize.1 +INSTALL_MAN3 = get_huge_pages.3 get_hugepage_region.3 gethugepagesize.3 \ + gethugepagesizes.3 getpagesizes.3 hugetlbfs_find_path.3 \ + hugetlbfs_test_path.3
commit libhugetlbfs for openSUSE:Factory
Hello community, here is the log from the commit of package libhugetlbfs for openSUSE:Factory checked in at 2012-07-12 10:46:41 Comparing /work/SRC/openSUSE:Factory/libhugetlbfs (Old) and /work/SRC/openSUSE:Factory/.libhugetlbfs.new (New) Package is "libhugetlbfs", Maintainer is "tr...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/libhugetlbfs/libhugetlbfs.changes 2012-04-17 07:46:04.0 +0200 +++ /work/SRC/openSUSE:Factory/.libhugetlbfs.new/libhugetlbfs.changes 2012-07-12 10:46:43.0 +0200 @@ -1,0 +2,5 @@ +Wed Jul 11 06:24:07 UTC 2012 - adr...@suse.de + +- Add excludearch for arm due to lacking support + +--- Other differences: -- ++ libhugetlbfs.spec ++ --- /var/tmp/diff_new_pack.C22DQN/_old 2012-07-12 10:46:44.0 +0200 +++ /var/tmp/diff_new_pack.C22DQN/_new 2012-07-12 10:46:44.0 +0200 @@ -38,6 +38,8 @@ %define my_make_flags V=1 CFLAGS="$RPM_OPT_FLAGS -fPIC" BUILDTYPE=NATIVEONLY PREFIX=/usr LIBDIR32=%{_libdir} DESTDIR=$RPM_BUILD_ROOT Source0:libhugetlbfs-%{version}.tar.gz Source1:baselibs.conf +# Sources have no support for arm (and they depend on the architecture) +ExcludeArch:%arm Patch1: libhugetlbfs.ia64-libdir.patch Patch2: libhugetlbfs.s390.patch Patch4: libhugetlbfs.tests-malloc.patch -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit libhugetlbfs for openSUSE:Factory
Hello community, here is the log from the commit of package libhugetlbfs for openSUSE:Factory checked in at 2012-04-17 07:45:53 Comparing /work/SRC/openSUSE:Factory/libhugetlbfs (Old) and /work/SRC/openSUSE:Factory/.libhugetlbfs.new (New) Package is "libhugetlbfs", Maintainer is "tr...@novell.com" Changes: --- /work/SRC/openSUSE:Factory/libhugetlbfs/libhugetlbfs.changes 2011-10-16 12:56:13.0 +0200 +++ /work/SRC/openSUSE:Factory/.libhugetlbfs.new/libhugetlbfs.changes 2012-04-17 07:46:04.0 +0200 @@ -1,0 +2,11 @@ +Tue Apr 10 19:51:51 UTC 2012 - tabra...@novell.com + +- Update to version 2.13 + * hugeadm can now be used to control Transparent Huge Page tunables + * New morecore mode to better support THP + * Check permissions on hugetlbfs mount point before marking it as +available + * Fix shm tests to use random address instead of fixed, old address +failed on ARM + +--- Old: libhugetlbfs-2.12.tar.gz New: libhugetlbfs-2.13.tar.gz Other differences: -- ++ libhugetlbfs.spec ++ --- /var/tmp/diff_new_pack.b13KYd/_old 2012-04-17 07:46:09.0 +0200 +++ /var/tmp/diff_new_pack.b13KYd/_new 2012-04-17 07:46:09.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package libhugetlbfs # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,8 +15,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: libhugetlbfs @@ -25,16 +23,16 @@ %endif BuildRequires: doxygen +Summary:Hugetlbfs helper library License:LGPL-2.1+ Group: Development/Libraries/Other -Summary:Hugetlbfs helper library # bug437293 %ifarch ppc64 Obsoletes: libhugetlbfs-64bit %endif # -Version:2.12 -Release:1 +Version:2.13 +Release:0 Url:http://libhugetlbfs.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-build %define my_make_flags V=1 CFLAGS="$RPM_OPT_FLAGS -fPIC" BUILDTYPE=NATIVEONLY PREFIX=/usr LIBDIR32=%{_libdir} DESTDIR=$RPM_BUILD_ROOT @@ -49,11 +47,9 @@ make large pages available to applications in a transparent manner. %package libhugetlb-devel -License:LGPL-2.1+ Summary:Devel package for libhugetlb -Requires: libhugetlbfs Group: Development/Libraries/Other -AutoReqProv:on +Requires: libhugetlbfs %description libhugetlb-devel Devel package, header and static library, of libhugetlb ++ libhugetlbfs-2.12.tar.gz -> libhugetlbfs-2.13.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libhugetlbfs-2.12/HOWTO new/libhugetlbfs-2.13/HOWTO --- old/libhugetlbfs-2.12/HOWTO 2011-04-01 22:39:44.0 +0200 +++ new/libhugetlbfs-2.13/HOWTO 2012-03-05 14:20:12.0 +0100 @@ -2,7 +2,7 @@ == Author: David Gibson , Adam Litke , and others -Last updated: February 1st, 2011 +Last updated: December 07, 2011 Introduction @@ -264,6 +264,11 @@ To use a specific huge page size: HUGETLB_MORECORE= + To use Transparent Huge Pages (THP): + HUGETLB_MORECORE=thp + +Note: This option requires a kernel that supports Transparent Huge Pages + Usually it's preferable to set these environment variables on the command line of the program you wish to run, rather than using "export", because you'll only want to enable the hugepage malloc() for @@ -284,9 +289,9 @@ Under some circumstances, you might want to specify the address where the hugepage heap is located. You can do this by setting the HUGETLB_MORECORE_HEAPBASE environment variable to the heap address in -hexadecimal. (NOTE: this will not work on PowerPC systems with old kernels +hexadecimal. NOTE: this will not work on PowerPC systems with old kernels which don't respect the hugepage hint address; see Kernel Prerequisites -above). +above. Also note that this option is ignored for THP morecore. By default, the hugepage heap begins at roughly the same place a normal page heap would, rounded up by an amount determined by your diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libhugetlbfs-2.12/Makefile new/libhugetlbfs-2.13/Makefile --- old/libhugetlbfs-2.12/Makefile 2011-04-01 22:39:44.0 +0200 +++ new/libhugetlbfs-2.13/Makefile 2012-03-05 14:20:12.0 +0100 @@ -196,7 +196,7 @@ tests: l
commit libhugetlbfs for openSUSE:Factory
Hello community, here is the log from the commit of package libhugetlbfs for openSUSE:Factory checked in at 2011-12-06 18:24:07 Comparing /work/SRC/openSUSE:Factory/libhugetlbfs (Old) and /work/SRC/openSUSE:Factory/.libhugetlbfs.new (New) Package is "libhugetlbfs", Maintainer is "tr...@novell.com" Changes: Other differences: -- ++ libhugetlbfs.spec ++ --- /var/tmp/diff_new_pack.sgUXQn/_old 2011-12-06 18:42:00.0 +0100 +++ /var/tmp/diff_new_pack.sgUXQn/_new 2011-12-06 18:42:00.0 +0100 @@ -25,7 +25,7 @@ %endif BuildRequires: doxygen -License:LGPLv2.1+ +License:LGPL-2.1+ Group: Development/Libraries/Other Summary:Hugetlbfs helper library # bug437293 @@ -49,7 +49,7 @@ make large pages available to applications in a transparent manner. %package libhugetlb-devel -License:LGPLv2.1+ +License:LGPL-2.1+ Summary:Devel package for libhugetlb Requires: libhugetlbfs Group: Development/Libraries/Other -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit libhugetlbfs for openSUSE:Factory
Hello community, here is the log from the commit of package libhugetlbfs for openSUSE:Factory checked in at Sun Oct 16 12:53:06 CEST 2011. --- openSUSE:Factory/libhugetlbfs/libhugetlbfs.changes 2011-09-23 02:08:33.0 +0200 +++ /mounts/work_src_done/STABLE/libhugetlbfs/libhugetlbfs.changes 2011-10-13 02:14:19.0 +0200 @@ -1,0 +2,12 @@ +Wed Oct 12 20:04:52 UTC 2011 - tabra...@novell.com + +- Update to version 2.12 + * libhugetlbfs usages can now be restricted to certain binary names + * libhugetlbfs now supports static linking + * hugeadm uses more human readable directory names for mount points + * Fix segfault if specified user was not in passwd, failuer in +getpwuid() is now checked + * Added tests for static linking to testcase + * Added missing tests to driver script + +--- calling whatdependson for head-i586 Old: libhugetlbfs-2.11.tar.bz2 libhugetlbfs.run_test_fix.patch New: libhugetlbfs-2.12.tar.gz Other differences: -- ++ libhugetlbfs.spec ++ --- /var/tmp/diff_new_pack.jGZwKG/_old 2011-10-16 12:53:03.0 +0200 +++ /var/tmp/diff_new_pack.jGZwKG/_new 2011-10-16 12:53:03.0 +0200 @@ -19,7 +19,12 @@ Name: libhugetlbfs + +%if 0%{?suse_version} > 1140 +BuildRequires: glibc-devel-static +%endif BuildRequires: doxygen + License:LGPLv2.1+ Group: Development/Libraries/Other Summary:Hugetlbfs helper library @@ -28,17 +33,16 @@ Obsoletes: libhugetlbfs-64bit %endif # -Version:2.11 -Release:3 +Version:2.12 +Release:1 Url:http://libhugetlbfs.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-build %define my_make_flags V=1 CFLAGS="$RPM_OPT_FLAGS -fPIC" BUILDTYPE=NATIVEONLY PREFIX=/usr LIBDIR32=%{_libdir} DESTDIR=$RPM_BUILD_ROOT -Source0:libhugetlbfs-%{version}.tar.bz2 +Source0:libhugetlbfs-%{version}.tar.gz Source1:baselibs.conf Patch1: libhugetlbfs.ia64-libdir.patch Patch2: libhugetlbfs.s390.patch Patch4: libhugetlbfs.tests-malloc.patch -Patch5: libhugetlbfs.run_test_fix.patch %description The libhugetlbfs package interacts with the Linux hugetlbfs to @@ -59,7 +63,6 @@ %patch1 -p1 %patch2 -p1 %patch4 -p1 -%patch5 -p1 %build make %{my_make_flags} continue with "q"... Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit libhugetlbfs for openSUSE:Factory
Hello community, here is the log from the commit of package libhugetlbfs for openSUSE:Factory checked in at Tue May 31 17:23:20 CEST 2011. --- libhugetlbfs/libhugetlbfs.changes 2010-12-17 12:47:56.0 +0100 +++ /mounts/work_src_done/STABLE/libhugetlbfs/libhugetlbfs.changes 2011-05-29 23:43:39.0 +0200 @@ -1,0 +2,5 @@ +Sun May 29 21:42:52 UTC 2011 - meiss...@novell.com + +- Do not include the 268MB testcase /usr/lib/libhugetlbfs/tests/obj32/linkhuge_rw. + +--- calling whatdependson for head-i586 Other differences: -- ++ libhugetlbfs.spec ++ --- /var/tmp/diff_new_pack.C3V2oY/_old 2011-05-31 17:22:44.0 +0200 +++ /var/tmp/diff_new_pack.C3V2oY/_new 2011-05-31 17:22:44.0 +0200 @@ -29,7 +29,7 @@ %endif # Version:2.11 -Release:1 +Release:3 Url:http://libhugetlbfs.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-build %define my_make_flags V=1 CFLAGS="$RPM_OPT_FLAGS -fPIC" BUILDTYPE=NATIVEONLY PREFIX=/usr LIBDIR32=%{_libdir} DESTDIR=$RPM_BUILD_ROOT @@ -80,6 +80,8 @@ for file in $RPM_BUILD_ROOT/%_libdir/libhugetlbfs/tests/*/*; do strip $file || : done +# Do not pack in a 268MB file.. +rm $RPM_BUILD_ROOT/%_libdir/libhugetlbfs/tests/obj32/linkhuge_rw || : %clean rm -rf $RPM_BUILD_ROOT Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit libhugetlbfs for openSUSE:Factory
Hello community, here is the log from the commit of package libhugetlbfs for openSUSE:Factory checked in at Thu Apr 21 13:39:11 CEST 2011. --- libhugetlbfs/libhugetlbfs.changes 2010-10-06 18:55:20.0 +0200 +++ /mounts/work_src_done/STABLE/libhugetlbfs/libhugetlbfs.changes 2010-12-17 12:47:56.0 +0100 @@ -1,0 +2,7 @@ +Fri Dec 17 11:45:36 UTC 2010 - tr...@novell.com + +- Update to version 2.11 + Bugfixes and new features are listed in the NEWS file in + /usr/share/doc/packages/libhugetlbfs/NEWS + +--- calling whatdependson for head-i586 Old: libhugetlbfs-2.9.tar.bz2 New: libhugetlbfs-2.11.tar.bz2 Other differences: -- ++ libhugetlbfs.spec ++ --- /var/tmp/diff_new_pack.HryJZ6/_old 2011-04-21 13:38:59.0 +0200 +++ /var/tmp/diff_new_pack.HryJZ6/_new 2011-04-21 13:38:59.0 +0200 @@ -1,7 +1,7 @@ # -# spec file for package libhugetlbfs (Version 2.9) +# spec file for package libhugetlbfs # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -28,7 +28,7 @@ Obsoletes: libhugetlbfs-64bit %endif # -Version:2.9 +Version:2.11 Release:1 Url:http://libhugetlbfs.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-build ++ libhugetlbfs-2.9.tar.bz2 -> libhugetlbfs-2.11.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libhugetlbfs-2.9/Makefile new/libhugetlbfs-2.11/Makefile --- old/libhugetlbfs-2.9/Makefile 2010-06-28 14:05:50.0 +0200 +++ new/libhugetlbfs-2.11/Makefile 2010-12-16 18:38:22.0 +0100 @@ -1,5 +1,5 @@ -PREFIX = /usr/local -EXEDIR = /bin +PREFIX ?= /usr/local +EXEDIR ?= /bin LIBOBJS = hugeutils.o version.o init.o morecore.o debug.o alloc.o shm.o kernel-features.o LIBPUOBJS = init_privutils.o debug.o hugeutils.o kernel-features.o diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libhugetlbfs-2.9/NEWS new/libhugetlbfs-2.11/NEWS --- old/libhugetlbfs-2.9/NEWS 2010-06-28 14:05:50.0 +0200 +++ new/libhugetlbfs-2.11/NEWS 2010-12-16 18:38:22.0 +0100 @@ -1,3 +1,27 @@ +libhugetlbfs 2.11 "Ghost Pepper" +== +New Features +* cpupcstat reports time servicing tlb misses when requested +* When supported by the kernel and glibc, MAP_HUGETLB is used + for the heap and to back memory returned by get_huge_pages. + These features can now be used without mounting hugetlbfs + +Bug Fixes +* tlbmiss_cost.sh supresses oprofile errors +* numerous fixes to setup_helper.py +* Corrected usage of hugetlbfs_test_feature return value +* find_mounts now correctly ignores non-hugetlbfs mount points +* When prefaulting pages for get_huge_pages readv was using the fd + for the mapping, this caused the prefault to fail on older libc. + Now /dev/zero is used for all prefaulting + +libhugetlbfs 2.10 "Another Hottie" +== +Bug Fixes +* hugeadm now handles pool size deltas properly +* Makefile uses ?= to assign PREFIX and EXEDIR to allow for easier build + modification + libhugetlbfs 2.9 "Something Spicy" == New Features diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libhugetlbfs-2.9/TLBC/OpCollect.pm new/libhugetlbfs-2.11/TLBC/OpCollect.pm --- old/libhugetlbfs-2.9/TLBC/OpCollect.pm 2010-06-28 14:05:50.0 +0200 +++ new/libhugetlbfs-2.11/TLBC/OpCollect.pm 2010-12-16 18:38:22.0 +0100 @@ -55,7 +55,7 @@ my $self = shift; my $vmlinux = shift; my $refEvents = shift; - my $cmd = "$Bin/oprofile_start.sh --vmlinux=$vmlinux "; + my $cmd = "$Bin/oprofile_start.sh --sample-cycle-factor 6 --sample-event-factor 2 --vmlinux=$vmlinux "; foreach my $event (@{$refEvents}) { $cmd .= " --event=$event"; $self->_get_event($event); @@ -154,7 +154,10 @@ $col = $self->_get_column($event); foreach $line (@results) { - if ($line =~ /$binName/) { + if ($line !~ /^\s+[0-9]/) { + next; + } + if ($binName eq "/" || $line =~ /$binName/) { chomp($line); $line =~ s/^\s+//; $line =~ s/\s+$//; @@ -169,7 +172,7 @@ sub read_eventcount() { system("opcontrol --dump > /dev/null 2>&1");