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

Full log


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 101 days ago.

Previous Next


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