pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/58592: xz link flag to support large memory on AIX



>Number:         58592
>Category:       pkg
>Synopsis:       xz link flag to support large memory on AIX
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 13 18:05:00 +0000 2024
>Originator:     Vicente Chaves de Melo
>Release:        pkgsrc-2024Q2
>Organization:
>Environment:
AIX plsasmbtest 2 7 00F9EC384C00
>Description:
archives/xz shows "xz: (stdin): There is not enough memory available now." on AIX 


>How-To-Repeat:
try to build devel/gettext-tools with default conf

xz -c -5 < '.'/archive.dir.tar > archive.dir.tar.xz-t && mv archive.dir.tar.xz-t archive.dir.tar.xz
xz: (stdin): There is not enough memory available now.
*** Error code 1

Stop.
bmake[4]: stopped in /home/vchaves/work/devel/gettext-tools/work/gettext-0.22.5/gettext-tools/misc
*** Error code 1

Stop.
bmake[3]: stopped in /usr/pkgsrc/devel/gettext-tools
*** Error code 1
>Fix:
 cvs diff
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/archivers/xz/Makefile,v
retrieving revision 1.50
diff -u -r1.50 Makefile
--- Makefile    29 May 2024 20:22:25 -0000      1.50
+++ Makefile    13 Aug 2024 17:43:36 -0000
@@ -16,6 +16,8 @@
 PKGCONFIG_OVERRIDE=    src/liblzma/liblzma.pc.in
 TEST_TARGET=           check

+LDFLAGS.AIX=           -Wl,-bmaxdata:0x80000000
+
 CONFLICTS=     lzma-[0-9]* lzma-utils-[0-9]* lzmalib-[0-9]*

 .include "../../mk/compiler.mk"



Home | Main Index | Thread Index | Old Index