Bug 30912 - Can't build gcc on Sun Solaris
Summary: Can't build gcc on Sun Solaris
Status: RESOLVED INVALID
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 4.1.2
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-21 13:58 UTC by ICOM Software
Modified: 2007-05-26 20:00 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ICOM Software 2007-02-21 13:58:36 UTC
$ uname -a
SunOS sun 5.8 Generic_108528-03 sun4u sparc SUNW,Ultra-5_10

$ $CC -V
cc: Sun WorkShop 6 update 1 C 5.2 2000/09/11

$ gmake --version
GNU Make 3.80

$ gmake -k

gmake[1]: Entering directory `/export/home0/sun_home/pirschel/tmp/gcc-4.1.2'
gmake[2]: Entering directory `/export/home0/sun_home/pirschel/tmp/gcc-4.1.2/host-sparc-sun-solaris2.8/zlib'
true "AR_FLAGS=rc" "CC_FOR_BUILD=/usr/ucb/cc" "CFLAGS=-g " "CXXFLAGS=-g -O2" "CFLAGS_FOR_BUILD=-g " "CFLAGS_FOR_TARGET=-O2 -g  " "INSTALL=/usr/local/bin/install -c" "INSTALL_DATA=/usr/local/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/local/bin/install -c" "INSTALL_SCRIPT=/usr/local/bin/install -c" "LDFLAGS=" "LIBCFLAGS=-g " "LIBCFLAGS_FOR_TARGET=-O2 -g  " "MAKE=gmake" "MAKEINFO=/export/home0/sun_home/pirschel/tmp/gcc-4.1.2/missing makeinfo --split-size=5000000 --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/usr/home/pirschel/software" "infodir=/usr/home/pirschel/software/info" "libdir=/usr/home/pirschel/software/lib" "prefix=/usr/home/pirschel/software" "tooldir=/usr/home/pirschel/software/sparc-sun-solaris2.8" "AR=ar" "AS=as" "CC=/usr/ucb/cc" "CXX=c++" "LD=ld" "LIBCFLAGS=-g " "NM=nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR=" DO=all multi-do # gmake
gmake[2]: Leaving directory `/export/home0/sun_home/pirschel/tmp/gcc-4.1.2/host-sparc-sun-solaris2.8/zlib'
gmake[2]: Entering directory `/export/home0/sun_home/pirschel/tmp/gcc-4.1.2/host-sparc-sun-solaris2.8/libiberty'
gmake[3]: Entering directory `/export/home0/sun_home/pirschel/tmp/gcc-4.1.2/host-sparc-sun-solaris2.8/libiberty/testsuite'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/export/home0/sun_home/pirschel/tmp/gcc-4.1.2/host-sparc-sun-solaris2.8/libiberty/testsuite'
gmake[2]: Leaving directory `/export/home0/sun_home/pirschel/tmp/gcc-4.1.2/host-sparc-sun-solaris2.8/libiberty'
gmake[2]: Entering directory `/export/home0/sun_home/pirschel/tmp/gcc-4.1.2/host-sparc-sun-solaris2.8/fastjar'
gmake "AR_FLAGS=rc" "CC_FOR_BUILD=/usr/ucb/cc" "CFLAGS=-g " "CXXFLAGS=-g -O2" "CFLAGS_FOR_BUILD=-g " "CFLAGS_FOR_TARGET=-O2 -g  " "INSTALL=/usr/local/bin/install -c" "INSTALL_DATA=/usr/local/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/local/bin/install -c" "INSTALL_SCRIPT=/usr/local/bin/install -c" "JC1FLAGS=" "LDFLAGS=" "LIBCFLAGS=-g " "LIBCFLAGS_FOR_TARGET=-O2 -g  " "MAKE=gmake" "MAKEINFO=/export/home0/sun_home/pirschel/tmp/gcc-4.1.2/missing makeinfo --split-size=5000000 --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "exec_prefix=/usr/home/pirschel/software" "infodir=/usr/home/pirschel/software/info" "libdir=/usr/home/pirschel/software/lib" "prefix=/usr/home/pirschel/software" "AR=ar" "AS=as" "CC=/usr/ucb/cc" "CXX=c++" "LD=ld" "LIBCFLAGS=-g " "NM=nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR=" all-am
gmake[3]: Entering directory `/export/home0/sun_home/pirschel/tmp/gcc-4.1.2/host-sparc-sun-solaris2.8/fastjar'
restore=: && backupdir=".am$$" && \
rm -rf $backupdir && mkdir $backupdir && \
for f in fastjar.info fastjar.info-[0-9] fastjar.info-[0-9][0-9] fastjar.i[0-9] fastjar.i[0-9][0-9]; do \
  if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
done; \
if /export/home0/sun_home/pirschel/tmp/gcc-4.1.2/missing makeinfo --split-size=5000000 --split-size=5000000  -I ../.././fastjar/../gcc/doc/include  -I ../.././fastjar \
 -o fastjar.info `test -f 'fastjar.texi' || echo '../.././fastjar/'`fastjar.texi; \
then \
  rc=0; \
else \
  rc=$?; \
  $restore $backupdir/* `echo "./fastjar.info" | sed 's|[^/]*$||'`; \
fi; \
rm -rf $backupdir; exit $rc
WARNING: `makeinfo' is missing on your system.  You should only need it if
         you modified a `.texi' or `.texinfo' file, or any other file
         indirectly affecting the aspect of the manual.  The spurious
         call might also be the consequence of using a buggy `make' (AIX,
         DU, IRIX).  You might want to install the `Texinfo' package or
         the `GNU make' package.  Grab either from any GNU archive site.
gmake[3]: *** [fastjar.info] Error 1
perl ../.././fastjar/../contrib/texi2pod.pl -D fastjar ../.././fastjar/fastjar.texi > fastjar.pod
(pod2man --center="GNU" --release="gcc-4.1.2" --section=1 fastjar.pod > fastjar.1.T$$ && \
	mv -f fastjar.1.T$$ fastjar.1) || \
	(rm -f fastjar.1.T$$ && exit 1)
/bin/sh: pod2man: not found
gmake[3]: [fastjar.1] Error 1 (ignored)
perl ../.././fastjar/../contrib/texi2pod.pl -D grepjar ../.././fastjar/fastjar.texi > grepjar.pod
(pod2man --center="GNU" --release="gcc-4.1.2" --section=1 grepjar.pod > grepjar.1.T$$ && \
	mv -f grepjar.1.T$$ grepjar.1) || \
	(rm -f grepjar.1.T$$ && exit 1)
/bin/sh: pod2man: not found
gmake[3]: [grepjar.1] Error 1 (ignored)
gmake[3]: Target `all-am' not remade because of errors.
rm fastjar.pod grepjar.pod
gmake[3]: Leaving directory `/export/home0/sun_home/pirschel/tmp/gcc-4.1.2/host-sparc-sun-solaris2.8/fastjar'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/export/home0/sun_home/pirschel/tmp/gcc-4.1.2/host-sparc-sun-solaris2.8/fastjar'
gmake[1]: *** [all-fastjar] Error 2
gmake[2]: Entering directory `/export/home0/sun_home/pirschel/tmp/gcc-4.1.2/host-sparc-sun-solaris2.8/fixincludes'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/export/home0/sun_home/pirschel/tmp/gcc-4.1.2/host-sparc-sun-solaris2.8/fixincludes'
gmake[2]: Entering directory `/export/home0/sun_home/pirschel/tmp/gcc-4.1.2/host-sparc-sun-solaris2.8/intl'
rm -f stamp-h1
/bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
test -f config.h || (rm -f stamp-h1 && gmake stamp-h1)
gmake[2]: Leaving directory `/export/home0/sun_home/pirschel/tmp/gcc-4.1.2/host-sparc-sun-solaris2.8/intl'
gmake[2]: Entering directory `/export/home0/sun_home/pirschel/tmp/gcc-4.1.2/build-sparc-sun-solaris2.8/libiberty'
gmake[3]: Entering directory `/export/home0/sun_home/pirschel/tmp/gcc-4.1.2/build-sparc-sun-solaris2.8/libiberty/testsuite'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/export/home0/sun_home/pirschel/tmp/gcc-4.1.2/build-sparc-sun-solaris2.8/libiberty/testsuite'
gmake[2]: Leaving directory `/export/home0/sun_home/pirschel/tmp/gcc-4.1.2/build-sparc-sun-solaris2.8/libiberty'
gmake[2]: Entering directory `/export/home0/sun_home/pirschel/tmp/gcc-4.1.2/build-sparc-sun-solaris2.8/fixincludes'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/export/home0/sun_home/pirschel/tmp/gcc-4.1.2/build-sparc-sun-solaris2.8/fixincludes'
gmake[2]: Entering directory `/export/home0/sun_home/pirschel/tmp/gcc-4.1.2/host-sparc-sun-solaris2.8/libcpp'
test -f config.h || (rm -f stamp-h1 && gmake stamp-h1)
test -d po || mkdir po
: --statistics -o po/da.gmo ../.././libcpp/po/da.po
test -d po || mkdir po
: --statistics -o po/el.gmo ../.././libcpp/po/el.po
test -d po || mkdir po
: --statistics -o po/es.gmo ../.././libcpp/po/es.po
test -d po || mkdir po
: --statistics -o po/rw.gmo ../.././libcpp/po/rw.po
test -d po || mkdir po
: --statistics -o po/sv.gmo ../.././libcpp/po/sv.po
gmake[2]: Leaving directory `/export/home0/sun_home/pirschel/tmp/gcc-4.1.2/host-sparc-sun-solaris2.8/libcpp'
gmake[2]: Entering directory `/export/home0/sun_home/pirschel/tmp/gcc-4.1.2/host-sparc-sun-solaris2.8/gcc'
test -d po || mkdir po
: --statistics -o po/da.gmo ../.././gcc/po/da.po
test -d po || mkdir po
: --statistics -o po/el.gmo ../.././gcc/po/el.po
test -d po || mkdir po
: --statistics -o po/es.gmo ../.././gcc/po/es.po
test -d po || mkdir po
: --statistics -o po/rw.gmo ../.././gcc/po/rw.po
test -d po || mkdir po
: --statistics -o po/sv.gmo ../.././gcc/po/sv.po
gperf -o -C -E -k '1-6,$' -j1 -D -N 'libc_name_p' -L ANSI-C \
../.././gcc/cp/cfns.gperf > ../.././gcc/cp/cfns.h
/bin/sh: gperf: not found
gmake[2]: *** [../.././gcc/cp/cfns.h] Error 1
/export/home0/sun_home/pirschel/tmp/gcc-4.1.2/missing bison -t --name-prefix=java_  -o java/parse.c ../.././gcc/java/parse.y
WARNING: `bison' missing on your system.  You should only need it if
         you modified a `.y' file.  You may need the `Bison' package
         in order for those modifications to take effect.  You can get
         `Bison' from any GNU archive site.
/usr/ucb/cc -c   -g  -DIN_GCC     -DHAVE_CONFIG_H -I. -Ijava -I../.././gcc -I../.././gcc/java -I../.././gcc/../include -I./../intl -I../.././gcc/../libcpp/include     java/parse.c -o java/parse.o
command line: fatal: cannot open  java/parse.c: No such file or directory
gmake[2]: *** [java/parse.o] Error 2
/export/home0/sun_home/pirschel/tmp/gcc-4.1.2/host-sparc-sun-solaris2.8/gcc/xgcc -B/export/home0/sun_home/pirschel/tmp/gcc-4.1.2/host-sparc-sun-solaris2.8/gcc/ -B/usr/home/pirschel/software/sparc-sun-solaris2.8/bin/ -B/usr/home/pirschel/software/sparc-sun-solaris2.8/lib/ -isystem /usr/home/pirschel/software/sparc-sun-solaris2.8/include -isystem /usr/home/pirschel/software/sparc-sun-solaris2.8/sys-include  -c -o crt1.o -x assembler-with-cpp ../.././gcc/config/sparc/sol2-c1.asm
xgcc: error trying to exec 'cc1': execvp: No such file or directory
gmake[2]: *** [crt1.o] Error 1
/export/home0/sun_home/pirschel/tmp/gcc-4.1.2/host-sparc-sun-solaris2.8/gcc/xgcc -B/export/home0/sun_home/pirschel/tmp/gcc-4.1.2/host-sparc-sun-solaris2.8/gcc/ -B/usr/home/pirschel/software/sparc-sun-solaris2.8/bin/ -B/usr/home/pirschel/software/sparc-sun-solaris2.8/lib/ -isystem /usr/home/pirschel/software/sparc-sun-solaris2.8/include -isystem /usr/home/pirschel/software/sparc-sun-solaris2.8/sys-include  -c -o crti.o -x assembler-with-cpp ../.././gcc/config/sparc/sol2-ci.asm
xgcc: error trying to exec 'cc1': execvp: No such file or directory
gmake[2]: *** [crti.o] Error 1
/export/home0/sun_home/pirschel/tmp/gcc-4.1.2/host-sparc-sun-solaris2.8/gcc/xgcc -B/export/home0/sun_home/pirschel/tmp/gcc-4.1.2/host-sparc-sun-solaris2.8/gcc/ -B/usr/home/pirschel/software/sparc-sun-solaris2.8/bin/ -B/usr/home/pirschel/software/sparc-sun-solaris2.8/lib/ -isystem /usr/home/pirschel/software/sparc-sun-solaris2.8/include -isystem /usr/home/pirschel/software/sparc-sun-solaris2.8/sys-include  -c -o crtn.o -x assembler-with-cpp ../.././gcc/config/sparc/sol2-cn.asm
xgcc: error trying to exec 'cc1': execvp: No such file or directory
gmake[2]: *** [crtn.o] Error 1
/export/home0/sun_home/pirschel/tmp/gcc-4.1.2/host-sparc-sun-solaris2.8/gcc/xgcc -B/export/home0/sun_home/pirschel/tmp/gcc-4.1.2/host-sparc-sun-solaris2.8/gcc/ -B/usr/home/pirschel/software/sparc-sun-solaris2.8/bin/ -B/usr/home/pirschel/software/sparc-sun-solaris2.8/lib/ -isystem /usr/home/pirschel/software/sparc-sun-solaris2.8/include -isystem /usr/home/pirschel/software/sparc-sun-solaris2.8/sys-include  -c -DGCRT1 -o gcrt1.o -x assembler-with-cpp ../.././gcc/config/sparc/sol2-c1.asm
xgcc: error trying to exec 'cc1': execvp: No such file or directory
gmake[2]: *** [gcrt1.o] Error 1
/export/home0/sun_home/pirschel/tmp/gcc-4.1.2/host-sparc-sun-solaris2.8/gcc/xgcc -B/export/home0/sun_home/pirschel/tmp/gcc-4.1.2/host-sparc-sun-solaris2.8/gcc/ -B/usr/home/pirschel/software/sparc-sun-solaris2.8/bin/ -B/usr/home/pirschel/software/sparc-sun-solaris2.8/lib/ -isystem /usr/home/pirschel/software/sparc-sun-solaris2.8/include -isystem /usr/home/pirschel/software/sparc-sun-solaris2.8/sys-include -O2 -g   -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -I. -I. -I../.././gcc -I../.././gcc/. -I../.././gcc/../include -I./../intl -I../.././gcc/../libcpp/include   \
	-c ../.././gcc/config/sparc/gmon-sol2.c -o gmon.o
xgcc: error trying to exec 'cc1': execvp: No such file or directory
gmake[2]: *** [gmon.o] Error 1
/export/home0/sun_home/pirschel/tmp/gcc-4.1.2/host-sparc-sun-solaris2.8/gcc/xgcc -B/export/home0/sun_home/pirschel/tmp/gcc-4.1.2/host-sparc-sun-solaris2.8/gcc/ -B/usr/home/pirschel/software/sparc-sun-solaris2.8/bin/ -B/usr/home/pirschel/software/sparc-sun-solaris2.8/lib/ -isystem /usr/home/pirschel/software/sparc-sun-solaris2.8/include -isystem /usr/home/pirschel/software/sparc-sun-solaris2.8/sys-include -O2 -O2 -g   -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -I. -I. -I../.././gcc -I../.././gcc/. -I../.././gcc/../include -I./../intl -I../.././gcc/../libcpp/include   -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-unit-at-a-time  -fPIC \
  -c ../.././gcc/crtstuff.c -DCRT_BEGIN \
  -o crtbegin.o
xgcc: error trying to exec 'cc1': execvp: No such file or directory
gmake[2]: *** [crtbegin.o] Error 1
/export/home0/sun_home/pirschel/tmp/gcc-4.1.2/host-sparc-sun-solaris2.8/gcc/xgcc -B/export/home0/sun_home/pirschel/tmp/gcc-4.1.2/host-sparc-sun-solaris2.8/gcc/ -B/usr/home/pirschel/software/sparc-sun-solaris2.8/bin/ -B/usr/home/pirschel/software/sparc-sun-solaris2.8/lib/ -isystem /usr/home/pirschel/software/sparc-sun-solaris2.8/include -isystem /usr/home/pirschel/software/sparc-sun-solaris2.8/sys-include -O2 -O2 -g   -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -I. -I. -I../.././gcc -I../.././gcc/. -I../.././gcc/../include -I./../intl -I../.././gcc/../libcpp/include   -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-unit-at-a-time  -fPIC \
  -c ../.././gcc/crtstuff.c -DCRT_END \
  -o crtend.o
xgcc: error trying to exec 'cc1': execvp: No such file or directory
gmake[2]: *** [crtend.o] Error 1
/export/home0/sun_home/pirschel/tmp/gcc-4.1.2/host-sparc-sun-solaris2.8/gcc/xgcc -B/export/home0/sun_home/pirschel/tmp/gcc-4.1.2/host-sparc-sun-solaris2.8/gcc/ -B/usr/home/pirschel/software/sparc-sun-solaris2.8/bin/ -B/usr/home/pirschel/software/sparc-sun-solaris2.8/lib/ -isystem /usr/home/pirschel/software/sparc-sun-solaris2.8/include -isystem /usr/home/pirschel/software/sparc-sun-solaris2.8/sys-include  -O2  -O2 -g   -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -c -o crtfastmath.o ../.././gcc/config/sparc/crtfastmath.c
xgcc: error trying to exec 'cc1': execvp: No such file or directory
gmake[2]: *** [crtfastmath.o] Error 1
gmake[2]: Target `all' not remade because of errors.
gmake[2]: Leaving directory `/export/home0/sun_home/pirschel/tmp/gcc-4.1.2/host-sparc-sun-solaris2.8/gcc'
gmake[1]: *** [all-gcc] Error 2
gmake[1]: Target `all-host' not remade because of errors.
gmake[1]: Target `all-target' not remade because of errors.
gmake[1]: Leaving directory `/export/home0/sun_home/pirschel/tmp/gcc-4.1.2'
gmake: *** [all] Error 2
Comment 1 Eric Botcazou 2007-02-21 17:38:54 UTC
Please post the configure line.

> $ gmake -k

Do not use -k.

> /bin/sh: pod2man: not found

Do not use /bin/sh.

Please retry after reading the build instructions available at:
  http://gcc.gnu.org/install
  http://gcc.gnu.org/install/specific.html
Comment 2 Andrew Pinski 2007-05-26 20:00:16 UTC
No feedback in over 3 months so closing.