bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug report for ld


From: Vikrant
Subject: bug report for ld
Date: Thu, 13 Jun 2002 17:37:02 +0530



Dear Sir

First of all let me introduce myself. Myself  Vikrant.

When i try to compile one C++ program using gcc  3.0.4 I get the following
error in linking phase. The error is
--------------->/usr/local/bin/ld:  ./debug/m27_bof.o: warning:
unresolvable relocation against symbol  `std::basic_ios<char,
std::char_traits<char>  >::clear(std::_Ios_Iostate)' from .stab section
/usr/local/bin/ld:  ./debug/m27_bof.o: warning: unresolvable relocation
against symbol  `std::basic_ios<char, std::char_traits<char>
>::clear(std::_Ios_Iostate)' from  .gnu.linkonce.t.
_ZNSt9basic_iosIcSt11char_traitsIcEE8setstateESt12_Ios_Iostate  section
with the message "collect2: ld terminated with signal 11  [Segmentation
Fault]"

This bug is reported here in the format required by  you
ld version : GNU ld  2.11.2
Patches applied : 109148-15 ( for  Solaris 8 )
Type of machine : It's Intel  Solaris 8 machine with Sun OS 5.8
GCC version : gcc version 3.0.4  and ld version 2.11.2
Set of input files : No file is  attached  as the code is confidential. I
can not attach these  files.
The observable behavious :   In linking phase of the application when
linking m27_bof.o , the linker gives  segmentation fault with signal 11 -
and the following message is  displayed
"collect2: ld terminated with signal 11  [Segmentation Fault]
/usr/local/bin/ld: ./debug/m27_bof.o: warning:  unresolvable relocation
against symbol `std::basic_ios<char,  std::char_traits<char> >::clear(std::
_Ios_Iostate)' from .stab  section
/usr/local/bin/ld: ./debug/m27_bof.o: warning: unresolvable  relocation
against symbol `std::basic_ios<char, std::char_traits<char>  >::clear(std::
_Ios_Iostate)' from  .gnu.linkonce.t.
_ZNSt9basic_iosIcSt11char_traitsIcEE8setstateESt12_Ios_Iostate  section"

Files attached :  I am  attaching the makefile here for your reference

I really would appreciate your help in  this.

Thanks and Regards
Vikrant Gatne

Attachment: makefile
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]