GNU bug report logs - #5942
8.4 "kill" program fails to link on AIX 5.3

Previous Next

Package: coreutils;

Reported by: danielg <at> teragram.com

Date: Tue, 13 Apr 2010 22:21:02 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


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

From: "Daniel Richard G." <oss <at> teragram.com>
To: <P <at> draigBrady.com>
Cc: 5942 <at> debbugs.gnu.org
Subject: RE: bug#5942: 8.4 "kill" program fails to link on AIX 5.3
Date: Thu, 15 Apr 2010 11:01:36 -0400
Pádraig Brady wrote:
>
> So the above confirms that timeout and kill are being
> compiled and linked
> with the same options. Therefore it must be something
> particular to kill.c
> that's causing this.  A quick look shows that kill.c
> uses strsignal()
> while timeout doesn't and I can now see that the
> gnulib replacement for
> this function is implemented using thread local
> storage.
>
> gnulib/modules/tls says to link $(LIBTHREAD), so could
> you try the following.
> It that doesn't work, could you change $(LIBTHREAD) to
> $(LIBMULTITHREAD).

Indeed, that does the trick! Adding either of $(LIBTHREAD) or 
$(LIBMULTITHREAD) to kill_LDADD allows the program to link successfully.


--Daniel






This bug report was last modified 15 years and 118 days ago.

Previous Next


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