Installing gcc-2.95.2 on NetBSD/alpha 1.4.1

Ray Phillips r.phillips@mailbox.uq.edu.au
Sun Feb 13 19:03:00 GMT 2000


Dear GCC Bugs:

This report is about a problem I've experienced installing gcc-2.95.2 on an
Alpha 3000/400 machine which is running NetBSD/alpha 1.4.1.  I've tried to
install it on two identical machines, both of which are running this
operating system, and both had the same problem.

The output of uname -a is:

NetBSD jkalpha2.jkmrc.uq.edu.au 1.4.1 NetBSD 1.4.1 (GENERIC) #0: Mon Aug  9
02:3
0:53 PDT 1999     ross@sutekh:/usr/src/sys/arch/alpha/compile/GENERIC alpha

As per the GCC installation instructions, I downloaded these files into the
same directory and unzipped them:

gcc-2.95.2.tar.gz
gcc-chill-2.95.2.tar.gz
gcc-core-2.95.2.tar.gz
gcc-g++-2.95.2.tar.gz
gcc-g77-2.95.2.tar.gz
gcc-java-2.95.2.tar.gz
gcc-objc-2.95.2.tar.gz

then created a separate directory for the object code and ran configure
from there.  The problem I experienced was with the next step which is to
execute 'make bootstrap'  I used GNU make version 3.78.1.  Many warnings
were generated such as:

warning: type mismatch in implicit declaration for built-in function `strcpy'
warning: mktemp() possibly used unsafely, use mkstemp() or mkdtemp()
warning: assignment discards `const' from pointer target type
mv: rename s-crt to stage1/s-crt: No such file or directory
mv: rename s-crtS to stage1/s-crtS: No such file or directory

and finally make halted with this statement:

make[2]: Entering directory `/usr/home/ray/gcc/install/objdir/gcc'
stage1/xgcc -Bstage1/ -B/usr/local/alpha-unknown-netbsd1.4.1/bin/  -DIN_GCC
-DHA
IFA    -O2 -g -O2  -DHAVE_CONFIG_H    -I. -I../../gcc-2.95.2/gcc
-I../../gcc-2.9
5.2/gcc/config -I../../gcc-2.95.2/gcc/../include \

-DGCC_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/alpha-unknown-netbsd1.4.1/2.95.2/in
c
lude\" \

-DGPLUSPLUS_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/alpha-unknown-netbsd1.4.1/2.9
5
.2/../../../..`echo /usr/local | sed -e 's|^/usr/local||' -e
's|/[^/]*|/..|g'`/
include/g++-3\" \
  -DLOCAL_INCLUDE_DIR=\"/usr/local/include\" \

-DCROSS_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/alpha-unknown-netbsd1.4.1/2.95.2/
.
./../../../alpha-unknown-netbsd1.4.1/sys-include\" \

-DTOOL_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/alpha-unknown-netbsd1.4.1/2.95.2/.
.
/../../../alpha-unknown-netbsd1.4.1/include\" \
  -c `echo ../../gcc-2.95.2/gcc/cccp.c | sed 's,^\./,,'`
../../gcc-2.95.2/gcc/cccp.c: In function `vnotice':
../../gcc-2.95.2/gcc/cccp.c:9290: incompatible type for argument 3 of
`vfprintf'
make[2]: *** [cccp.o] Error 1
make[2]: Leaving directory `/usr/home/ray/gcc/install/objdir/gcc'
make[1]: *** [bootstrap] Error 2
make[1]: Leaving directory `/usr/home/ray/gcc/install/objdir/gcc'
make: *** [bootstrap] Error 2

If you want them but I'll send you the output of ./configure and the
Makefile it generated.

(Excuse a couple of basic questions, but GCC and EGCS are one and the same
aren't they?  What does EGCS stand for?)


Ray Phillips




More information about the Gcc-bugs mailing list