This commit is contained in:
parent
973e01c990
commit
7b646ac344
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 6 14:59:22 CET 2008 - olh@suse.de
|
||||||
|
|
||||||
|
- fix libhugetlbfs 32bit test case xB.linkhuge failure (bnc#442209 - LTC49702)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Oct 21 14:24:22 CEST 2008 - olh@suse.de
|
Tue Oct 21 14:24:22 CEST 2008 - olh@suse.de
|
||||||
|
|
||||||
|
17
libhugetlbfs.small_bss.patch
Normal file
17
libhugetlbfs.small_bss.patch
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
---
|
||||||
|
elflink.c | 4 ++++
|
||||||
|
1 file changed, 4 insertions(+)
|
||||||
|
|
||||||
|
--- a/elflink.c
|
||||||
|
+++ b/elflink.c
|
||||||
|
@@ -622,6 +622,10 @@ static int verify_segment_layout(struct
|
||||||
|
unsigned long prev_end = segs[i - 1].end;
|
||||||
|
unsigned long start = segs[i].start;
|
||||||
|
|
||||||
|
+ /* Don't worry about consecutive normal page segments */
|
||||||
|
+ if (!segs[i - 1].huge && !segs[i].huge)
|
||||||
|
+ continue;
|
||||||
|
+
|
||||||
|
/* Make sure alignment hasn't caused segments to overlap */
|
||||||
|
if (prev_end > start) {
|
||||||
|
WARNING("Layout problem with segments %i and %i:\n\t"
|
@ -24,7 +24,7 @@ License: LGPL v2.1 or later
|
|||||||
Group: Development/Libraries/Other
|
Group: Development/Libraries/Other
|
||||||
Summary: hugetlbfs helper library
|
Summary: hugetlbfs helper library
|
||||||
Version: 2.0
|
Version: 2.0
|
||||||
Release: 7
|
Release: 8
|
||||||
Url: http://libhugetlbfs.sourceforge.net/
|
Url: http://libhugetlbfs.sourceforge.net/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%define my_make_flags V=1 CFLAGS="$RPM_OPT_FLAGS -g -fPIC" BUILDTYPE=NATIVEONLY PREFIX=/usr LIBDIR32=%{_libdir} DESTDIR=$RPM_BUILD_ROOT
|
%define my_make_flags V=1 CFLAGS="$RPM_OPT_FLAGS -g -fPIC" BUILDTYPE=NATIVEONLY PREFIX=/usr LIBDIR32=%{_libdir} DESTDIR=$RPM_BUILD_ROOT
|
||||||
@ -34,6 +34,7 @@ Patch1: libhugetlbfs.ia64-libdir.patch
|
|||||||
Patch2: libhugetlbfs.s390.patch
|
Patch2: libhugetlbfs.s390.patch
|
||||||
Patch3: libhugetlbfs.tests-malloc.patch
|
Patch3: libhugetlbfs.tests-malloc.patch
|
||||||
Patch4: libhugetlbfs.linkerscript.patch
|
Patch4: libhugetlbfs.linkerscript.patch
|
||||||
|
Patch5: libhugetlbfs.small_bss.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
libhugetlbfs interacts with the Linux hugetlbfs to make large pages
|
libhugetlbfs interacts with the Linux hugetlbfs to make large pages
|
||||||
@ -53,6 +54,7 @@ Authors:
|
|||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
%patch4 -p1
|
%patch4 -p1
|
||||||
|
%patch5 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{my_make_flags} libs $tests
|
make %{my_make_flags} libs $tests
|
||||||
@ -79,6 +81,8 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_libdir}/lib*
|
%{_libdir}/lib*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Nov 06 2008 olh@suse.de
|
||||||
|
- fix libhugetlbfs 32bit test case xB.linkhuge failure (bnc#442209 - LTC49702)
|
||||||
* Tue Oct 21 2008 olh@suse.de
|
* Tue Oct 21 2008 olh@suse.de
|
||||||
- handle older binutils versions in elf32ppclinux.xBDT (bnc#436451 - LTC49076)
|
- handle older binutils versions in elf32ppclinux.xBDT (bnc#436451 - LTC49076)
|
||||||
* Wed Aug 27 2008 olh@suse.de
|
* Wed Aug 27 2008 olh@suse.de
|
||||||
|
Loading…
x
Reference in New Issue
Block a user