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 `'
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.
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. >
*** Bug 29359 has been marked as a duplicate of this bug. ***