Page MenuHome GnuPG

AIX have no weak symbol
Closed, ResolvedPublic

Description

Environment

IBM AIX 5.1L (PowerPC)

Description

libgcrypt.so.7 is unusable on AIX because some symbols (pthread ones) are missing.
AIX has no support for weak symbol, so the linker has included external definitions for pthread functions, which cannot be resolved at runtime...

How To Repeat

./configure
make
make install
make check...
6 of 7 tests failed

gdb trace :
Starting program: /tmp/lgoujon/libgcrypt-1.1.90/tests/.libs/basic

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1]
0xdba88378 in pthread_mutex_lock ()

from /ensigogne/lib/libgcrypt.a(libgcrypt.so.7)

Fix

Unknown

Event Timeline

We switched the thread support model in the meantime. You should not have this
problem anymore.