This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
ppc problem with .rodata.str1.4. binutils requirement for gcc 3.3.1?
- From: Andrew Haley <aph at redhat dot com>
- To: "Kris Warkentin" <kewarken at qnx dot com>
- Cc: "Gcc ML" <gcc at gcc dot gnu dot org>
- Date: Fri, 28 Nov 2003 18:11:15 +0000
- Subject: ppc problem with .rodata.str1.4. binutils requirement for gcc 3.3.1?
- References: <087e01c3b5da$77d658e0$0202040a@catdog>
Kris Warkentin writes:
> 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.
You'd be be better off asking the binutils list.
We often fall over binutils bugs, and the exact version of binutils
required successfully to use gcc depends on the target system.
Andrew.