--- Begin Message ---
Subject: |
8.4 "kill" program fails to link on AIX 5.3 |
Date: |
Tue, 13 Apr 2010 17:36:56 -0400 |
Building coreutils-8.4 on a 64-bit AIX 5.3 system using GCC, I get this:
gmake[1]: Entering directory `/tmp/coreutils-build/src'
CCLD kill
ld: 0711-317 ERROR: Undefined symbol: .pthread_once
ld: 0711-317 ERROR: Undefined symbol: .pthread_getspecific
ld: 0711-317 ERROR: Undefined symbol: .pthread_setspecific
ld: 0711-317 ERROR: Undefined symbol: .pthread_key_create
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
gmake[1]: *** [kill] Error 1
gmake[1]: Leaving directory `/tmp/coreutils-build/src'
gmake: *** [all] Error 2
Everything else builds and links fine. Does the "kill" program need some
special handling to make use of pthreads?
--Daniel
--
Daniel Richard G. || address@hidden || Software Developer
Teragram Linguistic Technologies (a division of SAS)
http://www.teragram.com/
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#5942: 8.4 "kill" program fails to link on AIX 5.3 |
Date: |
Fri, 16 Apr 2010 01:19:57 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 |
On 15/04/10 16:01, Daniel Richard G. wrote:
> Indeed, that does the trick! Adding either of $(LIBTHREAD) or
> $(LIBMULTITHREAD) to kill_LDADD allows the program to link successfully.
Thanks for testing.
I've just pushed that fix.
cheers,
Pádraig.
--- End Message ---