On Mon, 2010-11-08 at 21:01 +0100, Pippijn van Steenhoven wrote: > I am root on my (Linux) system and I set the stack size to unlimited. > The libtool macro reported a few billion (or something other really > large) for maximum argument list length, bash also agreed (it easily > executed the "distdir" target when copied into a bash script), but > make doesn't.
What version of GNU make are you using? There was an issue in GNU make 3.81 related to setting stack limits, that I believe is resolved in GNU make 3.82. I can't recall the details. You might try that if you're not already using it.