egcs-970901, sparc-sun-solaris2.5 problem with sys_siglist ...

Oleg Krivosheev kriol@fnal.gov
Tue Sep 2 21:46:00 GMT 1997


On Tue, 2 Sep 1997, Jeffrey A Law wrote:

> Date: Tue, 02 Sep 1997 15:17:27 -0600
> From: Jeffrey A Law <law@hurl.cygnus.com>
> Reply-To: law@cygnus.com
> To: "Kaveh R. Ghazi" <ghazi@caip.rutgers.edu>
> Cc: egcs@cygnus.com
> Subject: Re: egcs-970901, sparc-sun-solaris2.5 problem with sys_siglist ...
> 
> 
>   In message < 199709021928.PAA29297@caip.rutgers.edu >you write:
>   > 	I had trouble bootstrapping egcs-970901 on sparc-sun-solaris2.5
>   > (using cc for stage1.) Though it may happen for all svr4 hosts (see
>   > below.)
>   > 
>   > 	The problem is that configure decides sys_siglist does not
>   > exist, then during the build, config/xm-svr4.h defines sys_siglist to
>   > _sys_siglist (which does exist.)  When compiling collect2.c I get:
> Ah.  OK.  I'll come up with a patch for this.
> 

hi,

i've got exactly the same problem (modulo CC=gcc, not cc)

gcc  -DIN_GCC  -DSVR4  -O3 -mv8 -pipe -g   -DHAVE_CONFIG_H -DHAIFA    -I.
-I. -I./config  \
-DTARGET_MACHINE=\"sparc-sun-solaris2.5.1\"  \
-c `echo ./collect2.c | sed 's,^\./,,'`
collect2.c:213: conflicting types for `_sys_siglistp'
/home/room1/kriol/local/lib/gcc-lib/sparc-sun-solaris2.5.1/egcs-2.90.04/include/signal.h:25:
previous declaration of `_sys_siglistp'
make[1]: *** [collect2.o] Error 1

after commenting out sys_siglistp in collect2.c compilation
continues till next error

make[1]: Entering directory
`/home/room1/kriol/egcs-970901/libraries/libiberty'
cp xconfig.h config.tmp
/bin/sh ./../move-if-change config.tmp config.h
./../move-if-change: ./../move-if-change: cannot open
make[1]: *** [stamp-config] Error 1
cp xneeded-list needed-tmp
/bin/sh ./../move-if-change needed-tmp needed-list
./../move-if-change: ./../move-if-change: cannot open
make[1]: *** [stamp-needed] Error 1
make[1]: Target `all' not remade because of errors.


well, i went into libraries/libiberty
and changed $(srcdir)/../move-if-change into
$(srcdir)/../../move-if-change in the Makefile

only after that compilation succeded.

regards

OK




More information about the Gcc mailing list