Group :: Development/Debuggers
RPM: libunwind
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: libunwind-1.5.0-LFS-support.patch
Download
Download
From f740c3db3cd216b9ed5d4745b3ebd8287d706867 Mon Sep 17 00:00:00 2001
From: Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
Date: Fri, 24 Sep 2021 20:11:17 +0300
Subject: [PATCH] Add large file support (LFS)
verify-elf: ERROR: ./usr/lib/libunwind-ptrace.so.0.0.0: uses non-LFS functions: __fxstat mmap open
verify-elf: ERROR: ./usr/lib/libunwind-coredump.so.0.0.0: uses non-LFS functions: __fxstat lseek mmap open
verify-elf: ERROR: ./usr/lib/libunwind-x86.so.8.0.1: uses non-LFS functions: __fxstat mmap open
verify-elf: ERROR: ./usr/lib/libunwind.so.8.0.1: uses non-LFS functions: __fxstat mmap open
libabigail's abidiff doesn't show any ABI regressions after this change.
---
configure.ac | 2 ++
src/Makefile.am | 2 ++
2 files changed, 4 insertions(+)
--- a/configure.ac
+++ b/configure.ac
@@ -22,6 +22,8 @@ LT_INIT
AM_PROG_AS
AM_PROG_CC_C_O
+AC_SYS_LARGEFILE
+
dnl Checks for libraries.
AC_CHECK_LIB(uca, __uc_get_grs)
OLD_LIBS=${LIBS}
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -6,6 +6,8 @@ COREDUMP_SO_VERSION=0:0:0
#
COMMON_SO_LDFLAGS = $(LDFLAGS_NOSTARTFILES)
+AM_CFLAGS = -include config.h
+
lib_LIBRARIES =
lib_LTLIBRARIES =
if !REMOTE_ONLY