OK. To save yourself time, confirm that options.c (which is generated
in the build/gcc directory early in a stage1 build) contains an entry
"MD_". It should get that from java/lang.opt if it's up-to-date like
you say.
Yup, it does.
It's still building the Java library, so we'll see if it fails agin.
It could be some dependency problem.