Bug 29244 - bad relocation section name
Summary: bad relocation section name
Status: RESOLVED INVALID
Alias: None
Product: gcc
Classification: Unclassified
Component: c++ (show other bugs)
Version: 4.1.1
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-26 20:44 UTC by Jeffrey M. Birnbaum
Modified: 2006-10-05 18:18 UTC (History)
1 user (show)

See Also:
Host: linux fc5 2.6.17-1.2187_FC5
Target: x86-64 and ia32
Build: gcc version 4.1.1 20060525 (Red Hat 4.1.1-1)
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeffrey M. Birnbaum 2006-09-26 20:44:38 UTC
I continue to get the errors below when trying to link fairly straight forward C++ programs. The same code will compile/link fine with the opposite compile type (the two compile types are -O2 and -g). If I mod the code slighly, I can usually narrow it down to a single line that when commented out allows the link to occur. Can anyone tell me what the origin of this message is and why it might be generated from the linker.
/JMB
 
collect2: ld terminated with signal 11 [Segmentation fault]
/usr/bin/ld: build/ia32.linux/gcc32/cc-g/subscribeClient.o: bad
relocation section name `'

collect2: ld terminated with signal 11 [Segmentation fault]
/usr/bin/ld: build/ia32.linux/gcc32/cc-O2/publishClient.o: bad
relocation section name `'
Comment 1 Andrew Pinski 2006-09-26 20:46:46 UTC
collect2: ld terminated with signal 11 [Segmentation fault]
/usr/bin/ld: build/ia32.linux/gcc32/cc-g/subscribeClient.o: bad
relocation section name `'

This is most likely a bug in your binutils you have install.
I would first suggest you to update your FC5 and if that does not work, then report this to Redhat.
Comment 2 Jeffrey M. Birnbaum 2006-09-26 20:58:38 UTC
Subject: Re:  bad relocation section name

As I suggested in my post, I am fully updated as of one hour ago. I
reported the problem to redhat last week and never received a
response. Do you have any idea what 'bad relocation section name'
means and why it might appear?
/JMB

On 26 Sep 2006 20:46:48 -0000, pinskia at gcc dot gnu dot org
<gcc-bugzilla@gcc.gnu.org> wrote:
>
>
> ------- Comment #1 from pinskia at gcc dot gnu dot org  2006-09-26 20:46 -------
> collect2: ld terminated with signal 11 [Segmentation fault]
> /usr/bin/ld: build/ia32.linux/gcc32/cc-g/subscribeClient.o: bad
> relocation section name `'
>
> This is most likely a bug in your binutils you have install.
> I would first suggest you to update your FC5 and if that does not work, then
> report this to Redhat.
>
>
> --
>
> pinskia at gcc dot gnu dot org changed:
>
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|UNCONFIRMED                 |RESOLVED
>          Resolution|                            |INVALID
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29244
>
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>


Comment 3 Andrew Pinski 2006-10-05 18:18:41 UTC
*** Bug 29359 has been marked as a duplicate of this bug. ***