https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577
--- Comment #55 from EML <elowe at elowe dot com> --- Doing some more testing on my "gprel unfixed fix" 32-bit gcc, I found out that it seems to be missing the 32-bit pointer swizzling needed to make 32bit executables on 64-bit IA-64. The test program assembler is missing an addp4 instruction - when I add in this instruction, my second test program also works. This is defined as "ptr_extend" in the ia64.md. I don't know what it doesn't seeem to be there, but it is definitely missing. So I thought I would try to make a 64-bit GCC and then compile everything 64-bit just to see if that would work, since it doesn't need swizzling. This still has the "gprel unfixed fix" though. So far it has made it past all the conftest in the c++ library configure (so already much further) and it has compiled libstdc++. There were, unfortunately, some linker problems with "duplicate symbols" which seem to have been fatal. However, this is much closer now on 64-bit