4.7.1 on Solaris 10: ld: fatal: relocations remain against allocatable but non-writable sections

Tom Christensen tgc@jupiterrise.com
Tue Jun 19 15:16:00 GMT 2012


On 06/19/2012 07:46 AM, Tom G. Christensen wrote:
> The fix is probably this commit that was made after 4.7.1 was tagged:
> http://gcc.gnu.org/git/?p=gcc.git;a=commit;h=176ff0f9a1016553978d6cf41770703e2ad90958
>
> I'm starting a build now with this patch included, but it will be some
> hours before I have a result.
>
It works.
The buildlog shows that -fpic is now being passed to xgcc when building 
the objects used to link libgnat-4.7.so and the linking proceeds without 
issue.

Testresults will be posted in a day or two if all goes well.

-tgc




More information about the Gcc-help mailing list