NetBSD Problem Report #58592
From www@netbsd.org Tue Aug 13 18:01:55 2024
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (2048 bits)
client-signature RSA-PSS (2048 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 376D21A9242
for <gnats-bugs@gnats.NetBSD.org>; Tue, 13 Aug 2024 18:01:55 +0000 (UTC)
Message-Id: <20240813180153.EC1D11A9243@mollari.NetBSD.org>
Date: Tue, 13 Aug 2024 18:01:53 +0000 (UTC)
From: vchaves@ymail.com
Reply-To: vchaves@ymail.com
To: gnats-bugs@NetBSD.org
Subject: xz link flag to support large memory on AIX
X-Send-Pr-Version: www-1.0
>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"
(Contact us)
$NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.