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]

problems building gcc - now current version


I posted something similar to this yesterday.  N8TM@aol.com, who is
apparently also tprince@computer.org, was kind enough to point out
that I was not working with the current rev.  Sorry - I got confused
by the sheer number of files on the ftp site.

I now have the current files, but the warnings and error look (to a
casual glance, anyway) to be the same.  Again, I hope someone can help.

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 is gcc-2.95.2.

I ran configure, which produced no alarming-looking messages.  I then
ran make bootstrap-lean.  It eventually produced some alarming-looking
warnings.  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.

Thanks for any help anyone can offer.

-- 
- 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.2/gcc/../binutils/ar ] ; then \
	    echo /usr/local/FCIonly/src/gcc-2.95/gcc-2.95.2/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--

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