Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37765984
en ru br
ALT Linux repos
S:1.6.2-alt1
5.0: 0.99-alt2
4.1: 0.99-alt1

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


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
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin