According to my testing it compiles if you specify -G. That’s just another observation.
-G
I would suggest filing a bug.