public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* RE: Problem when compiling GCC 3.0 in Solaris 2.6
@ 2001-06-20 22:38 Karthikeyan M. D
  0 siblings, 0 replies; 11+ messages in thread
From: Karthikeyan M. D @ 2001-06-20 22:38 UTC (permalink / raw)
  To: gcc-help

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] 11+ messages in thread

* Re: Problem when compiling GCC 3.0 in Solaris 2.6
  2001-06-20 20:34 Karthikeyan M. D
@ 2001-07-27  0:33 ` Alexandre Oliva
  0 siblings, 0 replies; 11+ messages in thread
From: Alexandre Oliva @ 2001-07-27  0:33 UTC (permalink / raw)
  To: Karthikeyan M. D; +Cc: gcc-help

On Jun 21, 2001, "Karthikeyan M. D" <dkarthik@wilco-int.com> wrote:

> 	          --with-gnu-as=/tmp/dkarthik/gnu/bin/as \
>                       --with-gnu-ld=/tmp/dkarthik/gnu/bin/ld

These options are wrong.  --with-gnu-as and --with-gnu-ld, without
arguments, tell GCC to assume the assembler and linker specified
--with-as=/path/to/as and --with-as=/path/to/ld are GNU as and ld,
respectively.

-- 
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] 11+ messages in thread

* RE: Problem when compiling GCC 3.0 in Solaris 2.6
@ 2001-06-20 20:34 Karthikeyan M. D
  2001-07-27  0:33 ` Alexandre Oliva
  0 siblings, 1 reply; 11+ messages in thread
From: Karthikeyan M. D @ 2001-06-20 20:34 UTC (permalink / raw)
  To: gcc-help

Hi,
	Thanks again for the reply. I did use the binutils-2.11.1 for
building GCC 3.0. The configuration options that I have given are as
follows, also I modified the configure.in of GCC 3.0, so that all the
languages are enabled.

% 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

and got the following error.

/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
collect2: ld returned 1 exit status
make[3]: *** [libgcc_s.so] Error 1
make[3]: *** Waiting for unfinished jobs....

Earlier I have configured binutils-2.11.1, without any specific option,

% configure --prefix=/tmp/dkarthik/gnu \
	       --enable-shared

and rest everything went through fine for binutils.

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] 11+ messages in thread

* Re: Problem when compiling GCC 3.0 in Solaris 2.6
  2001-06-20 10:42   ` Guilherme Ottoni
@ 2001-06-20 19:29     ` Alexandre Oliva
  0 siblings, 0 replies; 11+ messages in thread
From: Alexandre Oliva @ 2001-06-20 19:29 UTC (permalink / raw)
  To: Guilherme Ottoni; +Cc: gcc-help

On Jun 20, 2001, Guilherme Ottoni <ottoni@ic.unicamp.br> wrote:

> Alexandre Oliva wrote:
>> 
>> I suppose this is GNU ld.  From which version of binutils is it?
>> 2.11.1 is the recommended version.

> And what is the "recommended version" of binutils and gcc for compiling
> the current development version of GCC (3.1), in the Linux environment? 

The same: 2.11.2 (it's 2.11.1+some fixes for packaging issues).

-- 
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] 11+ messages in thread

* Re: Problem when compiling GCC 3.0 in Solaris 2.6
  2001-06-19  2:42 Karthikeyan M. D
@ 2001-06-20 13:43 ` Alexandre Oliva
  0 siblings, 0 replies; 11+ messages in thread
From: Alexandre Oliva @ 2001-06-20 13:43 UTC (permalink / raw)
  To: Karthikeyan M. D; +Cc: gcc-help

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] 11+ messages in thread

* Re: Problem when compiling GCC 3.0 in Solaris 2.6
  2001-06-19  5:55 ` Alexandre Oliva
  2001-06-20 10:42   ` Guilherme Ottoni
@ 2001-06-20 12:35   ` Guilherme Ottoni
  1 sibling, 0 replies; 11+ messages in thread
From: Guilherme Ottoni @ 2001-06-20 12:35 UTC (permalink / raw)
  To: gcc-help

Alexandre Oliva wrote:
> 
> I suppose this is GNU ld.  From which version of binutils is it?
> 2.11.1 is the recommended version.

And what is the "recommended version" of binutils and gcc for compiling
the current development version of GCC (3.1), in the Linux environment? 

I'm facing some problems trying it, running gcc 2.96 and binutils
2.10.90 (I think it's this; this is the ld version).

Thanks,

--
Guilherme Ottoni
CS MSc Student
IC-Unicamp / Brazil
http://www.ic.unicamp.br/~ottoni
-----------------------------------------
The Xingo Project
Code Optimization for Embedded Systems
An Open Software Initiative of IC-UNICAMP
-----------------------------------------

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Problem when compiling GCC 3.0 in Solaris 2.6
  2001-06-19  5:55 ` Alexandre Oliva
@ 2001-06-20 10:42   ` Guilherme Ottoni
  2001-06-20 19:29     ` Alexandre Oliva
  2001-06-20 12:35   ` Guilherme Ottoni
  1 sibling, 1 reply; 11+ messages in thread
From: Guilherme Ottoni @ 2001-06-20 10:42 UTC (permalink / raw)
  To: gcc-help

Alexandre Oliva wrote:
> 
> I suppose this is GNU ld.  From which version of binutils is it?
> 2.11.1 is the recommended version.

And what is the "recommended version" of binutils and gcc for compiling
the current development version of GCC (3.1), in the Linux environment? 

I'm facing some problems trying it, running gcc 2.96 and binutils
2.10.90 (I think it's this; this is the ld version).

Thanks,

--
Guilherme Ottoni
CS MSc Student
IC-Unicamp / Brazil
http://www.ic.unicamp.br/~ottoni
-----------------------------------------
The Xingo Project
Code Optimization for Embedded Systems
An Open Software Initiative of IC-UNICAMP
-----------------------------------------

^ permalink raw reply	[flat|nested] 11+ messages in thread

* RE: Problem when compiling GCC 3.0 in Solaris 2.6
@ 2001-06-19  7:20 Karthikeyan M. D
  0 siblings, 0 replies; 11+ messages in thread
From: Karthikeyan M. D @ 2001-06-19  7:20 UTC (permalink / raw)
  To: gcc-help

Hi,
	Thanks for the info, but still am getting the same error when I
tried building the GCC 3.0 with binutils 2.11.1.

Thanks and Regards,
Karthik

./xgcc -B./ -B/tmp/dkarthik/gnu/sparc-sun-solaris2.6/bin/ -isystem
/tmp/dkarthik/gnu/sparc-sun-solaris2.6/include -O2   -DIN_GCC  -DSVR4  -W
-Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem
./include  -fPIC -g1 -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED  -shared -nodefaultlibs -Wl,-h,libgcc_s.so.1
-Wl,-z,text -Wl,-z,defs -Wl,-M,libgcc.map -o libgcc_s.so
libgcc/./_muldi3.o libgcc/./_divdi3.o libgcc/./_moddi3.o libgcc/./_udivdi3.o
libgcc/./_umoddi3.o libgcc/./_negdi2.o libgcc/./_lshrdi3.o
libgcc/./_ashldi3.o libgcc/./_ashrdi3.o libgcc/./_ffsdi2.o libgcc/./_clz.o
libgcc/./_udiv_w_sdiv.o libgcc/./_udivmoddi4.o libgcc/./_cmpdi2.o
libgcc/./_ucmpdi2.o libgcc/./_floatdidf.o libgcc/./_floatdisf.o
libgcc/./_fixunsdfsi.o libgcc/./_fixunssfsi.o libgcc/./_fixunsdfdi.o
libgcc/./_fixdfdi.o libgcc/./_fixunssfdi.o libgcc/./_fixsfdi.o
libgcc/./_fixxfdi.o libgcc/./_fixunsxfdi.o libgcc/./_floatdixf.o
libgcc/./_fixunsxfsi.o libgcc/./_fixtfdi.o libgcc/./_fixunstfdi.o
libgcc/./_floatditf.o libgcc/./_clear_cache.o libgcc/./_trampoline.o
libgcc/./__main.o libgcc/./_exit.o libgcc/./_absvsi2.o libgcc/./_absvdi2.o
libgcc/./_addvsi3.o libgcc/./_addvdi3.o libgcc/./_subvsi3.o
libgcc/./_subvdi3.o libgcc/./_mulvsi3.o libgcc/./_mulvdi3.o
libgcc/./_negvsi2.o libgcc/./_negvdi2.o libgcc/./_ctors.o
libgcc/./unwind-dw2.o libgcc/./unwind-dw2-fde.o libgcc/./unwind-sjlj.o -lc
&& rm -f libgcc_s.so.1 && ln -s libgcc_s.so libgcc_s.so.1
/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
collect2: ld returned 1 exit status
make[3]: *** [libgcc_s.so] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/tmp/dkarthik/new/gcc-3.0/_objdir_/gcc'
make[2]: *** [libgcc.a] Error 2
make[2]: Leaving directory `/tmp/dkarthik/new/gcc-3.0/_objdir_/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/tmp/dkarthik/new/gcc-3.0/_objdir_/gcc'
make: *** [bootstrap] Error 2


________________________________________________
Karthikeyan M D		* +91-40-340 8600 x8422

> -----Original Message-----
> From:	Alexandre Oliva [SMTP:aoliva@redhat.com]
> Sent:	Tuesday, June 19, 2001 18:25
> 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
> > collect2: ld returned 1 exit status
> 
> I suppose this is GNU ld.  From which version of binutils is it?
> 2.11.1 is the recommended 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] 11+ messages in thread

* Re: Problem when compiling GCC 3.0 in Solaris 2.6
  2001-06-18 23:21 Karthikeyan M. D
@ 2001-06-19  5:55 ` Alexandre Oliva
  2001-06-20 10:42   ` Guilherme Ottoni
  2001-06-20 12:35   ` Guilherme Ottoni
  0 siblings, 2 replies; 11+ messages in thread
From: Alexandre Oliva @ 2001-06-19  5:55 UTC (permalink / raw)
  To: Karthikeyan M. D; +Cc: gcc-help

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
> collect2: ld returned 1 exit status

I suppose this is GNU ld.  From which version of binutils is it?
2.11.1 is the recommended 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] 11+ messages in thread

* RE: Problem when compiling GCC 3.0 in Solaris 2.6
@ 2001-06-19  2:42 Karthikeyan M. D
  2001-06-20 13:43 ` Alexandre Oliva
  0 siblings, 1 reply; 11+ messages in thread
From: Karthikeyan M. D @ 2001-06-19  2:42 UTC (permalink / raw)
  To: gcc-help

Hi Again,
	The problem is not exactly with the libgcj, I even couldn't build
the normal c/c++ compiler from gcc 3.0 source for sparc-sun-solaris2.6 in an
Ultra 60 machine. It gives me the following error in all the cases. I tried
compiling with gnu as,ld (binutils 2.11) and also tried with native linker
and assembler. In either case am getting the following error, but I am able
to build the compiler from gcc 2.95.3 sources for both kind of linkers and
assemblers. Any help would be highly appreciable. 

./xgcc -B./ -B/tmp/dkarthik/gnu/sparc-sun-solaris2.6/bin/ -isystem
/tmp/dkarthik/gnu/sparc-sun-solaris2.6/include -O2   -DIN_GCC  -DSVR4  -W
-Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem
./include  -fPIC -g1 -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED  -shared -nodefaultlibs -Wl,-h,libgcc_s.so.1
-Wl,-z,text -Wl,-z,defs -Wl,-M,libgcc.map -o libgcc_s.so
libgcc/./_muldi3.o libgcc/./_divdi3.o libgcc/./_moddi3.o libgcc/./_udivdi3.o
libgcc/./_umoddi3.o libgcc/./_negdi2.o libgcc/./_lshrdi3.o
libgcc/./_ashldi3.o libgcc/./_ashrdi3.o libgcc/./_ffsdi2.o libgcc/./_clz.o
libgcc/./_udiv_w_sdiv.o libgcc/./_udivmoddi4.o libgcc/./_cmpdi2.o
libgcc/./_ucmpdi2.o libgcc/./_floatdidf.o libgcc/./_floatdisf.o
libgcc/./_fixunsdfsi.o libgcc/./_fixunssfsi.o libgcc/./_fixunsdfdi.o
libgcc/./_fixdfdi.o libgcc/./_fixunssfdi.o libgcc/./_fixsfdi.o
libgcc/./_fixxfdi.o libgcc/./_fixunsxfdi.o libgcc/./_floatdixf.o
libgcc/./_fixunsxfsi.o libgcc/./_fixtfdi.o libgcc/./_fixunstfdi.o
libgcc/./_floatditf.o libgcc/./_clear_cache.o libgcc/./_trampoline.o
libgcc/./__main.o libgcc/./_exit.o libgcc/./_absvsi2.o libgcc/./_absvdi2.o
libgcc/./_addvsi3.o libgcc/./_addvdi3.o libgcc/./_subvsi3.o
libgcc/./_subvdi3.o libgcc/./_mulvsi3.o libgcc/./_mulvdi3.o
libgcc/./_negvsi2.o libgcc/./_negvdi2.o libgcc/./_ctors.o
libgcc/./unwind-dw2.o libgcc/./unwind-dw2-fde.o libgcc/./unwind-sjlj.o -lc
&& rm -f libgcc_s.so.1 && ln -s libgcc_s.so libgcc_s.so.1
/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
collect2: ld returned 1 exit status
make[3]: *** [libgcc_s.so] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/tmp/dkarthik/new/gcc-3.0/_objdir_/gcc'
make[2]: *** [libgcc.a] Error 2
make[2]: Leaving directory `/tmp/dkarthik/new/gcc-3.0/_objdir_/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/tmp/dkarthik/new/gcc-3.0/_objdir_/gcc'
make: *** [bootstrap] Error 2

Thanks and Regards,
Karthik

________________________________________________
Karthikeyan M D		* +91-40-340 8600 x8422

> -----Original Message-----
> From:	Karthikeyan M. D 
> Sent:	Tuesday, June 19, 2001 11:47
> To:	'gcc-help@gcc.gnu.org'
> Subject:	Problem when compiling GCC 3.0 in Solaris 2.6
> 
> Hi,
> 	When I tried to compile GCC 3.0 in Sparc Solaris 2.6 (Ultra 60) with
> all languages support (including libgcj), I get the following error,
> 
> /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
> collect2: ld returned 1 exit status
> make[3]: *** [libgcc_s.so] Error 1
> make[3]: *** Waiting for unfinished jobs....
> make[3]: Leaving directory `/tmp/dkarthik/new/gcc-3.0/_objdir_/gcc'
> make[2]: *** [libgcc.a] Error 2
> make[2]: Leaving directory `/tmp/dkarthik/new/gcc-3.0/_objdir_/gcc'
> make[1]: *** [stage1_build] Error 2
> make[1]: Leaving directory `/tmp/dkarthik/new/gcc-3.0/_objdir_/gcc'
> make: *** [bootstrap] Error 2
> 
> I understand the error is while compiling the libgcj,  but I remember I
> have read somewhere that libgcj will compile smoothly in GCC 3.0. Any
> clues ?
> 
> Thanks and Regards,
> Karthik
> ________________________________________________
> Karthikeyan M D		* +91-40-340 8600 x8422
> 

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Problem when compiling GCC 3.0 in Solaris 2.6
@ 2001-06-18 23:21 Karthikeyan M. D
  2001-06-19  5:55 ` Alexandre Oliva
  0 siblings, 1 reply; 11+ messages in thread
From: Karthikeyan M. D @ 2001-06-18 23:21 UTC (permalink / raw)
  To: gcc-help

Hi,
	When I tried to compile GCC 3.0 in Sparc Solaris 2.6 (Ultra 60) with
all languages support (including libgcj), I get the following error,

/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
collect2: ld returned 1 exit status
make[3]: *** [libgcc_s.so] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/tmp/dkarthik/new/gcc-3.0/_objdir_/gcc'
make[2]: *** [libgcc.a] Error 2
make[2]: Leaving directory `/tmp/dkarthik/new/gcc-3.0/_objdir_/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/tmp/dkarthik/new/gcc-3.0/_objdir_/gcc'
make: *** [bootstrap] Error 2

I understand the error is while compiling the libgcj,  but I remember I have
read somewhere that libgcj will compile smoothly in GCC 3.0. Any clues ?

Thanks and Regards,
Karthik
________________________________________________
Karthikeyan M D		* +91-40-340 8600 x8422

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2001-07-27  0:33 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-20 22:38 Problem when compiling GCC 3.0 in Solaris 2.6 Karthikeyan M. D
  -- strict thread matches above, loose matches on Subject: below --
2001-06-20 20:34 Karthikeyan M. D
2001-07-27  0:33 ` Alexandre Oliva
2001-06-19  7:20 Karthikeyan M. D
2001-06-19  2:42 Karthikeyan M. D
2001-06-20 13:43 ` Alexandre Oliva
2001-06-18 23:21 Karthikeyan M. D
2001-06-19  5:55 ` Alexandre Oliva
2001-06-20 10:42   ` Guilherme Ottoni
2001-06-20 19:29     ` Alexandre Oliva
2001-06-20 12:35   ` Guilherme Ottoni

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).