[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libtool.m4 patch for LT_CMD_MAX_LEN on IRIX

From: Ralf Wildenhues
Subject: Re: libtool.m4 patch for LT_CMD_MAX_LEN on IRIX
Date: Mon, 19 Apr 2010 22:19:31 +0200
User-agent: Mutt/1.5.20 (2009-10-28)

Hello Michael,

thanks for the report.

* Michael Stapelberg wrote on Sat, Apr 17, 2010 at 11:38:40PM CEST:
> on IRIX 6.5.30 (latest release) the macro LT_CMD_MAX_LEN incorrectly detects
> 8k as maximum length, while IRIX supports 20k. The patch for libtool.m4 is
> quite simple and uses getconf(1) (specified in POSIX.2-1992), which probably
> works for a lot of other systems, too. As I only tested it on IRIX, I only
> enabled it for IRIX.
> This patch is necessary to build PHP5 which wants to link a lot of files.
> Please include the attached patch in the next release of libtool.

I'm not sure I see why this patch should make a difference.  Before the
patch, git master of Libtool had no special case for IRIX in this macro,
which means 'getconf ARG_MAX' is tried first.  So, your patch should
make exactly zero difference.

If that is not the case for you, can you try to debug the issue?
Probably easiest to edit the configure script in question, wrap the
expanded LT_CMD_MAX_LEN code in 'set -x'/'set +x' and remove the
2>/dev/null from the getconf command to see an eventual failure.

Hope that helps.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]