This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
970910 snapshot
- To: egcs at cygnus dot com
- Subject: 970910 snapshot
- From: jackson at msrce dot howard dot edu
- Date: Mon, 15 Sep 97 14:06:27 -0400
OK this time I'll report the results of building egcs. I must say this time I
was able to get though the three stage build (with a few warnings, see below),
but it seems to have died while trying to make the runtime libs. I tried to
build egcs on a DEC 5000/133 running ultrix 4.4 using gcc2.2.7.3 with g770.5.21
(just installed the day before) using './configure' 'make bootstrap' from the
top level directory of the distribution. If the warnings I saw can be fixed by
just adding casts, I'll go a head and make a diff, but since I am a unix USER I
don't really know if that's the proper way to fix them; I'm sure somebody will
let me know. I'll try to build egcs with cc to see what happenes, and I'll do
the same on my alpha also.
Aaron Jackson jackson@msrce.howard.edu
gcc -c -I. -I. -I./../libtxi -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_
H=1 -DHAVE_TERMIO_H=1 -DHAVE_STRINGS_H=1 -DHAVE_STRING_H=1 -DHAVE_VARARGS_H=1 -D
HAVE_SYS_TIME_H=1 -DHAVE_SYS_TTOLD_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_ALLOCA_H=1 -DH
AVE_ALLOCA=1 -DHAVE_SETVBUF=1 -DHAVE_GETCWD=1 -DHAVE_MEMSET=1 -DHAVE_BZERO=1 -DH
AVE_STRCHR=1 -DHAVE_STRCASECMP=1 -DHAVE_VFPRINTF=1 -DHAVE_VSPRINTF=1 -DHAVE_STRE
RROR=1 -DHAVE_SIGPROCMASK=1 -DHAVE_SIGSETMASK=1 -DHAVE_MEMCPY=1 -DHAVE_MEMMOVE=1
-g -O2 makeinfo.c
makeinfo.c: In function `cm_today':
makeinfo.c:3941: warning: passing arg 1 of `localtime' from incompatible
pointer type
...
gcc -c -DIN_GCC -g -DHAVE_CONFIG_H -I. -I. -I./config
mips-tfile.c
mips-tfile.c: In function `xmalloc':
mips-tfile.c:5713: warning: initialization makes pointer from integer
without a cast
mips-tfile.c: In function `xcalloc':
mips-tfile.c:5729: warning: initialization makes pointer from integer
without a cast
mips-tfile.c: In function `xrealloc':
mips-tfile.c:5747: warning: initialization makes pointer from integer
without a cast
...
stage1/xgcc -Bstage1/ -c -DIN_GCC -O2 -g -I. -I.. -I. -I./..
-I./../config lex.c
lex.c: In function `set_typedecl_interface_info':
lex.c:1132: warning: pointer/integer type mismatch in conditional
expression
lex.c: In function `check_newline':
lex.c:2433: warning: pointer/integer type mismatch in conditional
expression
lex.c: In function `handle_cp_pragma':
lex.c:4589: warning: pointer/integer type mismatch in conditional
expression
lex.c:4644: warning: pointer/integer type mismatch in conditional
expression
...
stage1/xgcc -Bstage1/ -c -DIN_GCC -O2 -g -I. -I.. -I. -I./..
-I./../config xref.c
xref.c: In function `open_xref_file':
xref.c:816: warning: assignment makes pointer from integer without a
cast
xref.c:823: warning: assignment makes pointer from integer without a
cast
stage1/xgcc -Bstage1/ -c -DIN_GCC -O2 -g -I. -I.. -I. -I./..
-I./../config repo.c
repo.c: In function `get_base_filename':
repo.c:280: warning: assignment makes pointer from integer without a
cast
repo.c: In function `open_repo_file':
repo.c:297: warning: assignment makes pointer from integer without a
cast
repo.c:300: warning: assignment makes pointer from integer without a
cast
...
stage1/xgcc -Bstage1/ -c -DIN_GCC -O2 -g -W -Wall -If -I./f -I.
-I. -I./config f/com.c -o f/com.o
f/com.c: In function `duplicate_decls':
f/com.c:13877: warning: implicit declaration of function `bcopy'
f/com.c: In function `lang_printable_name':
f/com.c:14157: warning: unused parameter `v'
f/com.c: In function `ffecom_file_':
f/com.c:15961: warning: implicit declaration of function `bzero'
...
stage1/xgcc -Bstage1/ -c -DIN_GCC -O2 -g -W -Wall -If -I./f -I.
-I. -I./config f/lex.c -o f/lex.o
f/lex.c: In function `ffelex_hash_':
f/lex.c:1208: warning: implicit declaration of function `assemble_string'
...
stage1/xgcc -Bstage1/ -c -If -I./f -I. -I. -I./config `echo
./f/fini.c | sed 's,^\./,,'` -o f/fini.o
f/fini.c: In function `main':
f/fini.c:233: warning: return type of `main' is not `int'
...
stage1/xgcc -Bstage1/ -c -DIN_GCC -O2 -g -W -Wall -If -I./f -I.
-I. -I./config f/stu.c -o f/stu.o
f/stu.c: In function `ffestu_list_exec_transition_':
f/stu.c:927: warning: type defaults to `int' in declaration of
`in_progress'
f/stu.c: In function `ffestu_dummies_transition_':
f/stu.c:1119: warning: type defaults to `int' in declaration of
`in_progress'
...
(Of course all errors repeat in the second stage build)
...
Building runtime libraries
if [ -f libgcc2.ready ] ; then true; else touch
libgcc2.ready; fi
if [ -f fixhdr.ready ] ; then true; else touch fixhdr.ready;
fi
case "c proto gcov c++ f77 objc" in *f77*) top=`pwd`; cd f/runtime && make
GCC_FOR_TARGET="`case '/usr/users/jackson/egcs/egcs-970910/gcc/xgcc -B/usr/
users/jackson/egcs/egcs-970910/gcc/' in './xgcc -B./') echo ${top}/xgcc -B
${top}/;; *) echo '/usr/users/jackson/egcs/egcs-970910/gcc/xgcc
-B/usr/users/jackson/egcs/egcs-970910/gcc/';; esac`" GCC_FLAGS="" CROSS=""
AR_FLAGS="rc" AR_FOR_TARGET="ar" BISON="bison" BISONFLAGS="" CC="gcc"
CFLAGS="-g -O2
" X_CFLAGS="" LDFLAGS="" LEX="lex" LEXFLAGS="" MAKEINFO="/usr/users/jackson
/egcs/egcs-970910/texinfo/makeinfo/makeinfo " MAKEINFOFLAGS="" RANLIB_FOR_TARG
ET="ranlib" RANLIB_TEST_FOR_TARGET="[ -f /usr/local/mips-dec-ultrix4.4/bin/ranl
ib ]" SHELL="/bin/sh" exec_prefix="/usr/local" prefix="/usr/local" tooldir="
/usr/local/mips-dec-ultrix4.4" bindir="/usr/local/bin" libsubdir="/usr/local/l
ib/gcc-lib/mips-dec-ultrix4.4/egcs-2.90.06" all ;; esac
*** Error code 1
Stop.
*** Error code 1
Stop.