I suspected the extremely long command line could have something to do with this bug, so I created a patch to mklibs that puts all -u options in a linker script. This reduced the length of the command line from >6000 to just over 1000. Sven tested using this version, but it failed in the same way. This makes me suspect the problem is in ld, not mklibs. (Especially as basically the same reduction works fine on i386.)
Attachment:
pgpebFzlpg10n.pgp
Description: PGP signature