OBS User unknown 2009-02-03 21:54:12 +00:00 committed by Git OBS Bridge
parent 416a87094e
commit d0b397551b
3 changed files with 37 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Feb 2 10:51:07 CET 2009 - olh@suse.de
- document workaround for NX configurations on x86 (bnc#470234 - LTC50261)
-------------------------------------------------------------------
Wed Jan 7 15:11:22 CET 2009 - olh@suse.de

27
libhugetlbfs.howto.patch Normal file
View File

@ -0,0 +1,27 @@
Update HOWTO with specific instructions on fixing segafaults when using xB linker script
with NX bit support.
Signed-off-by: Eric B Munson <ebmunson@us.ibm.com>
---
HOWTO | 9 +++++++++
1 file changed, 9 insertions(+)
--- a/HOWTO
+++ b/HOWTO
@@ -594,6 +594,15 @@ If an application fails to run, set the
to 1. This causes additional diagnostics to be run. This information should
be included when sending bug reports to the libhugetlbfs team.
+Specific Scenarios:
+-------------------
+
+ISSUE: When using the xB linker script with a 32 bit binary on an x86 host with
+ NX support enabled, the binary segfaults.
+
+TRY: Recompiling with the --hugetlbfs-align options and use the new relinking
+ method or booting your kernel with noexec32=off.
+
Trademarks
==========

View File

@ -29,7 +29,7 @@ Obsoletes: libhugetlbfs-64bit
%endif
#
Version: 2.0
Release: 9
Release: 12
Url: http://libhugetlbfs.sourceforge.net/
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
@ -41,6 +41,7 @@ Patch3: libhugetlbfs.tests-malloc.patch
Patch4: libhugetlbfs.linkerscript.patch
Patch5: libhugetlbfs.small_bss.patch
Patch6: libhugetlbfs.linker-sections.patch
Patch7: libhugetlbfs.howto.patch
%description
libhugetlbfs interacts with the Linux hugetlbfs to make large pages
@ -62,6 +63,7 @@ Authors:
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%build
make %{my_make_flags} libs $tests
@ -88,6 +90,8 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/lib*
%changelog
* Mon Feb 02 2009 olh@suse.de
- document workaround for NX configurations on x86 (bnc#470234 - LTC50261)
* Wed Jan 07 2009 olh@suse.de
- Update SECTIONS from linker scripts for binutils 2.19 compatibility
(bnc#445372 - LTC50129)