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 `'


-- 
           Summary: bad relocation section name
           Product: gcc
           Version: 4.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jmbnyc at gmail dot com
 GCC build triplet: gcc version 4.1.1 20060525 (Red Hat 4.1.1-1)
  GCC host triplet: linux fc5 2.6.17-1.2187_FC5
GCC target triplet: x86-64 and ia32


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

Reply via email to