[csw-maintainers] ld: fatal: relocations remain against allocatable but non-writable sections
Rafael Ostertag
raos at opencsw.org
Sat Jun 16 22:26:30 CEST 2012
Hi Maciej
On Sat, Jun 16, 2012 at 09:02:55PM +0100, Maciej (Matchek) Blizi??ski wrote:
> When building gcc-4.7.1, I ran against this error:
>
> ld: fatal: relocations remain against allocatable but non-writable sections
> collect2: error: ld returned 1 exit status
>
> It happens when linking the libgnat shared object. It's reproducible,
> try a gcc4 build from the repository and you'll see it.
SPARC or x86? If x86, 32bit or 64bit?
My first bet would be a missing -pic
cheers
rafi
More information about the maintainers
mailing list