This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: Problem when compiling GCC 3.0 in Solaris 2.6
- To: gcc-help at gcc dot gnu dot org
- Subject: RE: Problem when compiling GCC 3.0 in Solaris 2.6
- From: "Karthikeyan M. D" <dkarthik at wilco-int dot com>
- Date: Thu, 21 Jun 2001 11:06:14 +0530
Hi,
When building GCC 3.0 in sparc-sun-solaris2.6 machine, the linker
(GNU binutils 2.11.1) reports a unknown file format against the file
libgcc.map. The contents of libgcc.map are as follows. Is it the file it
suppose to be ?
GCC_3.0 {
global:
_Unwind_GetDataRelBase;
__register_frame_table;
__ucmpdi2;
__addvsi3;
_Unwind_GetTextRelBase;
_Unwind_GetLanguageSpecificData;
__fixunssfdi;
__floatdidf;
__register_frame_info_bases;
__deregister_frame_info;
_Unwind_DeleteException;
__subvdi3;
_Unwind_GetRegionStart;
_Unwind_Resume;
__clear_cache;
__negvsi2;
__cmpdi2;
__ashldi3;
__deregister_frame_info_bases;
__register_frame_info_table;
__absvsi2;
__register_frame_info_table_bases;
_Unwind_Find_FDE;
__ffsdi2;
_Unwind_ForcedUnwind;
_Unwind_GetGR;
__subvsi3;
__register_frame_info;
__ashrdi3;
_Unwind_GetIP;
__floatditf;
__lshrdi3;
__mulvdi3;
__muldi3;
__udivdi3;
__udivmoddi4;
__umoddi3;
__divdi3;
__addvdi3;
__moddi3;
_Unwind_RaiseException;
__negvdi2;
__mulvsi3;
__fixtfdi;
__fixdfdi;
__fixunsdfsi;
__deregister_frame;
_Unwind_SetGR;
__negdi2;
__fixsfdi;
__fixunstfdi;
__register_frame;
_Unwind_SetIP;
__fixunssfsi;
__floatdisf;
__fixunsdfdi;
__absvdi2;
local:
*;
};
Thanks and Regards,
Karthik
________________________________________________
Karthikeyan M D * +91-40-340 8600 x8422
> -----Original Message-----
> From: Alexandre Oliva [SMTP:aoliva@redhat.com]
> Sent: Thursday, June 21, 2001 2:14
> To: Karthikeyan M. D
> Cc: gcc-help@gcc.gnu.org
> Subject: Re: Problem when compiling GCC 3.0 in Solaris 2.6
>
> On Jun 19, 2001, "Karthikeyan M. D" <dkarthik@wilco-int.com> wrote:
>
> > /tmp/dkarthik/gnu/sparc-sun-solaris2.6/bin/ld:libgcc.map: file format
> not
> > recognized; treating as linker script
> > /tmp/dkarthik/gnu/sparc-sun-solaris2.6/bin/ld:libgcc.map:1: parse error
>
> What's there in this file? Are you 100% sure GCC is using GNU ld
> 2.11.1 (try /tmp/dkarthik/gnu/sparc-sun-solaris2.6/bin/ld --version)
>
> --
> Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
> Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
> CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
> Free Software Evangelist *Please* write to mailing lists, not to me