problems building gcc
Dave Lovelace
dave@fci.izzy.net
Mon Feb 7 12:52:00 GMT 2000
I've looked in the manual for these, but didn't find anything. If I just
missed them, my apologies. Also, if this is not the right address for
problems building the compiler, my apologies there, too.
I'm building gcc on a Data General AViiON (mc88100) running DG/UX R4.11MU06.
The compiler actually on the system (which came with the system) is
gcc; doing "gcc -v" yields:
gcc version 2.7.2 (m88k DG/ux, DG-2.7.2.11, Jan 18 1999)
The version I'm attempting to build, which I downloaded Friday (so
hopefully current) is gcc-2.95.
I ran configure, which produced no alarming-looking messages. I then ran
make bootstrap-lean. It took a long time (half the afternoon), and produced
some alarming-looking messages. Then finally it errored out. I'm attaching
the warning & error messages. I'm not sure how much of what preceded the
final error is necessary, so I'm including a bunch.
(I hope that in this case combining what may be two problems into one
message makes sense, as some may well be features of a single problem. <sigh>)
I hope someone is able to help me. I need the c++ compiler, which is now
part of the whole package, & I don't begin to know what to look at in all
this to make it compile.
--
- Dave Lovelace
dave@fci.izzy.net
davel@cyberspace.org
--snip--snip--snip--snip--snip--snip--snip--snip--snip--snip--snip--snip--
gcc -c -DIN_GCC -O -mstandard -mlegend -g -DHAVE_CONFIG_H -I. -I. -I./config -I./../include rtl.c
In file included from rtl.c:126:
machmode.def:73: warning: left shift count >= width of type
machmode.def:74: warning: left shift count >= width of type
machmode.def:75: warning: left shift count >= width of type
machmode.def:76: warning: left shift count >= width of type
machmode.def:77: warning: left shift count >= width of type
machmode.def:78: warning: left shift count >= width of type
machmode.def:83: warning: left shift count >= width of type
machmode.def:84: warning: left shift count >= width of type
machmode.def:85: warning: left shift count >= width of type
machmode.def:86: warning: left shift count >= width of type
machmode.def:90: warning: left shift count >= width of type
machmode.def:91: warning: left shift count >= width of type
machmode.def:92: warning: left shift count >= width of type
machmode.def:93: warning: left shift count >= width of type
machmode.def:94: warning: left shift count >= width of type
machmode.def:97: warning: left shift count >= width of type
machmode.def:98: warning: left shift count >= width of type
machmode.def:99: warning: left shift count >= width of type
machmode.def:100: warning: left shift count >= width of type
machmode.def:101: warning: left shift count >= width of type
machmode.def:113: warning: left shift count >= width of type
--snip--snip--snip--snip--snip--snip--snip--snip--snip--snip--snip--snip--
gcc -DIN_GCC -O -mstandard -mlegend -g -DHAVE_CONFIG_H -I. -I. -I./config -I./../include \
-DTARGET_NAME=\"m88k-dg-dguxR4.11MU06\" \
-c `echo ./toplev.c | sed 's,^\./,,'`
toplev.c:1178: warning: initialization from incompatible pointer type
toplev.c:1178: warning: initialization from incompatible pointer type
--snip--snip--snip--snip--snip--snip--snip--snip--snip--snip--snip--snip--
gcc -c -DIN_GCC -O -mstandard -mlegend -g -DHAVE_CONFIG_H -I. -I. -I./config -I./../include final.c
final.c: In function `output_asm_insn':
final.c:3374: warning: assignment discards `const' from pointer target type
final.c:3389: warning: assignment discards `const' from pointer target type
final.c: In function `asm_fprintf':
final.c:3802: warning: assignment discards `const' from pointer target type
--snip--snip--snip--snip--snip--snip--snip--snip--snip--snip--snip--snip--
for name in _muldi3 _divdi3 _moddi3 _udivdi3 _umoddi3 _negdi2 _lshrdi3 _ashldi3 _ashrdi3 _ffsdi2 _udiv_w_sdiv _udivmoddi4 _cmpdi2 _ucmpdi2 _floatdidf _floatdisf _fixunsdfsi _fixunssfsi _fixunsdfdi _fixdfdi _fixunssfdi _fixsfdi _fixxfdi _fixunsxfdi _floatdixf _fixunsxfsi _fixtfdi _fixunstfdi _floatditf __gcc_bcmp _varargs __dummy _eprintf _bb _shtab _clear_cache _trampoline __main _exit _ctors _pure; \
do \
echo ${name}; \
PATH=/usr/sde/m88kbcs/usr/bin/:/usr/bin TARGET_BINARY_INTERFACE=m88kbcs ./xgcc -B./ -msvr3 -D_M88KBCS_TARGET -mno-ocs-debug-info -O2 -DIN_GCC -O -mstandard -mlegend -g -I./include -g1 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I./config -I./../include -c -DL${name} \
./libgcc2.c -o ${name}.o; \
if [ $? -eq 0 ] ; then true; else exit 1; fi; \
` if [ -f /usr/local/FCIonly/src/gcc-2.95/gcc-2.95/gcc/../binutils/ar ] ; then \
echo /usr/local/FCIonly/src/gcc-2.95/gcc-2.95/gcc/../binutils/ar ; \
else \
if [ "m88k-dg-dguxR4.11MU06" = "m88k-dg-dguxR4.11MU06" ] ; then \
echo ar; \
else \
t='s,x,x,'; echo ar | sed -e $t ; \
fi; \
fi` rc tmplibgcc2.a ${name}.o; \
rm -f ${name}.o; \
done
_muldi3
_divdi3
./libgcc2.c: In function `__divdi3':
./libgcc2.c:684: internal error--unrecognizable insn:
(insn 935 444 936 (set (reg:CCEVEN 7 r7)
(rotate:CC (reg:CC 9 r9)
(const_int 2 [0x2]))) -1 (nil)
(nil))
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
--snip--snip--snip--snip--snip--snip--snip--snip--snip--snip--snip--snip--
More information about the Gcc-bugs
mailing list