[Fwd: bootstrap error]

Sean McLaughlin seanm@intersurf.com
Mon Jun 25 08:05:00 GMT 2001


Update:

I deleted the "Malformed conditional" lines (see below)  in the
gcc/Makefile and set WARN_CFLAGS =   (nothing)
and the compile seems to be proceeding.

Thanks
Sean

Sean McLaughlin wrote:

> Having no luck compiling, there seems to be some kind of parsing error
> but I can't figure it out.  The "" lines from the
> gcc/Makefile seem to be properly formatted as comments but show up
> anyway (see below).
>
> GCC Version - Reading specs from
> /usr/freeware/lib/gcc-lib/mips-sgi-irix6.2/2.95.2/specs
> gcc version 2.95.2 19991024 (release)
>
> Hinv:
> CPU: MIPS R4000 Processor Chip Revision: 3.0
> FPU: MIPS R4000 Floating Point Coprocessor Revision: 0.0
> 1 100 MHZ IP22 Processor
> Main memory size: 288 Mbytes
>
> Gmake gives up right away...
> ***gmake output***
> gmake[1]: Entering directory `/usr/people/la/seanm/objdir/libiberty'
> if [ x"" != x ] && [ ! -d pic ]; then \
>   mkdir pic; \
> else true; fi
> touch stamp-picdir
> CONFIG_FILES= CONFIG_HEADERS=config.h:config.in /bin/sh ./config.status
> creating config.h
> Usage: true [-vV] archive
> true: supported targets: elf32-bigmips elf32-littlemips elf64-bigmips
> elf64-littlemips srec symbolsrec tekhex binary ihex irix-core
> gmake[1]: *** [config.h] Error 1
> gmake[1]: Leaving directory `/usr/people/la/seanm/objdir/libiberty'
> gmake: *** [all-libiberty] Error 2
>
> Smake plugs away for awhile... then
> ***smake bootstrap output:***
> --- bootstrap ---
> Bootstrapping the compiler
> "Makefile", line 452: Warning: Malformed conditional (we may be using
> collect2.)
> "Makefile", line 3680: Warning: Malformed conditional (it has already
> been run on the files in `include'.)
> "Makefile", line 3946: Warning: Malformed conditional ([ -f enquire ] ;
> then true; else false; fi)
> --- stage1_build ---
>  smake CC="gcc" libdir=/usr/local/lib LANGUAGES="c "  CFLAGS="-g "
> MAKEINFO="makeinfo "  MAKEINFOFLAGS=""
> "Makefile", line 452: Warning: Malformed conditional (we may be using
> collect2.)
> "Makefile", line 3680: Warning: Malformed conditional (it has already
> been run on the files in `include'.)
> "Makefile", line 3946: Warning: Malformed conditional ([ -f enquire ] ;
> then true; else false; fi)
> --- xlimits.h ---
>  if [ -f /usr/include/limits.h ] ; then  cat ../../gcc-3.0/gcc/limitx.h
> ../../gcc-3.0/gcc/glimits.h ../../gcc-3.0/gcc/limity.h > tmp-xlimits.h;
> else  cat ../../gcc-3.0/gcc/glimits.h > tmp-xlimits.h;  fi
> --- version.o ---
>  gcc -c  -DIN_GCC     -g  -W -Wall -Wwrite-strings -Wstrict-prototypes
> -Wmissing-prototypes -warn)sh: syntax error at line 1 : `)' unexpected
> *** Error code 2
> --- xlimits.h ---
>  mv tmp-xlimits.h xlimits.h
> smake: Error: 1 error
> *** Error code 2
> smake: Error: 1 error
> *** Error code 2
> smake: Error: 1 error
>
> ***END***
>
> Thanks,
> Sean McLaughlin
> La Dept Natural Resources


More information about the Gcc-bugs mailing list