Article View: gnu.gcc.bug
Article #6092problem compiling gcc-2.7.2 on mips-sgi-irix6.2 & solution
From: David Howells
Date: Tue, 26 Nov 1996 00:00
Date: Tue, 26 Nov 1996 00:00
429 lines
22576 bytes
22576 bytes
I tried to compile gcc-2.7.2 on an IRIX 6.2 machine, and got the log attached
at the end from the compilation process. As can be seen, there were a _lot_ of
warnings, and a very bad error.
I noticed that the configuration has the size of a long set to 64 bits, when
in fact the native compiler thinks that it is 32 bits.
I modified the "config/mips/xm-iris6.h" file to the following, and all went
well.
#define MIPS_OVERRIDE_ALLOCA
#ifndef __GNUC__
#include <alloca.h>
#else
extern void *alloca ();
#endif
#include "mips/xm-iris5.h"
#if 0
#undef HOST_BITS_PER_LONG
#define HOST_BITS_PER_LONG 64
#endif
/* Declare some functions needed for this machine. We don't want to
include these in the sources since other machines might define them
differently. */
extern void *malloc (), *realloc (), *calloc ();
#ifndef inhibit_libc
#include "string.h"
#endif
Many thanks,
David Howells
===============================================================================
make CC="cc" libdir=/usr/local/lib LANGUAGES=c
cc -DIN_GCC -g -I. -I. -I./config \
-DGCC_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/mips-sgi-irix6.2/2.7.2/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-irix6.2/2.7.2/sys-include\" \
-DTOOL_INCLUDE_DIR=\"/usr/local/mips-sgi-irix6.2/include\" \
-c `echo ./cccp.c | sed 's,^\./,,'`
cc -DIN_GCC -g -I. -I. -I./config -c ./cexp.c
cc -c -DIN_GCC -g -I. -I. -I./config version.c
cc -c -DIN_GCC -g -I. -I. -I./config obstack.c
cc -DIN_GCC -g -o cccp cccp.o cexp.o \
version.o obstack.o ` case "cc" in "cc") echo "" ;; esac `
rm -f cpp
ln cccp cpp > /dev/null 2>&1 \
|| cp cccp cpp
cc -DIN_GCC -g -I. -I. -I./config -c ./c-parse.c
cc -c -DIN_GCC -g -I. -I. -I./config c-lang.c
cc -c -DIN_GCC -g -I. -I. -I./config c-lex.c
cc -c -DIN_GCC -g -I. -I. -I./config c-pragma.c
cc -c -DIN_GCC -g -I. -I. -I./config c-decl.c
cc -c -DIN_GCC -g -I. -I. -I./config c-typeck.c
cc -c -DIN_GCC -g -I. -I. -I./config c-convert.c
cc -c -DIN_GCC -g -I. -I. -I./config c-aux-info.c
cc -c -DIN_GCC -g -I. -I. -I./config c-common.c
cc -c -DIN_GCC -g -I. -I. -I./config c-iterate.c
cc -c -DIN_GCC -g -I. -I. -I./config ./genattr.c
cc -c -DIN_GCC -g -I. -I. -I./config rtl.c
cc -DIN_GCC -g -o genattr \
genattr.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "cc"@"" in "cc"@?*) echo ;; esac ` ` case "" in ?*) echo ;; esac `
./genattr ./config/mips/mips.md > tmp-attr.h
./move-if-change tmp-attr.h insn-attr.h
touch stamp-attr
cc -DIN_GCC -g -I. -I. -I./config \
-DUSE_COLLECT2 \
-c `echo ./toplev.c | sed 's,^\./,,'`
cc -c -DIN_GCC -g -I. -I. -I./config tree.c
cc -c -DIN_GCC -g -I. -I. -I./config print-tree.c
cc -c -DIN_GCC -g -I. -I. -I./config stor-layout.c
cc -c -DIN_GCC -g -I. -I. -I./config fold-const.c
cfe: Warning 848: fold-const.c, line 116: Lshift with undefined behaviour.
words[0] = ((low) & (((unsigned long ) 1 << (64 /2)) - 1)) ;
------------------------^
cfe: Warning 848: fold-const.c, line 118: Lshift with undefined behaviour.
words[2] = ((hi) & (((unsigned long ) 1 << (64 /2)) - 1)) ;
-----------------------^
cfe: Warning 848: fold-const.c, line 131: Lshift with undefined behaviour.
*low = words[0] | words[1] * ((unsigned long ) 1 << 64 /2) ;
--------------------------------^
cfe: Warning 848: fold-const.c, line 132: Lshift with undefined behaviour.
*hi = words[2] | words[3] * ((unsigned long ) 1 << 64 /2) ;
-------------------------------^
cfe: Warning 848: fold-const.c, line 298: Lshift with undefined behaviour.
prod[k] = ((carry) & (((unsigned long ) 1 << (64 /2)) - 1)) ;
-------------------------^
cfe: Warning 848: fold-const.c, line 518: Lshift with undefined behaviour.
if (hden == 0 && lden < ((unsigned long ) 1 << 64 /2) )
---------------------------^
cfe: Warning 848: fold-const.c, line 523: Lshift with undefined behaviour.
work = num[i] + carry * ((unsigned long ) 1 << 64 /2) ;
---------------------------^
cfe: Warning 848: fold-const.c, line 545: Lshift with undefined behaviour.
scale = ((unsigned long ) 1 << 64 /2) / (den[den_hi_sig] + 1);
-------------^
cfe: Warning 848: fold-const.c, line 550: Lshift with undefined behaviour.
num[i] = ((work) & (((unsigned long ) 1 << (64 /2)) - 1)) ;
---------------------^
cfe: Warning 848: fold-const.c, line 556: Lshift with undefined behaviour.
den[i] = ((work) & (((unsigned long ) 1 << (64 /2)) - 1)) ;
---------------------^
cfe: Warning 848: fold-const.c, line 572: Lshift with undefined behaviour.
work = num[num_hi_sig] * ((unsigned long ) 1 << 64 /2) + num[num_hi_sig - 1];
--------------------------------^
cfe: Warning 848: fold-const.c, line 576: Lshift with undefined behaviour.
quo_est = ((unsigned long ) 1 << 64 /2) - 1;
-----------^
cfe: Warning 848: fold-const.c, line 580: Lshift with undefined behaviour.
if (tmp < ((unsigned long ) 1 << 64 /2)
-----------------^
cfe: Warning 848: fold-const.c, line 581: Lshift with undefined behaviour.
&& den[den_hi_sig - 1] * quo_est > (tmp * ((unsigned long ) 1 << 64 /2) + num[num_hi_sig - 2]))
---------------------------------------------^
cfe: Warning 848: fold-const.c, line 593: Lshift with undefined behaviour.
work = num[i + j] - ((work) & (((unsigned long ) 1 << (64 /2)) - 1)) ;
----------------------------------^
cfe: Warning 848: fold-const.c, line 594: Lshift with undefined behaviour.
num[i + j] = ((work) & (((unsigned long ) 1 << (64 /2)) - 1)) ;
---------------------------^
cfe: Warning 848: fold-const.c, line 609: Lshift with undefined behaviour.
num[i + j] = ((work) & (((unsigned long ) 1 << (64 /2)) - 1)) ;
-------------------------------^
cc -c -DIN_GCC -g -I. -I. -I./config ./genflags.c
cc -DIN_GCC -g -o genflags \
genflags.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "cc"@"" in "cc"@?*) echo ;; esac ` ` case "" in ?*) echo ;; esac `
./genflags ./config/mips/mips.md > tmp-flags.h
./move-if-change tmp-flags.h insn-flags.h
touch stamp-flags
cc -c -DIN_GCC -g -I. -I. -I./config ./gencodes.c
cc -DIN_GCC -g -o gencodes \
gencodes.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "cc"@"" in "cc"@?*) echo ;; esac ` ` case "" in ?*) echo ;; esac `
./gencodes ./config/mips/mips.md > tmp-codes.h
./move-if-change tmp-codes.h insn-codes.h
touch stamp-codes
cc -c -DIN_GCC -g -I. -I. -I./config ./genconfig.c
cc -DIN_GCC -g -o genconfig \
genconfig.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "cc"@"" in "cc"@?*) echo ;; esac ` ` case "" in ?*) echo ;; esac `
./genconfig ./config/mips/mips.md > tmp-config.h
./move-if-change tmp-config.h insn-config.h
touch stamp-config
cc -c -DIN_GCC -g -I. -I. -I./config function.c
cc -c -DIN_GCC -g -I. -I. -I./config \
./bi-opcode.c
cc -c -DIN_GCC -g -I. -I. -I./config \
./bi-parser.c
cc -c -DIN_GCC -g -I. -I. -I./config \
./bi-lexer.c
cc -c -DIN_GCC -g -I. -I. -I./config \
./bi-reverse.c
cc -DIN_GCC -g -o bi-opcode \
bi-opcode.o bi-parser.o bi-lexer.o bi-reverse.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "cc"@"" in "cc"@?*) echo ;; esac ` ` case "" in ?*) echo ;; esac `
./bi-opcode < ./bytecode.def >tmp-bcopcd.h
(Number of opcodes is 232)
./move-if-change tmp-bcopcd.h bc-opcode.h
touch stamp-bcopcode
cc -c -DIN_GCC -g -I. -I. -I./config stmt.c
cc -c -DIN_GCC -g -I. -I. -I./config expr.c
cc -c -DIN_GCC -g -I. -I. -I./config calls.c
cc -c -DIN_GCC -g -I. -I. -I./config expmed.c
cfe: Warning 848: expmed.c, line 2434: Lshift with undefined behaviour.
unsigned long ml_lo = (mlow_hi << (64 - 1)) | (mlow_lo >> 1);
------------------------------^
cfe: Warning 848: expmed.c, line 2435: Lshift with undefined behaviour.
unsigned long mh_lo = (mhigh_hi << (64 - 1)) | (mhigh_lo >> 1);
------------------------------^
cc -c -DIN_GCC -g -I. -I. -I./config explow.c
cc -c -DIN_GCC -g -I. -I. -I./config optabs.c
cc -c -DIN_GCC -g -I. -I. -I./config varasm.c
cc -c -DIN_GCC -g -I. -I. -I./config print-rtl.c
cc -c -DIN_GCC -g -I. -I. -I./config rtlanal.c
cc -c -DIN_GCC -g -I. -I. -I./config \
./bi-opname.c
cc -DIN_GCC -g -o bi-opname \
bi-opname.o bi-parser.o bi-lexer.o bi-reverse.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "cc"@"" in "cc"@?*) echo ;; esac ` ` case "" in ?*) echo ;; esac `
./bi-opname < ./bytecode.def >tmp-bcopnm.h
./move-if-change tmp-bcopnm.h bc-opname.h
touch stamp-bcopname
cc -c -DIN_GCC -g -I. -I. -I./config emit-rtl.c
cfe: Warning 848: emit-rtl.c, line 1120: Lshift with undefined behaviour.
return gen_rtx (CONST_INT, VOIDmode, (long ) ((((long) k[! ((target_flags & 0x00010000) != 0)]) << 32) | (long) k[((target_flags & 0x00010000) != 0)])) ;
------------------------------------------------^
cc -c -DIN_GCC -g -I. -I. -I./config real.c
cfe: Warning 848: real.c, line 3948: Lshift with undefined behaviour.
*i = ((unsigned long ) 1) << (64 - 1);
------^
cfe: Warning 848: real.c, line 3958: Lshift with undefined behaviour.
*i = (((unsigned long ) 1) << (64 - 1)) - 1;
---------^
cc -c -DIN_GCC -g -I. -I. -I./config dbxout.c
cc -c -DIN_GCC -g -I. -I. -I./config sdbout.c
cc -c -DIN_GCC -g -I. -I. -I./config dwarfout.c
cc -c -DIN_GCC -g -I. -I. -I./config xcoffout.c
cc -c -DIN_GCC -g -I. -I. -I./config integrate.c
cc -c -DIN_GCC -g -I. -I. -I./config jump.c
cc -c -DIN_GCC -g -I. -I. -I./config cse.c
cc -c -DIN_GCC -g -I. -I. -I./config loop.c
cc -c -DIN_GCC -g -I. -I. -I./config unroll.c
cc -c -DIN_GCC -g -I. -I. -I./config flow.c
cc -c -DIN_GCC -g -I. -I. -I./config stupid.c
cc -c -DIN_GCC -g -I. -I. -I./config combine.c
cc -c -DIN_GCC -g -I. -I. -I./config regclass.c
cc -c -DIN_GCC -g -I. -I. -I./config local-alloc.c
cc -c -DIN_GCC -g -I. -I. -I./config global.c
cc -c -DIN_GCC -g -I. -I. -I./config reload.c
cc -c -DIN_GCC -g -I. -I. -I./config reload1.c
cc -c -DIN_GCC -g -I. -I. -I./config caller-save.c
cc -c -DIN_GCC -g -I. -I. -I./config ./genpeep.c
cc -DIN_GCC -g -o genpeep \
genpeep.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "cc"@"" in "cc"@?*) echo ;; esac ` ` case "" in ?*) echo ;; esac `
./genpeep ./config/mips/mips.md > tmp-peep.c
./move-if-change tmp-peep.c insn-peep.c
touch stamp-peep
cc -DIN_GCC -g -I. -I. -I./config -c insn-peep.c
cc -c -DIN_GCC -g -I. -I. -I./config reorg.c
cc -c -DIN_GCC -g -I. -I. -I./config sched.c
cc -c -DIN_GCC -g -I. -I. -I./config final.c
cc -c -DIN_GCC -g -I. -I. -I./config recog.c
cc -c -DIN_GCC -g -I. -I. -I./config reg-stack.c
cc -c -DIN_GCC -g -I. -I. -I./config ./genopinit.c
cc -DIN_GCC -g -o genopinit \
genopinit.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "cc"@"" in "cc"@?*) echo ;; esac ` ` case "" in ?*) echo ;; esac `
./genopinit ./config/mips/mips.md > tmp-opinit.c
./move-if-change tmp-opinit.c insn-opinit.c
touch stamp-opinit
cc -DIN_GCC -g -I. -I. -I./config -c insn-opinit.c
cc -c -DIN_GCC -g -I. -I. -I./config ./genrecog.c
cc -DIN_GCC -g -o genrecog \
genrecog.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "cc"@"" in "cc"@?*) echo ;; esac ` ` case "" in ?*) echo ;; esac `
./genrecog ./config/mips/mips.md > tmp-recog.c
./move-if-change tmp-recog.c insn-recog.c
touch stamp-recog
cc -DIN_GCC -g -I. -I. -I./config -c insn-recog.c
cc -c -DIN_GCC -g -I. -I. -I./config ./genextract.c
cc -DIN_GCC -g -o genextract \
genextract.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "cc"@"" in "cc"@?*) echo ;; esac ` ` case "" in ?*) echo ;; esac `
./genextract ./config/mips/mips.md > tmp-extract.c
./move-if-change tmp-extract.c insn-extract.c
touch stamp-extract
cc -DIN_GCC -g -I. -I. -I./config -c insn-extract.c
cc -c -DIN_GCC -g -I. -I. -I./config ./genoutput.c
cc -DIN_GCC -g -o genoutput \
genoutput.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "cc"@"" in "cc"@?*) echo ;; esac ` ` case "" in ?*) echo ;; esac `
./genoutput ./config/mips/mips.md > tmp-output.c
./move-if-change tmp-output.c insn-output.c
touch stamp-output
cc -DIN_GCC -g -I. -I. -I./config -c insn-output.c
cc -c -DIN_GCC -g -I. -I. -I./config ./genemit.c
cc -DIN_GCC -g -o genemit \
genemit.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "cc"@"" in "cc"@?*) echo ;; esac ` ` case "" in ?*) echo ;; esac `
./genemit ./config/mips/mips.md > tmp-emit.c
./move-if-change tmp-emit.c insn-emit.c
touch stamp-emit
cc -DIN_GCC -g -I. -I. -I./config -c insn-emit.c
cc -c -DIN_GCC -g -I. -I. -I./config ./genattrtab.c
cc -DIN_GCC -g -o genattrtab \
genattrtab.o rtl.o print-rtl.o rtlanal.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "cc"@"" in "cc"@?*) echo ;; esac ` ` case "" in ?*) echo ;; esac `
if cmp -s Makefile ./config/mips/mips.md; \
then \
echo Using ; \
cp tmp-attrtab.c; \
else \
./genattrtab ./config/mips/mips.md > tmp-attrtab.c; \
fi
./move-if-change tmp-attrtab.c insn-attrtab.c
touch stamp-attrtab
cc -DIN_GCC -g -I. -I. -I./config -c insn-attrtab.c
cc -c -DIN_GCC -g -I. -I. -I./config ./config/mips/mips.c
cc -c -DIN_GCC -g -I. -I. -I./config getpwd.c
cc -c -DIN_GCC -g -I. -I. -I./config convert.c
cc -c -DIN_GCC -g -I. -I. -I./config \
./bi-arity.c
cc -DIN_GCC -g -o bi-arity \
bi-arity.o bi-parser.o bi-lexer.o bi-reverse.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "cc"@"" in "cc"@?*) echo ;; esac ` ` case "" in ?*) echo ;; esac `
./bi-arity < ./bytecode.def >tmp-bc-arity.h
./move-if-change tmp-bc-arity.h bc-arity.h
touch stamp-bcarity
cc -c -DIN_GCC -g -I. -I. -I./config bc-emit.c
cc -c -DIN_GCC -g -I. -I. -I./config bc-optab.c
cc -DIN_GCC -g -o cc1 c-parse.o c-lang.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-iterate.o toplev.o version.o tree.o print-tree.o stor-layout.o fold-const.o function.o stmt.o expr.o calls.o expmed.o explow.o optabs.o varasm.o rtl.o print-rtl.o rtlanal.o emit-rtl.o real.o dbxout.o sdbout.o dwarfout.o xcoffout.o integrate.o jump.o cse.o loop.o unroll.o flow.o stupid.o combine.o regclass.o local-alloc.o global.o reload.o reload1.o caller-save.o insn-peep.o reorg.o sched.o final.o recog.o reg-stack.o insn-opinit.o insn-recog.o insn-extract.o insn-output.o insn-emit.o insn-attrtab.o mips.o getpwd.o convert.o bc-emit.o bc-optab.o obstack.o ` case "cc" in "cc") echo "" ;; esac `
cc -DIN_GCC -g -I. -I. -I./config \
-DTARGET_MACHINE=\"mips-sgi-irix6.2\" -DUSE_COLLECT2 \
-c `echo ./collect2.c | sed 's,^\./,,'`
cc -c -DIN_GCC -g -I. -I. -I./config cplus-dem.c
/bin/sh ./genmultilib "mips1/mips2/mips3/mips4" \
"" "" > multilib.h
cc -DIN_GCC -g -I. -I. -I./config \
-DSTANDARD_STARTFILE_PREFIX=\"/usr/local/lib/\" \
-DSTANDARD_EXEC_PREFIX=\"/usr/local/lib/gcc-lib/\" \
-DDEFAULT_TARGET_VERSION=\"2.7.2\" \
-DDEFAULT_TARGET_MACHINE=\"mips-sgi-irix6.2\" \
-DTOOLDIR_BASE_PREFIX=\"/usr/local/\" \
\
-c `echo ./gcc.c | sed 's,^\./,,'`
cc -DIN_GCC -g -o xgcc gcc.o version.o obstack.o ` case "cc" in "cc") echo "" ;; esac `
echo "int xxy_us_dummy;" >tmp-dum.c
./xgcc -B./ -S tmp-dum.c
echo '/*WARNING: This file is automatically generated!*/' >tmp-under.c
if grep _xxy_us_dummy tmp-dum.s > /dev/null ; then \
echo "int prepends_underscore = 1;" >>tmp-under.c; \
else \
echo "int prepends_underscore = 0;" >>tmp-under.c; \
fi
./move-if-change tmp-under.c underscore.c
rm -f tmp-dum.c tmp-dum.s
touch stamp-under
cc -c -DIN_GCC -g -I. -I. -I./config underscore.c
rm -f collect2
cc -DIN_GCC -g -o collect2 collect2.o \
cplus-dem.o underscore.o version.o obstack.o ` case "cc" in "cc") echo "" ;; esac `
rm -f ld
ln collect2 ld > /dev/null 2>&1 \
|| cp collect2 ld
./xgcc -B./ -dumpspecs > tmp-specs
mv tmp-specs specs
if [ -f /usr/include/limits.h ] ; then \
cat ./limitx.h ./glimits.h ./limity.h > tmp-xlimits.h; \
else \
cat ./glimits.h > tmp-xlimits.h; \
fi
mv tmp-xlimits.h xlimits.h
cc -DIN_GCC -g -I. -I. -I./config -o g++ ./cp/g++.c obstack.o ` case "cc" in "cc") echo "" ;; esac `
rm -rf include
mkdir include
if [ xMakefile.in != xMakefile.in ]; \
then \
for dir in /usr/include ; do \
if [ -d $dir ]; \
then \
/bin/sh ./Makefile.in include $dir; \
else true; fi; \
done; \
else true; \
fi
rm -f include/syslimits.h
if [ -f include/limits.h ]; then \
mv include/limits.h include/syslimits.h; \
else \
cp ./gsyslimits.h include/syslimits.h; \
fi
chmod a+r include/syslimits.h
touch stmp-fixinc
if [ -d include ]; then true; else mkdir include; fi
if [ -d objc ]; then true; else mkdir objc; fi
thisdir1=`pwd`; \
srcdir1=`cd .; pwd`; \
cd objc; \
make -f ${srcdir1}/objc/Makefile copy-headers \
srcdir=${srcdir1} tooldir=/usr/local/mips-sgi-irix6.2 AR="ar" AR_FLAGS="rc" \
GCC_FOR_TARGET="${thisdir1}/xgcc -B${thisdir1}/" \
GCC_CFLAGS=" -DIN_GCC -g -I./include" incinstalldir=${thisdir1}/include
rm -fr /src/gcc-2.7.2/include/objc
mkdir /src/gcc-2.7.2/include/objc
for file in hash.h list.h sarray.h objc.h objc-api.h NXConstStr.h Object.h Protocol.h encoding.h typedstream.h; do \
realfile=/src/gcc-2.7.2/objc/${file}; \
cp ${realfile} /src/gcc-2.7.2/include/objc; \
chmod a+r /src/gcc-2.7.2/include/objc/${file}; \
done
touch objc-headers
objdir=`pwd`; \
cd .; \
for file in .. ./ginclude/stdarg.h ./ginclude/stddef.h ./ginclude/varargs.h ./ginclude/va-alpha.h ./ginclude/va-h8300.h ./ginclude/va-i860.h ./ginclude/va-i960.h ./ginclude/va-mips.h ./ginclude/va-m88k.h ./ginclude/va-pa.h ./ginclude/va-pyr.h ./ginclude/va-sparc.h ./ginclude/va-clipper.h ./ginclude/va-spur.h ./ginclude/iso646.h ./ginclude/va-ppc.h ./ginclude/proto.h ; do \
if [ X$file != X.. ]; then \
realfile=`echo $file | sed -e 's|.*/\([^/]*\)$|\1|'`; \
rm -f $objdir/include/$realfile; \
cp ginclude/$realfile $objdir/include; \
chmod a+r $objdir/include/$realfile; \
fi; \
done
rm -f include/limits.h
cp xlimits.h include/limits.h
chmod a+r include/limits.h
rm -f include/README
cp ./README-fixinc include/README
chmod a+r include/README
touch stmp-int-hdrs
./xgcc -B./ -DIN_GCC -g -I./include -DNO_MEM -DNO_LONG_DOUBLE_IO -O0 -I. -c ./enquire.c
cc1: warning: `-g' not supported by this configuration of GCC
In file included from /usr/include/sys/bsd_types.h:44,
from /usr/include/sys/types.h:335,
from ./enquire.c:401:
/usr/include/sys/select.h:63: warning: integer overflow in expression
/usr/include/sys/select.h:63: warning: integer overflow in expression
/usr/include/sys/select.h:63: variable-size type declared outside of any function
In file included from /usr/include/signal.h:92,
from ./enquire.c:402:
/usr/include/sys/procset.h:34: overflow in enumeration values
/usr/include/sys/procset.h:37: overflow in enumeration values
/usr/include/sys/procset.h:39: overflow in enumeration values
/usr/include/sys/procset.h:56: overflow in enumeration values
./enquire.c: In function `promotions':
./enquire.c:1075: warning: integer overflow in expression
./enquire.c:1076: warning: integer overflow in expression
./enquire.c:1077: warning: integer overflow in expression
./enquire.c:1078: warning: integer overflow in expression
./enquire.c:1079: warning: integer overflow in expression
./enquire.c:1080: warning: integer overflow in expression
./enquire.c:1081: warning: integer overflow in expression
./enquire.c:1081: warning: integer overflow in expression
./enquire.c:1082: warning: integer overflow in expression
./enquire.c:1082: warning: integer overflow in expression
./enquire.c:1088: warning: integer overflow in expression
./enquire.c:1088: warning: integer overflow in expression
./enquire.c:1088: warning: integer overflow in expression
./enquire.c:1089: warning: integer overflow in expression
./enquire.c: In function `cprop':
./enquire.c:1381: warning: integer overflow in expression
./enquire.c:1382: warning: comparison is always 0 due to limited range of data type
./enquire.c: In function `basic':
./enquire.c:1540: warning: integer overflow in expression
./enquire.c:1547: warning: integer overflow in expression
./enquire.c:1608: warning: integer overflow in expression
./enquire.c: In function `sprop':
./enquire.c:2066: warning: comparison is always 0 due to limited range of data type
./enquire.c: In function `fprop':
./enquire.c:2362: warning: integer overflow in expression
./enquire.c:2368: warning: integer overflow in expression
./enquire.c:2732: fixed or forbidden register was spilled.
This may be due to a compiler bug or to impossible asm
statements or clauses.
*** Error code 1 (bu21)
*** Error code 1 (bu21)
Technical Details
Message-ID:
<199611261220.HAA07254@gnu-life.ai.mit.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 113d02,418712f458975877,start X-Google-Attributes: gid113d02,public From: d.howells@nexor.co.uk (David Howells) Subject: problem compiling gcc-2.7.2 on mips-sgi-irix6.2 & solution Date: 1996/11/26 Message-ID: <199611261220.HAA07254@gnu-life.ai.mit.edu> X-Deja-AN: 200910005 sender: bug-gcc-request@prep.ai.mit.edu x-gateway: relay6.UU.NET from bug-gcc to gnu.gcc.bug; Tue, 26 Nov 1996 15:24:40 EST newsgroups: gnu.gcc.bug