------- Comment #1 from jakub at gcc dot gnu dot org 2007-10-30 14:01 ------- Untested patch that could help: --- libgcc/Makefile.in 2007-09-28 08:29:29.000000000 +0200 +++ libgcc/Makefile.in 2007-10-30 14:55:38.000000000 +0100 @@ -1,6 +1,6 @@ # Makefile.in
-# Copyright (C) 2005, 2006 Free Software Foundation +# Copyright (C) 2005, 2006, 2007 Free Software Foundation # # This file is part of GCC. # @@ -694,7 +694,7 @@ libgcc.a libgcov.a libunwind.a libgcc_eh -o eh_dummy$(objext); \ objects=eh_dummy$(objext); \ fi; \ - $(AR_CREATE_FOR_TARGET) $@ $$objects + ls $$objects | xargs $(AR_CREATE_FOR_TARGET) $@ $(RANLIB) $@ Or is the problem not in the size of the arguments on the exec side, but just buggy ar that imposes further limits on the length of the command line? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33781