This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


2012/6/19 Tom G. Christensen <tgc@jupiterrise.com>:
> Look closer in the buildlogs, you'll see that the objects that it is
> complaining about where not built with a pic flag.

True.

> The most likely candidate for having caused this break is this patch:
> http://gcc.gnu.org/git/?p=gcc.git;a=commit;h=e8641b7435587c748491cc82c038ebcf41e6d4b6
>
> It touches the picflags in the Ada subdir.
>
> 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

Cool, that's it. The build completes fine after adding this patch. The
gcc-4.7.1 packages are now available from the OpenCSW unstable
catalog. Thanks for the help!

Maciej


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]