public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* problem building gcc 3.0.4 under AIX 5.1
@ 2002-10-14 19:25 Lawrence Hannon
  2002-10-24 14:56 ` David Edelsohn
  0 siblings, 1 reply; 2+ messages in thread
From: Lawrence Hannon @ 2002-10-14 19:25 UTC (permalink / raw)
  To: gcc-help

[-- Attachment #1: Type: text/plain, Size: 355 bytes --]

Downloaded, ran "<srcdir>/configure" with no options from <objdir>, then
did "make bootstrap"

Make runs fine until stage2 build, then tries to run the cc command with
bogus arguments (see bottom few lines of attached output from the make)

Any suggestions would be appreciated

Thanks,

Lawrence Hannon
lar@post.com

(See attached file: gcc problem.txt)

[-- Attachment #2: gcc problem.txt --]
[-- Type: text/plain, Size: 7112 bytes --]

Target "all" is up to date.
	echo timestamp > stmp-multilib
	rm -f cxxmain.c
	ln -s ../../gcc-3.0.4/gcc/../libiberty/cplus-dem.c cxxmain.c
	cc -c -DMAIN  -DIN_GCC     -g    -DHAVE_CONFIG_H    -I. -I. -I../../gcc-3.0.4/gcc -I../../gcc-3.0.4/gcc/.  -I../../gcc-3.0.4/gcc/config -I../../gcc-3.0.4/gcc/../include  -DVERSION=\"3.0.4\" cxxmain.c
	cc -o c++filt  -DIN_GCC     -g    -DHAVE_CONFIG_H   cxxmain.o underscore.o obstack.o alloca.o  ./intl/libintl.a     -lld ../libiberty/libiberty.a
Target "all" is up to date.
	echo timestamp > stage1_build
	echo stage1_build > stage_last
	make stage1
	if [ -d stage1 ] ; then true ; else mkdir stage1 ; fi
	make -f libgcc.mk libgcc-stage-start stage=stage1
	for dir in libgcc libgcc/pthread libgcc/power libgcc/powerpc libgcc/ppc64 libgcc/pthread/power libgcc/pthread/powerpc libgcc/pthread/ppc64; do  if [ -d stage1/$dir ]; then true; else mkdir stage1/$dir; fi;  done
	for dir in libgcc libgcc/pthread libgcc/power libgcc/powerpc libgcc/ppc64 libgcc/pthread/power libgcc/pthread/powerpc libgcc/pthread/ppc64; do  mv $dir/*.o stage1/$dir;  done
	for dir in intl cp f java objc ;  do  if [ -d stage1/$dir ] ; then true ; else mkdir stage1/$dir ; fi ;  done
	mv *.o insn-flags.h insn-config.h insn-codes.h  insn-output.c insn-recog.c insn-emit.c insn-extract.c insn-peep.c  insn-attr.h insn-attrtab.c insn-opinit.c tree-check.h  s-flags s-config s-codes s-mlib s-under s-genrtl  s-output s-recog s-emit s-extract s-peep s-check  s-attr s-attrtab s-opinit s-crt0  genemit genoutput genrecog  genextract genflags gencodes  genconfig genpeep genattrtab  genattr genopinit gengenrtl  gencheck genrtl.c genrtl.h  xgcc cpp cc1 cpp0     gcc-cross cc1obj  enquire protoize unprotoize  specs collect2 collect2 underscore.c tradcpp0  gcov *.[0-9][0-9].* *.[si] libcpp.a libbackend.a libgcc.mk  g++ g++-cross cc1plus g77 g77-cross f771 jc1 gcj jvgenmain gcjh jv-scan jcf-dump  stage1
mv: 0653-401 Cannot rename s-crt0 to stage1/s-crt0:
	     A file or directory in the path name does not exist.
mv: 0653-401 Cannot rename gcc-cross to stage1/gcc-cross:
	     A file or directory in the path name does not exist.
mv: 0653-401 Cannot rename cc1obj to stage1/cc1obj:
	     A file or directory in the path name does not exist.
mv: 0653-401 Cannot rename enquire to stage1/enquire:
	     A file or directory in the path name does not exist.
mv: 0653-401 Cannot rename protoize to stage1/protoize:
	     A file or directory in the path name does not exist.
mv: 0653-401 Cannot rename unprotoize to stage1/unprotoize:
	     A file or directory in the path name does not exist.
mv: 0653-401 Cannot rename collect2 to stage1/collect2:
	     A file or directory in the path name does not exist.
mv: 0653-401 Cannot rename gcov to stage1/gcov:
	     A file or directory in the path name does not exist.
mv: 0653-401 Cannot rename *.[0-9][0-9].* to stage1/*.[0-9][0-9].*:
	     A file or directory in the path name does not exist.
mv: 0653-401 Cannot rename *.[si] to stage1/*.[si]:
	     A file or directory in the path name does not exist.
mv: 0653-401 Cannot rename g++-cross to stage1/g++-cross:
	     A file or directory in the path name does not exist.
mv: 0653-401 Cannot rename cc1plus to stage1/cc1plus:
	     A file or directory in the path name does not exist.
mv: 0653-401 Cannot rename g77 to stage1/g77:
	     A file or directory in the path name does not exist.
mv: 0653-401 Cannot rename g77-cross to stage1/g77-cross:
	     A file or directory in the path name does not exist.
mv: 0653-401 Cannot rename f771 to stage1/f771:
	     A file or directory in the path name does not exist.
mv: 0653-401 Cannot rename jc1 to stage1/jc1:
	     A file or directory in the path name does not exist.
mv: 0653-401 Cannot rename jvgenmain to stage1/jvgenmain:
	     A file or directory in the path name does not exist.
mv: 0653-401 Cannot rename gcjh to stage1/gcjh:
	     A file or directory in the path name does not exist.
mv: 0653-401 Cannot rename jv-scan to stage1/jv-scan:
	     A file or directory in the path name does not exist.
mv: 0653-401 Cannot rename jcf-dump to stage1/jcf-dump:
	     A file or directory in the path name does not exist.
make: 1254-004 The error code from the last command is 1.
make: 1254-005 Ignored error code 1 from last command.
	mv intl/*.o stage1/intl
	if [ -f as ] ; then ln -s ../as stage1 ; else true ; fi
	if [ -f ld ] ; then ln -s ../ld stage1 ; else true ; fi
	if [ -f collect-ld ] ; then ln -s ../collect-ld stage1 ; else true ; fi
	rm -f stage1/libgcc.a
	cp libgcc.a stage1
	if [ -f ranlib ]  || ( [ "powerpc-ibm-aix5.1.0.0" = "powerpc-ibm-aix5.1.0.0" ]  && [ -f /usr/bin/ranlib -o -f /bin/ranlib ] ) ; then  ranlib stage1/libgcc.a;  else true; fi
	for f in .. ; do if [ x${f} != x.. ]; then  cp stage1/${f} . ;  else true;  fi; done
	mv cp/*.o stage1/cp
mv: 0653-401 Cannot rename cp/*.o to stage1/cp/*.o:
	     A file or directory in the path name does not exist.
make: 1254-004 The error code from the last command is 1.
make: 1254-005 Ignored error code 1 from last command.
	if [ -f lang-f77 ]; then  mv -f f/*.o f/fini f/stamp-str  f/str-*.h f/str-*.j lang-f77 g77spec.o g77version.o stage1/f;  fi
	mv java/*.o stage1/java
mv: 0653-401 Cannot rename java/*.o to stage1/java/*.o:
	     A file or directory in the path name does not exist.
make: 1254-004 The error code from the last command is 1.
make: 1254-005 Ignored error code 1 from last command.
	mv objc/*.o stage1/objc
mv: 0653-401 Cannot rename objc/*.o to stage1/objc/*.o:
	     A file or directory in the path name does not exist.
make: 1254-004 The error code from the last command is 1.
make: 1254-005 Ignored error code 1 from last command.
	mv cc1obj stage1
mv: 0653-401 Cannot rename cc1obj to stage1/cc1obj:
	     A file or directory in the path name does not exist.
make: 1254-004 The error code from the last command is 1.
make: 1254-005 Ignored error code 1 from last command.
Target "stage1" is up to date.
	echo timestamp > stage1_copy
	echo stage2_build > stage_last
	make CC="stage1/xgcc -Bstage1/ -B/usr/local/powerpc-ibm-aix5.1.0.0/bin/"  STAGE_PREFIX=stage1/  CFLAGS="-g -O2"  LDFLAGS=""  WARN_CFLAGS="\$(GCC_WARN_CFLAGS)"  STRICT_WARN="-Wtraditional -pedantic -Wno-long-long"  libdir=/usr/local/lib  LANGUAGES="c gcov c++ f77 java objc"  MAKEOVERRIDES=  OUTPUT_OPTION="-o \$@"
	cc -c  -DIN_GCC     -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I../../gcc-3.0.4/gcc -I../../gcc-3.0.4/gcc/.  -I../../gcc-3.0.4/gcc/config -I../../gcc-3.0.4/gcc/../include ../../gcc-3.0.4/gcc/gengenrtl.c
cc: 1501-208 command option W is missing a subargument
make: 1254-004 The error code from the last command is 40.


Stop.
make: 1254-004 The error code from the last command is 2.


Stop.
make: 1254-004 The error code from the last command is 2.


Stop.
[lhannon@sln81] /bench1/tmp/lhannon/gnu > 

Script command is complete on Mon Oct 14 22:11:07 EDT 2002

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: problem building gcc 3.0.4 under AIX 5.1
  2002-10-14 19:25 problem building gcc 3.0.4 under AIX 5.1 Lawrence Hannon
@ 2002-10-24 14:56 ` David Edelsohn
  0 siblings, 0 replies; 2+ messages in thread
From: David Edelsohn @ 2002-10-24 14:56 UTC (permalink / raw)
  To: Lawrence Hannon; +Cc: gcc-help

	GCC 3.2 is the latest release of GCC.  I would recommend
building and installing that as opposed to GCC 3.0.4.

	Regardless which version of GCC you build, you need to use GNU
Make to build it on AIX, not Make provided with AIX.  This is mentioned in
the platform-specific installation notes for GCC.

David

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-10-24 21:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-14 19:25 problem building gcc 3.0.4 under AIX 5.1 Lawrence Hannon
2002-10-24 14:56 ` David Edelsohn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).