On sparc mplayer fails to build on sparc with the following errors thrown repeatedly:
./config.h:119:23: warning: missing terminating " character [enabled by default]
./config.h:120:1: warning: missing terminating " character [enabled by default]
./config.h:120:1: error: missing terminating " character
Looking at the generated config.h on lines 119-120 it appears that the quote is not ended properly on line 119 and instead there is a space, then newline, and then the quote on its own line. Fixing this manually fixes the problem.
Steps to Reproduce:
1.emerge mplayer on sparc
Created attachment 376162 [details]
output of emerge --info
Please attach the entire build log to this bug report.
Created attachment 376254 [details]
It's probably useful to attach that config.h too.
Created attachment 376256 [details]
I experienced the same problem on amd64. I was using lto also when compiling mplayer and you also did, if I understand well. I solved the problem compiling w/out lto.
You're absolutely right, it was lto. I didn't even consider it because it was so early in the build process. Whatever causes this should be fixed as once manually correcting the config.h mplayer compiles fine with lto.
I confirm this. I'm using LTO.
But this's note related to linking.