This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Problems building egcs-1.1.2 on SNI Reliant UNIX 5.43
- To: "Koundinya.K" <kk at ddeorg dot soft dot net>
- Subject: Re: Problems building egcs-1.1.2 on SNI Reliant UNIX 5.43
- From: "Charlton Barreto" <cbarreto at inprise dot com>
- Date: Mon, 02 Aug 1999 10:44:13 -0700
- CC: gnu-help at gcc dot gnu dot org, egcs-bugs at egcs dot cygnus dot com
- Organization: Inprise Corporation
- References: <199908020529.KAA01582@madras.ddeorg.soft.net>
Hi,
I have attempted using both the GNU as and ld and the native ones. I
have run a number of configurations and none have succeeded. What I am
interested in is in finding someone who has a working configuration, and
getting the details on that. In any case here are the details w.r.t. my
configuration (beyond what I have already posted):
native
------
ernst% /opt/CDS++/bin/cc -V
CDS++ Version 01.0C32
Copyright (C) Siemens Nixdorf Informationssysteme AG 1993-96.
All rights reserved.
cc: SNI: CDS++ V1.0C3200, 1.2.1.4 from 16 Dec 1997
cc: [fatal]: CDR9981 missing files
ernst% c89
-V
CDS++ Version
01.0C32
Copyright (C) Siemens Nixdorf Informationssysteme AG
1993-96.
All rights
reserved.
c89: SNI: CDS++ V1.0C3200, 1.2.1.4 from 16 Dec
1997
c89: [fatal]: CDR9981 missing
files
ernst% as -V
CDS++ Version 01.0C32
Copyright (C) Siemens Nixdorf Informationssysteme AG 1993-96.
All rights reserved.
cc: SNI: CDS++ V1.0C3200, 1.2.1.4 from 16 Dec 1997
cc: [fatal]: CDR9981 missing files
Using the native tools results in failures such as:
ernst% ld -V
ld: C Development Set (CDS) 5.0 09/26/89
[using /opt/CDS++/bin/cc with /opt/CDS++/bin/ld and /opt/CDS++/bin/as]
../../../egcs-1.1.2/gcc/tree.c 4843: [error]: CFE1140 too many
arguments in function call
gettimeofday (&tv, NULL);
^
gmake[2]: *** [tree.o] Error 1
gmake[2]: Leaving directory
`/home/cbarreto/staging/ReliantUnix_5.43/egcs-1.1.2/gcc'
gmake[1]: *** [bootstrap] Error 2
gmake[1]: Leaving directory
`/home/cbarreto/staging/ReliantUnix_5.43/egcs-1.1.2/gcc'
gmake: *** [bootstrap] Error 2
ernst%
[using /usr/bin/c89 with /usr/ccs/bin/ld and /usr/bin/as]
ernst% which ld
/usr/ccs/bin/ld
ernst% ld -V
ld: C Development Set (CDS) 5.0 09/26/89
ernst% which as
/usr/bin/as
ernst% as -V
CDS++ Version 01.0C32
Copyright (C) Siemens Nixdorf Informationssysteme AG 1993-96.
All rights reserved.
cc: SNI: CDS++ V1.0C3200, 1.2.1.4 from 16 Dec 1997
cc: [fatal]: CDR9981 missing files
stage1/xgcc -Bstage1/ -DIN_GCC -DNO_SYS_SIGLIST -O2 -g
-DHAVE_CONFIG_H -o gencodes \
gencodes.o rtl.o bitmap.o print-rtl.o ` case "obstack.o" in ?*) echo
obstack.o ;; esac ` ` case "alloca.o" in ?*) echo alloca.o ;; esac ` `
case "" in ?*) echo ;; esac ` ` case "" in ?*) echo ;; esac ` ` case
"" in ?*) echo ;; esac `
./gencodes ../../../egcs-1.1.2/gcc/config/mips/mips.md > tmp-codes.h
Bus Error - core dumped
gmake[2]: *** [s-codes] Error 138
gmake[2]: Leaving directory
`/home/cbarreto/staging/ReliantUnix_5.43/egcs-1.1.2/gcc'
gmake[1]: *** [bootstrap] Error 2
gmake[1]: Leaving directory
`/home/cbarreto/staging/ReliantUnix_5.43/egcs-1.1.2/gcc'
gmake: *** [bootstrap] Error 2
GNU
---
ernst% gcc -v
gcc version 2.7.2
ernst% as -v
GNU assembler version 990729 (mips-sni-sysv4) using BFD version 990729
ernst% ld -V
GNU ld version 2.9.5 (with BFD 990729)
Supported emulations:
elf32bsmip
Using the GNU tools results in failures such as:
ernst% ld -V
GNU ld version 2.9.5 (with BFD 990729)
Supported emulations:
elf32bsmip
ernst% as -v
GNU assembler version 990729 (mips-sni-sysv4) using BFD version 990729
[using gcc with GNU as and ld]
ernst% ../../egcs-1.1.2/configure --with-gnu-cc --with-gnu-as
--with-gnu-ld
Configuring for a mips-sni-sysv4 host.
Created "Makefile" in /home/cbarreto/staging/ReliantUnix_5.43/egcs-1.1.2
using "mh-frag"
/home/cbarreto/bin/reliantunix/bin/ld: final link failed: Memory
exhausted
collect2: ld returned 1 exit status
*** The command 'gcc -o conftest -g -O2 conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
ernst% ld -V
ld: C Development Set (CDS) 5.0 09/26/89
ernst% as -V
CDS++ Version 01.0C32
Copyright (C) Siemens Nixdorf Informationssysteme AG 1993-96.
All rights reserved.
cc: SNI: CDS++ V1.0C3200, 1.2.1.4 from 16 Dec 1997
cc: [fatal]: CDR9981 missing files
[Using gcc with /opt/CDS++/bin/ld and /opt/CDS++/bin/as]
(lots of similar assembler errors...)
.4byte 0x0
as0: Error: ../../../egcs-1.1.2/gcc/cccp.c, line 1:malformed statement
as0: Error: ../../../egcs-1.1.2/gcc/cccp.c, line 1:undefined assembler
operation: .previous
.previous
gmake[2]: *** [cccp.o] Error 1
gmake[2]: Leaving directory
`/home/cbarreto/staging/ReliantUnix_5.43/egcs-1.1.2/gcc'
gmake[1]: *** [bootstrap] Error 2
gmake[1]: Leaving directory
`/home/cbarreto/staging/ReliantUnix_5.43/egcs-1.1.2/gcc'
gmake: *** [bootstrap] Error 2
[using gcc with /opt/CDS++/bin/ld and gas]
ernst% ../../egcs-1.1.2/configure --with-gnu-cc --with-gnu-as
Configuring for a mips-sni-sysv4 host.
Created "Makefile" in /home/cbarreto/staging/ReliantUnix_5.43/egcs-1.1.2
using "mh-frag"
ld: /tmp/cchsDZrK.o: warning: unknown section type 0x7000001e
ld: /tmp/cchsDZrK.o: warning: unknown section type 0x7000001e
ld: /tmp/cchsDZrK.o: fatal error: illegal section type for map file
structure
collect2: ld returned 1 exit status
*** The command 'gcc -o conftest -g -O2 conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
As you can see, this is a bit frustrating - especially when several of
these issues have been posted to gnu-help@gcc.gnu.org or
egcs-bugs@egcs.cygnus.com before, but no one has posted any responses to
them.
Any assistance you can provide is very greatly appreciated.
Cheers,
-C.
"Koundinya.K" wrote:
>
> Hi !!,
> Could you provide some more details as to if you are using the GNU
> assembler & Linker or your native ones etc... How you have configured. Then
> maybe I can help you.
>
> Cheers !!
>
> Koundinya