Doing the opposite results in the same failure. Not sure what the problem is, possibilities include a bad static lib, a bad list of obj files or something to do with coming up with the exports list for xul.
The build deconstructs static libs to object files and the export list is produced with some magic involving the stabs info.