A broken linker? Try to inspect the object files manually and use -Sh to view the linker script