Ralf Wildenhues wrote: >> Anyway, what formula do you think reasonable? > > For starters, how large is the environment and how large is the driver > overhead, in the case where you're hitting the wall? >
It hit the error with ARG_MAX at 20K, max_cmd_len at 15K, and confusingly, it hit it doing the ld -r (so no driver overhead). The same ld -r command worked fine outside of libtool, but failed consistently when libtool attempted it. I did not think to look at the environment, and we have since rebuilt the kernel with large_ncargs_enabled (so new ARG_MAX is 200K), so can not reproduce. Not helpful, I know. Peter -- Peter O'Gorman http://pogma.com
