On 29/09/2013 22:55, François Revol wrote: > On 29/09/2013 22:49, François Revol wrote: >> * I had to bump the MAXLINE in jam, but I still get a weird stop when >> linking libroot. Jam stops complaining about a failed action but >> actually doesn't give any error, and manually running the link command >> in a shell script just works and allows it to continue... >> I'll try to strace it. >> > > [pid 4104] execve("/bin/sh", ["/bin/sh", "-c", > "\n/home/revol/devel/haiku/trunk/g"...], [/* 42 vars */]) = -1 E2BIG > (Argument list too long) > > Of course the kernel doesn't like it... > I guess we'll have to find a different workaround this time... It looks like we are unarchiving libgcc.a just to link with all its content... Why aren't we just linking the .a with --whole-archive anyway??? François.