Article View: gnu.gcc.help
Article #52793making gcc 2.1 on Irix 4.0.1
From: Paul Allen,stehekin
Date: Thu, 21 May 1992 23:57
Date: Thu, 21 May 1992 23:57
57 lines
3229 bytes
3229 bytes
We're trying to build gcc 2.1 on a 4D/320 running Irix 4.0.1 and are having
some difficulties. We configured for mips-sgi, and it gets down to
mips-tfile.c before bombing. The make output is:
> cc -Wf,-XNg1500 -c -O1 -g -I. -I. -I./config mips-tfile.c
>accom: Error: /usr/include/errno.h, line 47: Qualifier mismatch in prototype, pointer to const char versus pointer to char
> extern void perror( char *);
> ---------------------------------^
>accom: Error: /usr/include/errno.h, line 47: inconsistent prototypes for function perror
> extern void perror( char *);
> ---------------------------------^
>accom: Warning 100: mips-tfile.c, line 4978: statement not reached
> return 0;
> ----------^
>*** Error code 1
When we configure for mips-sgi-irix4, it blows up on the first source file.
Here's the full make output:
>mckenzie:88#./configure --host=mips-sgi-irix4 --target=mips-sgi-irix4
>Linked `config.h' to `./config/xm-irix4.h'
>Linked `tm.h' to `./config/iris.h'
>Linked `md' to `./config/mips.md'
>Linked `aux-output.c' to `./config/mips.c'
>Linked `tconfig.h' to `./config/xm-irix4.h'
>Merged x-iris.
>Merged t-mips.
>Created `Makefile'.
>Links are now set up for target mips-sgi-irix4.
>mckenzie:89#make LANGUAGES=c
> cc -Wf,-XNg1500 -O1 -g -I. -I. -I./config \
> -DGCC_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/mips-sgi-irix4/`awk '{printf "%s", substr ($4, 2, length ($4) - 3); }' ./version.c`/include\" \
> -DGPLUSPLUS_INCLUDE_DIR=\"/usr/local/lib/g++-include\" \
> -DLOCAL_INCLUDE_DIR=\"/usr/local/include\" \
> -DCROSS_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/mips-sgi-irix4/`awk '{printf "%s", substr ($4, 2, length ($4) - 3); }' ./version.c`/sys-include\" \
> -c `echo ./cccp.c | sed 's,^\./,,'`
>accom: Warning 100: cccp.c, line 5702: statement not reached
> return 0;
> ----------^
>accom: Warning 100: cccp.c, line 7607: statement not reached
> return 0;
> ----------^
>Found Uaos u-code in unexpected spot. Perhaps value returned from alloca(3) was not assigned to simple variable. (See alloca man page)
>ugen: internal : at your source line 3969 : (ugen internal file build.p, line 1395)
> Cannot continue
>*** Error code 1
>
>Stop.
>mckenzie:90#
Does anyone have any suggestions? We're about out of ideas here. :-)
Paul Allen
------------------------------------------------------------------------
Paul L. Allen | pallen@atc.boeing.com
Boeing Advanced Technology Center | ...!uw-beaver!bcsaic!pallen
Technical Details
Message-ID:
<73617@bcsaic.UUCP>Path:
arc1-ca.pugleaf.net!sparky!uunet!bcstec!bcsaic!wishkah!paulaShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,450285c33e16e08c,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1992-05-21 21:44:32 PST Path: arc1-ca.pugleaf.net!sparky!uunet!bcstec!bcsaic!wishkah!paula From: paula@atc.boeing.com (Paul Allen,stehekin) Newsgroups: gnu.gcc.help Subject: making gcc 2.1 on Irix 4.0.1 Message-ID: <73617@bcsaic.UUCP> Date: 21 May 92 23:57:28 GMT Sender: nntp@bcsaic.UUCP Reply-To: paula@atc.boeing.com Organization: Boeing Computer Services Lines: 57