Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Update
libhugetlbfs
fix_plt_extrasz_always_returning_0_on_ppc64le.p...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix_plt_extrasz_always_returning_0_on_ppc64le.patch of Package libhugetlbfs
Subject: fix plt_extrasz() always returning 0 on ppc64le From: Signed-off-by: Jan Stancek <jstancek@redhat.com> 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 <jstancek@redhat.com> --- 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
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor