This is the mail archive of the gcc-bugs@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]

bootstrap problems (19980628) on mips-sgi-irix6.5


Hi,

 I get the same errors that someone else already
reported. This happens with the 19980628 snapshot.
The only thing that changed from last weeks 19980621
build is that I upgraded from irix-6.5 BETA to the
release.

 I can reproduce the problem with a dummy program:

% more bla.c
main() {printf("hello world\n");}

% ./xgcc -B./ -v bla.c -c -o bla.o
Reading specs from ./specs
gcc version egcs-2.91.43 19980628 (gcc2 ss-980502
experimental)
 ./cpp -lang-c -v -isystem ./include -undef
-D__GNUC__=2 -D__GNUC_MINOR__=91 -Dunix -Dmips -Dsgi
-Dhost_mips -DMIPSEB -D_MIPSEB -DSYSTYPE_SVR4
-D_LONGLONG -D_SVR4_SOURCE -D_MODERN_C -D__DSO__
-D__unix__ -D__mips__ -D__sgi__ -D__host_mips__
-D__MIPSEB__ -D_MIPSEB -D__SYSTYPE_SVR4__ -D_LONGLONG
-D_SVR4_SOURCE -D_MODERN_C -D__DSO__ -D__unix
-D__mips -D__sgi -D__host_mips -D__MIPSEB
-D__SYSTYPE_SVR4 -Asystem(unix) -Asystem(svr4)
-Acpu(mips) -Amachine(sgi) -D__CHAR_UNSIGNED__
-D__LANGUAGE_C -D_LANGUAGE_C -DLANGUAGE_C
-D__SIZE_TYPE__=unsigned int -D__PTRDIFF_TYPE__=int
-D__EXTENSIONS__ -D_SGI_SOURCE -D_MIPS_FPSET=32
-D_MIPS_ISA=_MIPS_ISA_MIPS3 -D_ABIN32=2
-D_MIPS_SIM=_ABIN32 -D_MIPS_SZINT=32
-D_MIPS_SZLONG=32 -D_MIPS_SZPTR=32
-D_COMPILER_VERSION=601 -U__mips -D__mips=3
-D__mips64 bla.c /var/tmp/cc2fTkTt
GNU CPP version egcs-2.91.43 19980628 (gcc2 ss-980502
experimental) [AL 1.1, MM 40] SGI running IRIX 6.x
#include "..." search starts here:
#include <...> search starts here:
 include
 /usr/egcsroot/mips-sgi-irix6.5/include
 /usr/include
End of search list.
 ./cc1 /var/tmp/cc2fTkTt -quiet -dumpbase bla.c
-version -o /var/tmp/cceo2CYW
GNU C version egcs-2.91.43 19980628 (gcc2 ss-980502
experimental) (mips-sgi-irix6.5) compiled by GNU C
version egcs-2.91.42 19980621 (gcc2 ss-980502
experimental).
 /usr/bin/as -g0 -nocpp -show -G 0 -w -n32 -o bla.o
/var/tmp/cceo2CYW
/usr/bin/../lib32/cmplrs/as
-DEFAULT:abi=n32:isa=mips3 -g0 -nocpp -show -G 0 -w
-n32 -o bla.o /var/tmp/cceo2CYW
/usr/lib32/cmplrs/ld32 -call_shared -no_unresolved
-transitive_link -elf -_SYSTYPE_SVR4 -g0 -show -w
-mips3 -n32 -nocount /usr/lib32/mips3/crt1.o -count
-o bla.o /var/tmp/cceo2CYW -nocount -dont_warn_unused
-Bdynamic -lc /usr/lib32/mips3/crtn.o -warn_unused 
(null): INFO 152: /usr/lib32/cmplrs/ld32.
ld32: FATAL 11: Object file format error
(/var/tmp/cceo2CYW): unrecognizable format
as ERROR:  /usr/lib32/cmplrs/ld32 returned non-zero
status 4

 The same command with my last build gives:

% gcc -v bla.c -c -o bla.o
Reading specs from
/usr/egcsroot/lib/gcc-lib/mips-sgi-irix6.5/egcs-2.91.42/specs
gcc version egcs-2.91.42 19980621 (gcc2 ss-980502
experimental)

/usr/egcsroot/lib/gcc-lib/mips-sgi-irix6.5/egcs-2.91.42/cpp
-lang-c -v -undef -D__GNUC__=2 -D__GNUC_MINOR__=91
-Dunix -Dmips -Dsgi -Dhost_mips -DMIPSEB -D_MIPSEB
-DSYSTYPE_SVR4 -D_LONGLONG -D_SVR4_SOURCE -D_MODERN_C
-D__DSO__ -D__unix__ -D__mips__ -D__sgi__
-D__host_mips__ -D__MIPSEB__ -D_MIPSEB
-D__SYSTYPE_SVR4__ -D_LONGLONG -D_SVR4_SOURCE
-D_MODERN_C -D__DSO__ -D__unix -D__mips -D__sgi
-D__host_mips -D__MIPSEB -D__SYSTYPE_SVR4
-Asystem(unix) -Asystem(svr4) -Acpu(mips)
-Amachine(sgi) -D__CHAR_UNSIGNED__ -D__LANGUAGE_C
-D_LANGUAGE_C -DLANGUAGE_C -D__SIZE_TYPE__=unsigned
int -D__PTRDIFF_TYPE__=int -D__EXTENSIONS__
-D_SGI_SOURCE -D_MIPS_FPSET=32
-D_MIPS_ISA=_MIPS_ISA_MIPS3 -D_ABIN32=2
-D_MIPS_SIM=_ABIN32 -D_MIPS_SZINT=32
-D_MIPS_SZLONG=32 -D_MIPS_SZPTR=32
-D_COMPILER_VERSION=601 -U__mips -D__mips=3
-D__mips64 bla.c /var/tmp/cca0073F.i
GNU CPP version egcs-2.91.42 19980621 (gcc2 ss-980502
experimental) [AL 1.1, MM 40] SGI running IRIX 6.x
#include "..." search starts here:
#include <...> search starts here:
 /usr/egcsroot/mips-sgi-irix6.5/include

/usr/egcsroot/lib/gcc-lib/mips-sgi-irix6.5/egcs-2.91.42/include
 /usr/include
End of search list.

/usr/egcsroot/lib/gcc-lib/mips-sgi-irix6.5/egcs-2.91.42/cc1
/var/tmp/cca0073F.i -quiet -dumpbase bla.c -version
-o /var/tmp/cca0073F.s
GNU C version egcs-2.91.42 19980621 (gcc2 ss-980502
experimental) (mips-sgi-irix6.5) compiled by GNU C
version egcs-2.91.42 19980621 (gcc2 ss-980502
experimental).
 /usr/bin/as -g0 -nocpp -show -G 0 -w -n32 -o bla.o
/var/tmp/cca0073F.s
/usr/bin/../lib32/cmplrs/as
-DEFAULT:abi=n32:isa=mips3 -g0 -nocpp -show -G 0 -w
-n32 -o bla.o /var/tmp/cca0073F.s
/usr/lib32/cmplrs/asm -EB -pic2 -elf -g0 -G0 -w
-mips3 -n32 -O0 -t5_ll_sc_bug /var/tmp/cca0073F.s -o
bla.o 

 It somehow looks that the generated tmp-names are
messed up. They are missing the suffixes. As a result
the SGI compiler driver (/usr/bin/as) passes the files
to "ld" instead of "as".

 As last weeks build still works, I suspect a problem
in this weeks snapshot.

 I had another problem when applying the 21->28
patch. Updating gcc/configure failed completely.
I copied the 19980628 version from CVS.

Martin
===
------------------------------------------------------
Martin Knoblauch
email: knobi@knobisoft.de or knobi@rocketmail.com
www:   http://www.knobisoft.de







_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com



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