This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gcc-3.0 release compile error on solaris 8


The problem is that the native assembler (/usr/ccs/bin/as) doesn't
recognize some of emitted code.  You're suppose to use GNU's as.  You need 
to pass to configure "--with-gnu-as=<path to GNU's as>" or something like
that.  Take a look at "configure --help" to get the specifics.  You can
get GNU's as from binutils-<recent version> at ftp.gnu.org or one of the
mirrors.

I'm not sure how robust or stable GNU's as is on Solaris x86.  Someone
on this list can probably comment on that though.

-ml


On Thu, 21 Jun 2001, vergence wrote:

> I configured with following option.
> and I got error message.
> 
> The source is gcc-3.0 release.
> and os is solaris 8 for x86
> 
> It's really hard to compile gcc for me...
> 
> please help.
> 
> ../configure --prefix=/export/home/imyaman/local --enable-shared
> --enable-threads=posix --enable-languages=java,objc --enable-libgcj
> --enable-nls --with-gnu-as --with-gnu-ld
> 
>  -I../../gcc/. -I../../gcc/config -I../../gcc/../include -fexceptions -c
> ../../g
> cc/unwind-dw2.c -o libgcc/./unwind-dw2.o
> ../../gcc/unwind-dw2.c: In function `extract_cie_info':
> ../../gcc/unwind-dw2.c:219: warning: implicit declaration of function
> `strlen'
> ../../gcc/unwind-dw2.c: In function `execute_stack_op':
> ../../gcc/unwind-dw2.c:300: warning: `result' might be used uninitialized
> in thi
> s function
> ../../gcc/unwind-dw2.c: In function `execute_cfa_program':
> ../../gcc/unwind-dw2.c:775: warning: implicit declaration of function
> `alloca'
> ../../gcc/unwind-dw2.c: In function `uw_frame_state_for':
> ../../gcc/unwind-dw2.c:886: warning: implicit declaration of function
> `memset'
> ../../gcc/unwind-dw2.c: In function `uw_install_context_1':
> ../../gcc/unwind-dw2.c:1088: warning: missing braces around initializer
> ../../gcc/unwind-dw2.c:1088: warning: (near initialization for
> `once_regsizes.__
> pthread_once_pad')
> ../../gcc/unwind-dw2.c:1103: warning: implicit declaration of function
> `memcpy'
> Assembler: unwind-dw2.c
>         "/var/tmp/ccdYripU.s", line 4266 : Illegal subtraction
>         "/var/tmp/ccdYripU.s", line 4289 : Illegal subtraction
>         "/var/tmp/ccdYripU.s", line 4320 : Illegal subtraction
>         "/var/tmp/ccdYripU.s", line 4347 : Illegal subtraction
>         "/var/tmp/ccdYripU.s", line 4384 : Illegal subtraction
>         "/var/tmp/ccdYripU.s", line 4427 : Illegal subtraction
>         "/var/tmp/ccdYripU.s", line 4470 : Illegal subtraction
>         "/var/tmp/ccdYripU.s", line 4509 : Illegal subtraction
>         "/var/tmp/ccdYripU.s", line 4544 : Illegal subtraction
>         "/var/tmp/ccdYripU.s", line 4573 : Illegal subtraction
>         "/var/tmp/ccdYripU.s", line 4608 : Illegal subtraction
>         "/var/tmp/ccdYripU.s", line 4639 : Illegal subtraction
>         "/var/tmp/ccdYripU.s", line 4682 : Illegal subtraction
>         "/var/tmp/ccdYripU.s", line 4725 : Illegal subtraction
>         "/var/tmp/ccdYripU.s", line 4762 : Illegal subtraction
>         "/var/tmp/ccdYripU.s", line 4797 : Illegal subtraction
>         "/var/tmp/ccdYripU.s", line 4836 : Illegal subtraction
> make[3]: *** [libgcc/./unwind-dw2.o] Error 1
> make[3]: Leaving directory `/export/home/imyaman/tmp/gcc-3.0/vvo/gcc'
> make[2]: *** [libgcc.a] Error 2
> make[2]: Leaving directory `/export/home/imyaman/tmp/gcc-3.0/vvo/gcc'
> make[1]: *** [stage1_build] Error 2
> make[1]: Leaving directory `/export/home/imyaman/tmp/gcc-3.0/vvo/gcc'
> make: *** [bootstrap] Error 2
> 
> 
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]