https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #7 from Joseph John <josephpattara at gmail dot com> --- MY LD version is below: -bash-4.3$ ld -V ld: 92453-07 linker ld HP Itanium(R) B.12.60 IPF/IPF Are you using the same version?