* RE: Problem when compiling GCC 3.0 in Solaris 2.6 - Solved
@ 2001-06-21 23:09 Karthikeyan M. D
0 siblings, 0 replies; only message in thread
From: Karthikeyan M. D @ 2001-06-21 23:09 UTC (permalink / raw)
To: gcc-help
Hi,
The problem in building GCC 3.0 in Sparc Solaris 2.6 is solved.
Earlier I used to give the configuration option like this ..
% mkdir _objdir_
% cd _objdir_
% ../configure --prefix=/tmp/dkarthik/gnu \
--enable-shared \
--enable-threads=posix \
--enable-languages=all \
--with-gnu-as=/tmp/dkarthik/gnu/bin/as \
--with-gnu-ld=/tmp/dkarthik/gnu/bin/ld
% make -j 2 bootstrap
I have installed binutils-2.11.1 in /tmp/dkarthik/gnu, but it repeatedly
failed due to linker error, It worked smoothly, when I gave the
configuration option as follows ..
% mkdir build-dir
% cd build-dir
% ../configure --prefix=/tmp/dkarthik/gcc \
--enable-shared \
--enable-threads=posix \
--enable-languages=all \
--with-gnu-as \
--with-as=/tmp/dkarthik/gnu/bin/as \
--with-gnu-ld \
--with-ld=/tmp/dkarthik/gnu/bin/ld
% make -j 2 bootstrap
Thanks for all your replies to my query.
Regards,
Karthik
________________________________________________
Karthikeyan M D * +91-40-340 8600 x8422
> -----Original Message-----
> From: Karthikeyan M. D
> Sent: Thursday, June 21, 2001 11:04
> To: 'gcc-help@gcc.gnu.org'
> Subject: RE: Problem when compiling GCC 3.0 in Solaris 2.6
>
> 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-06-21 23:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-21 23:09 Problem when compiling GCC 3.0 in Solaris 2.6 - Solved Karthikeyan M. D
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).