ppc problem with .rodata.str1.4. binutils requirement for gcc 3.3.1?

Kris Warkentin kewarken@qnx.com
Fri Nov 28 18:21:00 GMT 2003


I asked this on the gcc mailing list but they suggested to ask binutils.

In the course of building some powerpc startup code we found ld complaining
about "allocated section `.rodata.str1.4' not in segment" and "allocated
section `.eh_frame' not in segment".  I observed that some of the objects in
the startup had .rodata.str1.4 sections in them.  I also observed that if I
took the ld from binutils 2.12.1 to 2.14, the problem went away.

I didn't find any talk of a hard binutils requirement for the 3.3 series of
gcc but perhaps I missed it.  Can anyone shed some light on this?  I hope
I'm not too astonishing in my ignorance but this .rodata.str1.x doesn't seem
to be generated by our older gcc and I don't really know what the
significance of it all is.

Essentially we're in the middle of a release and are stuck at our current
gcc and binutils versions for the moment so if anyone can give me an idea of
how to understand/work around the problem, I'd be very grateful.

cheers,

Kris






More information about the Binutils mailing list