GNU bug report logs - #76753
[PATCH] build: fix link errors on AIX

Previous Next

Package: cppi;

Reported by: Collin Funk <collin.funk1 <at> gmail.com>

Date: Wed, 5 Mar 2025 03:39:02 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 76753 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-cppi <at> gnu.org:
bug#76753; Package cppi. (Wed, 05 Mar 2025 03:39:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Collin Funk <collin.funk1 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-cppi <at> gnu.org. (Wed, 05 Mar 2025 03:39:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Collin Funk <collin.funk1 <at> gmail.com>
To: bug-cppi <at> gnu.org
Subject: [PATCH] build: fix link errors on AIX
Date: Tue, 04 Mar 2025 19:38:17 -0800
[Message part 1 (text/plain, inline)]
On AIX, I see the following:

  CCLD     src/cppi
ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_lock
ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_unlock
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: error: ld returned 8 exit status

This is due to some gnulib functions using mbrtoc32, etc. which use
locks.

The following patch adds the link flags.

Collin

[0001-build-fix-link-errors-on-AIX.patch (text/x-patch, attachment)]

This bug report was last modified 39 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.