if an archive is empty, the linker (gccld in this case) crashes. It should manage to procede.
Created attachment 517 [details] empty archive reproduce with: gccld -o /dev/null built-in.o
Several asserts in the Archive Library should have been producing error messages but weren't. This is now fixed with these patches: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20061211/041458.html