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: fixed, patch

Done: Collin Funk <collin.funk1 <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 76753 in the body.
You can then email your comments to 76753 AT debbugs.gnu.org in the normal way.

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)]

bug closed, send any further explanations to 76753 <at> debbugs.gnu.org and Collin Funk <collin.funk1 <at> gmail.com> Request was from Collin Funk <collin.funk1 <at> gmail.com> to control <at> debbugs.gnu.org. (Tue, 08 Jul 2025 01:32:02 GMT) Full text and rfc822 format available.

Added tag(s) fixed. Request was from Collin Funk <collin.funk1 <at> gmail.com> to control <at> debbugs.gnu.org. (Tue, 08 Jul 2025 01:38:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 05 Aug 2025 11:24:22 GMT) Full text and rfc822 format available.

This bug report was last modified 10 days ago.

Previous Next


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