[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libtool 1.5.10: AC_LIBTOOL_SYS_MAX_CMD_LEN causes system crash
From: |
Peter O'Gorman |
Subject: |
Re: libtool 1.5.10: AC_LIBTOOL_SYS_MAX_CMD_LEN causes system crash |
Date: |
Wed, 12 Jan 2005 01:03:28 +0900 |
User-agent: |
Mozilla Thunderbird 1.0 (Macintosh/20041206) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dr. Hans Ekkehard Plesser wrote:
|
| Hi!
|
| AC_LIBTOOL_SYS_MAX_CMD_LEN reliably causes a system crash under Tru64 Unix,
| V5.1B-PK4 if the number of length of command line arguments is not limited
| (one can disable length checking with the proc:exec_disable_arg_limit kernel
| option).
Eeek! What kind of crash? Even though there is no limit on the length
libtool should stop looking at about half a megabyte and be happy, this
shouldn't be causing anything to crash :(
|
| I do not know if there is any explicit command in Tru64 to query the maximum
| length of the command line. But if
|
| /sbin/sysconfig -q proc exec_disable_arg_limit
|
| returns
|
| proc:
| exec_disable_arg_limit = 1
|
| then the iterative test for the maximum length MUST NOT be run. Otherwise,
| the system will crash. I hope that a corresponding check will be integrated
| into future versions of libtool.
|
| My config: libtool 1.5.10, automake 1.9.4, autoconf 2.59.
|
Thanks for the report. I'll look at fixing this at the weekend (unless
someone else gets there first).
Peter
- --
Peter O'Gorman - http://www.pogma.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (Darwin)
iQCVAwUBQeP4z7iDAg3OZTLPAQJlHQQAqb9TKVu7S4twwAK/IaU2JB7XHzLx6aoN
zDjgS/UtANzfhcMFazc32vILPDG6VRnhSDr46P0BSFe4aNc0s57j+26qXJ8BHouY
p7aJsD+EReJE4qM3v/WDRrubZk3sWcVS6Zk4Bu8fjrrC+C8Ue71RvBXYWC3l715D
zY4Wxm8Ub1w=
=La1P
-----END PGP SIGNATURE-----