This is the mail archive of the gcc-bugs@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]

[Bug middle-end/29359] bad relocation section name `' in .o causes segv of ld.



------- Comment #11 from jmbnyc at gmail dot com  2006-10-05 20:57 -------
Subject: Re:  bad relocation section name `' in .o causes segv of ld.

Thanks for looking at it. Uli Drepper helped me to look at the asm and
conclude (just about one hour ago) that indeed the problem is with
"as". It clearly screws up with symbols names. Uli tried with binutils
from FC6 and does not get the problem.

Also, thanks for pointing out the extern "C" thing. I moved some code
around and left that in which was not good.

I am going to try to upgrade to the binutils with FC6 and hope that it
solves the problem. I would file a report with the "as" guys.

BTW, I know that you guys are busy, so thanks for taking a look. This
problem has been killing my development.
/JMB

On 5 Oct 2006 20:49:45 -0000, drow at gcc dot gnu dot org
<gcc-bugzilla@gcc.gnu.org> wrote:
>
>
> ------- Comment #10 from drow at gcc dot gnu dot org  2006-10-05 20:49 -------
> FYI, the testcase does not build with my system g++ 4.1.2; remove the "static"
> from 'extern "C" static'.  The result does not choke my system's binutils, i.e.
> it links successfully.
>
> If I use the provided .s file instead of compiling the .i file, it again links
> successfully.  Therefore, I conclude that this is a bug in the linker (or
> possibly assembler) on your platform, and there is no bug in GCC.  This is the
> same conclusion Andrew came to, except that I actually looked at the bug.
>
> Andrew, again I need to ask you to be more polite to bug submitters.  You
> shouldn't need to be reminded of this so often!
>
>
> --
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29359
>
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug, or are watching someone who is.
> You reported the bug, or are watching the reporter.
>


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29359


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