This doesn't look like an oracle issue. It looks like the problem on your gcc, where it fails to link against the libgcc. You might want to further dig into the glibc versions to see the actual cause.

Sam