[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#248428: FTBFS: m68k: error: `Scan' undeclared



Package: gcc-snapshot
Severity: serious
Justification: no longer builds from source

Compiling gcc-snapshot in a sid chroot (from yesterday 10 May 2004) fails
with the following:

cc  -c -DHAVE_CONFIG_H -g -O2  -I. -I../../src/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../src/libiberty/cplus-dem.c -o cplus-dem.o
../../src/libiberty/cplus-dem.c: In function `demangle_prefix':
../../src/libiberty/cplus-dem.c:2836: error: `Scan' undeclared (first use in this function)
../../src/libiberty/cplus-dem.c:2836: error: (Each undeclared identifier is reported only once
../../src/libiberty/cplus-dem.c:2836: error: for each function it appears in.)
make[3]: *** [cplus-dem.o] Error 1
make[3]: Leaving directory `/home/mrvn/gcc-snapshot/gcc-snapshot-20040502/build/libiberty'

MfG
	Goswin

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: m68k
Kernel: Linux 2.2.10
Locale: LANG=C, LC_CTYPE=C

dpkg-buildpackage: source package is gcc-snapshot
dpkg-buildpackage: source version is 20040502-1
dpkg-buildpackage: host architecture is m68k
 fakeroot debian/rules clean
rm -rf stamps
rm -rf gcc-20040502 gpc-20030830
make -f debian/rules2 clean
make[1]: Entering directory `/home/mrvn/gcc-snapshot/gcc-snapshot-20040502'
dh_testdir
rm -f pxxx status
rm -f *-summary *-protocol
if [ -f /home/mrvn/gcc-snapshot/gcc-snapshot-20040502/src/gcc/p/config-lang.in.debian ]; then \
  mv -f /home/mrvn/gcc-snapshot/gcc-snapshot-20040502/src/gcc/p/config-lang.in.debian /home/mrvn/gcc-snapshot/gcc-snapshot-20040502/src/gcc/p/config-lang.in; \
else true; fi
rm -f /home/mrvn/gcc-snapshot/gcc-snapshot-20040502/src/gcc/po/*.gmo
rm -f debian/lib{gcj,objc,stdc++}{-v3,[0-9]}*.{{pre,post}{inst,rm},shlibs}
rm -f debian/shlibs.local
rm -f debian/*.debhelper # gcc-3.0-base.p*.debhelper isn't cleaned
rm -rf bin locales
dh_clean
make[1]: Leaving directory `/home/mrvn/gcc-snapshot/gcc-snapshot-20040502'
rm -rf /home/mrvn/gcc-snapshot/gcc-snapshot-20040502/src /home/mrvn/gcc-snapshot/gcc-snapshot-20040502/build* debian/tmp*
rm -f bootstrap-* first-move-stamp
rm -f debian/*.tmp
dh_clean
 debian/rules build
: # unpack gcc tarball
mkdir stamps
if [ -d /home/mrvn/gcc-snapshot/gcc-snapshot-20040502/src ]; then \
  echo >&2 "Source directory /home/mrvn/gcc-snapshot/gcc-snapshot-20040502/src exists. Delete by hand"; \
  false; \
fi
rm -rf gcc-20040502
case gcc-20040502.tar.bz2 in \
  *.bz2) tar -x --bzip2 -f gcc-20040502.tar.bz2;; \
  *.gz)  tar -x --gzip  -f gcc-20040502.tar.bz2;; \
  *)     false; \
esac
mv gcc-20040502 /home/mrvn/gcc-snapshot/gcc-snapshot-20040502/src
echo "gcc-20040502.tar.bz2 unpacked." > stamps/01-unpack-stamp-gcc-20040502.tar.bz2
echo -e "\nBuilt from Debian source package gcc-snapshot-" \
	> pxxx
echo -e "Integrated upstream packages in this version:\n" >> pxxx
for i in gcc-20040502.tar.bz2 ; do echo "  $i" >> pxxx; done
mv -f pxxx stamps/01-unpack-stamp
if [ -x debian/patches/test-summary.dpatch ]; then true; else chmod +x debian/patches/test-summary.dpatch; fi
if [ -f stamps/02-patch-stamp-test-summary ]; then \
  echo "test-summary patches already applied."; exit 1; \
fi
debian/patches/test-summary.dpatch -patch -d /home/mrvn/gcc-snapshot/gcc-snapshot-20040502/src
patching file contrib/test_summary
echo "test-summary patches applied." > stamps/02-patch-stamp-test-summary
if [ -x debian/patches/hppa-toplevel.dpatch ]; then true; else chmod +x debian/patches/hppa-toplevel.dpatch; fi
if [ -f stamps/02-patch-stamp-hppa-toplevel ]; then \
  echo "hppa-toplevel patches already applied."; exit 1; \
fi
debian/patches/hppa-toplevel.dpatch -patch -d /home/mrvn/gcc-snapshot/gcc-snapshot-20040502/src
patching file configure.in
Hunk #1 succeeded at 491 (offset 9 lines).
patching file configure
Hunk #1 succeeded at 1270 (offset 27 lines).
echo "hppa-toplevel patches applied." > stamps/02-patch-stamp-hppa-toplevel
if [ -x debian/patches/hppa-libjava-update.dpatch ]; then true; else chmod +x debian/patches/hppa-libjava-update.dpatch; fi
if [ -f stamps/02-patch-stamp-hppa-libjava-update ]; then \
  echo "hppa-libjava-update patches already applied."; exit 1; \
fi
debian/patches/hppa-libjava-update.dpatch -patch -d /home/mrvn/gcc-snapshot/gcc-snapshot-20040502/src
patching file gcc/config/pa/pa32-linux.h
patching file libjava/include/dwarf2-signal.h
patching file libjava/configure.in
configure.in:680: warning: Cannot check for file existence when cross compiling
echo "hppa-libjava-update patches applied." > stamps/02-patch-stamp-hppa-libjava-update
if [ -x debian/patches/amd64-specs.dpatch ]; then true; else chmod +x debian/patches/amd64-specs.dpatch; fi
if [ -f stamps/02-patch-stamp-amd64-specs ]; then \
  echo "amd64-specs patches already applied."; exit 1; \
fi
debian/patches/amd64-specs.dpatch -patch -d /home/mrvn/gcc-snapshot/gcc-snapshot-20040502/src
patching file gcc/config/i386/x86-64.h
Hunk #1 succeeded at 49 with fuzz 2.
echo "amd64-specs patches applied." > stamps/02-patch-stamp-amd64-specs
if [ -x debian/patches/libjava-mips.dpatch ]; then true; else chmod +x debian/patches/libjava-mips.dpatch; fi
if [ -f stamps/02-patch-stamp-libjava-mips ]; then \
  echo "libjava-mips patches already applied."; exit 1; \
fi
debian/patches/libjava-mips.dpatch -patch -d /home/mrvn/gcc-snapshot/gcc-snapshot-20040502/src
patching file libjava/include/mips-signal.h
echo "libjava-mips patches applied." > stamps/02-patch-stamp-libjava-mips
if [ -x debian/patches/ignore-comp-fail.dpatch ]; then true; else chmod +x debian/patches/ignore-comp-fail.dpatch; fi
if [ -f stamps/02-patch-stamp-ignore-comp-fail ]; then \
  echo "ignore-comp-fail patches already applied."; exit 1; \
fi
debian/patches/ignore-comp-fail.dpatch -patch -d /home/mrvn/gcc-snapshot/gcc-snapshot-20040502/src
patching file gcc/Makefile.in
Hunk #1 succeeded at 3608 (offset 41 lines).
echo "ignore-comp-fail patches applied." > stamps/02-patch-stamp-ignore-comp-fail
echo -e "\nPatches that Debian applied in this version:" > pxxx
for i in test-summary hppa-toplevel hppa-libjava-update amd64-specs libjava-mips    ignore-comp-fail; do \
  echo -e "\n$i:" >> pxxx; \
  sed -n 's/^# *DP: */  /p' debian/patches/$i.dpatch >> pxxx; \
done
mv -f pxxx stamps/02-patch-stamp
mkdir stamps
mkdir: cannot create directory `stamps': File exists
make: [control] Error 1 (ignored)
make -f debian/rules.conf control
tail: cannot open `/home/mrvn/gcc-snapshot/gcc-snapshot-20040502/src/libffi/libtool-version' for reading: No such file or directory
make[1]: Entering directory `/home/mrvn/gcc-snapshot/gcc-snapshot-20040502'
[ -e debian/control ] \
  && cmp -s debian/control debian/control.snapshot \
  && exit 0; \
  cp debian/control.snapshot debian/control; touch stamps/03-control-stamp
rm -f debian/rules.parameters.tmp
( \
	echo '# configuration parameters taken from upstream source files'; \
	echo 'VER		:= 3.5.0'; \
	echo 'DPKGVER		:= 3.5.0-1'; \
	echo 'DEB_VERSION	:= 1:3.5.0-1'; \
	echo 'DEB_SOVERSION	:= 1:3.5.0-1'; \
	echo 'GCC_SONAME	:= 1'; \
	echo 'CXX_SONAME	:= 6'; \
	echo 'OBJC_SONAME	:= @VERSION@'; \
	echo 'GCJ_SONAME	:= 6'; \
	echo 'FFI_SONAME	:= '; \
	echo 'LIBC_DEP		:= libc6-dev (>= 2.2.5-8)'; \
) > debian/rules.parameters.tmp
[ -e debian/rules.parameters ] \
  && cmp -s debian/rules.parameters debian/rules.parameters.tmp \
  && rm -f debian/rules.parameters.tmp && exit 0; \
  mv debian/rules.parameters.tmp debian/rules.parameters; \
  touch stamps/03-control-stamp
make[1]: Leaving directory `/home/mrvn/gcc-snapshot/gcc-snapshot-20040502'
make -f debian/rules2 stamps/04-configure-stamp
make[1]: Entering directory `/home/mrvn/gcc-snapshot/gcc-snapshot-20040502'
dh_testdir
: # give information about the build process
-------------------------- Build process variables --------------------------
Package source: gcc-snapshot
Version: 3.5.0
Base Debian version: 3.5.0-1
Configured with: -v
	 --enable-languages=c,c++,java,f77,objc,treelang
	 --prefix=/usr/lib/gcc-snapshot
	 --enable-shared
	 --with-system-zlib
	 --enable-nls
	 --enable-threads=posix
	 --without-included-gettext
	 --disable-werror
	 --enable-__cxa_atexit
	 --enable-clocale=gnu
	 --enable-libstdcxx-debug
	 --enable-java-gc=boehm
	 --enable-java-awt=gtk
	 m68k-linux
	
Using shell /bin/bash -e		
Architecture: m68k (GNU: m68k-linux)
CPPFLAGS: 
CFLAGS: -g -O2 
LDFLAGS: 
BOOT_CFLAGS: -O2 
STAGE1_CFLAGS: -g
Install prefix: usr/lib/gcc-snapshot
Will build the C++ compiler
Will build the ObjC compiler.
Will not build the extra ObjC runtime for garbage collection.
Will build the Fortran77 compiler.
Will build the Java compiler.
Will build the FFI library.
Will not build the Ada compiler: disabled for architecure m68k
Will not build the Pascal compiler: disabled by hand
Will run the testsuite.
-----------------------------------------------------------------------------

rm -f stamps/04-configure-stamp stamps/05-build-stamp
: # generate debian/README.Debian
cat debian/README stamps/02-patch-stamp > debian/README.Debian
rm -rf /home/mrvn/gcc-snapshot/gcc-snapshot-20040502/build
mkdir /home/mrvn/gcc-snapshot/gcc-snapshot-20040502/build
: # configure
cd /home/mrvn/gcc-snapshot/gcc-snapshot-20040502/build && \
  CC="cc " \
  PATH=/home/mrvn/gcc-snapshot/gcc-snapshot-20040502/bin:$PATH \
	../src/configure -v --enable-languages=c,c++,java,f77,objc,treelang --prefix=/usr/lib/gcc-snapshot --enable-shared --with-system-zlib --enable-nls --enable-threads=posix --without-included-gettext --disable-werror --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-gc=boehm --enable-java-awt=gtk m68k-linux
creating cache ./config.cache
checking host system type... m68k-unknown-linux-gnu
checking target system type... m68k-unknown-linux-gnu
checking build system type... m68k-unknown-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking for gcc... cc 
checking whether the C compiler (cc  -g -O2 ) works... yes
checking whether the C compiler (cc  -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc  accepts -g... yes
checking for gnatbind... no
checking whether compiler driver understands Ada... no
checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2
The following languages will be built: c,c++,f77,java,objc,treelang
*** This configuration is not supported in the following subdirectories:
     target-libada
    (Any other directories should still work fine.)
checking for bison... bison -y
checking for gm4... no
checking for gnum4... no
checking for m4... m4
checking for flex... flex
checking for m68k-linux-ar... no
checking for ar... ar
checking for m68k-linux-as... no
checking for as... as
checking for m68k-linux-dlltool... no
checking for dlltool... dlltool
checking for m68k-linux-ld... no
checking for ld... ld
checking for m68k-linux-nm... no
checking for nm... nm
checking for m68k-linux-ranlib... no
checking for ranlib... ranlib
checking for m68k-linux-windres... no
checking for windres... windres
checking for m68k-linux-objcopy... no
checking for objcopy... objcopy
checking for m68k-linux-objdump... no
checking for objdump... objdump
checking for m68k-linux-ar... no
checking for ar... ar
checking for m68k-linux-as... no
checking for as... as
checking for m68k-linux-dlltool... no
checking for dlltool... dlltool
checking for m68k-linux-ld... no
checking for ld... ld
checking for m68k-linux-nm... no
checking for nm... nm
checking for m68k-linux-ranlib... no
checking for ranlib... ranlib
checking for m68k-linux-windres... no
checking for windres... windres
checking whether to enable maintainer-specific portions of Makefiles... no
updating cache ./config.cache
creating ./config.status
creating Makefile
touch stamps/04-configure-stamp
make[1]: Leaving directory `/home/mrvn/gcc-snapshot/gcc-snapshot-20040502'
make -f debian/rules2 stamps/05-build-stamp
make[1]: Entering directory `/home/mrvn/gcc-snapshot/gcc-snapshot-20040502'
dh_testdir
rm -f bootstrap-protocol
: # build native compiler
( \
  set +e; \
  PATH=/home/mrvn/gcc-snapshot/gcc-snapshot-20040502/bin:$PATH \
  LIBART_CONFIG=libart2-config \
    make -C /home/mrvn/gcc-snapshot/gcc-snapshot-20040502/build  bootstrap-lean \
	CC="cc " CFLAGS="-g -O2 " \
	BOOT_CFLAGS="-O2 " LDFLAGS="" \
	STAGE1_CFLAGS="-g" \
	infodir=/usr/lib/gcc-snapshot/share/info \
	mandir=/usr/lib/gcc-snapshot/share/man; \
  echo $? > status; \
) 2>&1 | tee bootstrap-protocol
make[2]: Entering directory `/home/mrvn/gcc-snapshot/gcc-snapshot-20040502/build'
Configuring in intl
configure: creating cache ./config.cache
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for m68k-linux-gcc... cc 
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc  accepts -g... yes
checking for cc  option to accept ANSI C... none needed
checking build system type... m68k-unknown-linux-gnu
checking host system type... m68k-unknown-linux-gnu
checking for m68k-linux-ranlib... ranlib
checking for strerror in -lcposix... no
checking how to run the C preprocessor... cc  -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking whether integer division by zero raises SIGFPE... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unsigned long long... yes
checking for inttypes.h... yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking for ld used by GCC... ld
checking if the linker (ld) is GNU ld... yes
checking for shared library run path origin... done
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for feof_unlocked... yes
checking for fgets_unlocked... yes
checking for getc_unlocked... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for __fsetlocking... yes
checking for iconv... yes
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for bison... bison
checking version of bison... 1.875, ok
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.intl
config.status: creating config.h
config.status: executing default-1 commands
make[3]: Entering directory `/home/mrvn/gcc-snapshot/gcc-snapshot-20040502/build/intl'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/mrvn/gcc-snapshot/gcc-snapshot-20040502/build/intl'
Configuring in libiberty
configure: creating cache ./config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking for makeinfo... makeinfo
checking for perl... perl
checking build system type... m68k-unknown-linux-gnu
checking host system type... m68k-unknown-linux-gnu
checking for m68k-linux-ar... ar
checking for m68k-linux-ranlib... ranlib
checking for m68k-linux-gcc... cc 
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc  accepts -g... yes
checking for cc  option to accept ANSI C... none needed
checking how to run the C preprocessor... cc  -E
checking whether cc  and cc understand -c and -o together... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether byte ordering is bigendian... yes
checking for a BSD-compatible install... /usr/bin/install -c
Appending ../../src/libiberty/../config/mh-m68kpic to xhost-mkfrag
checking for sys/file.h... yes
checking for sys/param.h... yes
checking for limits.h... yes
checking for stdlib.h... yes
checking for malloc.h... yes
checking for string.h... yes
checking for unistd.h... yes
checking for strings.h... yes
checking for sys/time.h... yes
checking for time.h... yes
checking for sys/resource.h... yes
checking for sys/stat.h... yes
checking for sys/mman.h... yes
checking for fcntl.h... yes
checking for alloca.h... yes
checking for sys/pstat.h... no
checking for sys/sysmp.h... no
checking for sys/sysinfo.h... yes
checking for machine/hal_sysinfo.h... no
checking for sys/table.h... no
checking for sys/sysctl.h... yes
checking for sys/systemcfg.h... no
checking for stdint.h... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether errno must be declared... no
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... yes
checking for strings.h... (cached) yes
checking for inttypes.h... yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for uintptr_t... yes
checking for a 64-bit type... uint64_t
checking for pid_t... yes
checking for library containing strerror... none required
checking for asprintf... yes
checking for atexit... yes
checking for basename... yes
checking for bcmp... yes
checking for bcopy... yes
checking for bsearch... yes
checking for bzero... yes
checking for calloc... yes
checking for clock... yes
checking for ffs... yes
checking for getcwd... yes
checking for getpagesize... yes
checking for index... yes
checking for insque... yes
checking for memchr... yes
checking for memcmp... yes
checking for memcpy... yes
checking for memmove... yes
checking for mempcpy... yes
checking for memset... yes
checking for mkstemps... no
checking for putenv... yes
checking for random... yes
checking for rename... yes
checking for rindex... yes
checking for setenv... yes
checking for snprintf... yes
checking for sigsetmask... yes
checking for stpcpy... yes
checking for stpncpy... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strncasecmp... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtod... yes
checking for strtol... yes
checking for strtoul... yes
checking for tmpnam... yes
checking for vasprintf... yes
checking for vfprintf... yes
checking for vprintf... yes
checking for vsnprintf... yes
checking for vsprintf... yes
checking for waitpid... yes
checking whether alloca needs Cray hooks... no
checking stack direction for C alloca... -1
checking for unistd.h... (cached) yes
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for _doprnt... no
checking for sys_errlist... yes
checking for sys_nerr... yes
checking for sys_siglist... yes
checking for external symbol _system_configuration... no
checking for getrusage... yes
checking for on_exit... yes
checking for psignal... yes
checking for strerror... yes
checking for strsignal... yes
checking for sysconf... yes
checking for times... yes
checking for sbrk... yes
checking for gettimeofday... yes
checking for realpath... yes
checking for canonicalize_file_name... yes
checking for pstat_getstatic... no
checking for pstat_getdynamic... no
checking for sysmp... no
checking for getsysinfo... no
checking for table... no
checking for sysctl... yes
checking whether canonicalize_file_name must be declared... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... yes
checking for working strncmp... yes
updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating testsuite/Makefile
config.status: creating config.h
config.status: executing default commands
make[3]: Entering directory `/home/mrvn/gcc-snapshot/gcc-snapshot-20040502/build/libiberty'
if [ x"-fpic" != x ] && [ ! -d pic ]; then \
  mkdir pic; \
else true; fi
touch stamp-picdir
if [ x"-fpic" != x ]; then \
  cc  -c -DHAVE_CONFIG_H -g -O2  -I. -I../../src/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../src/libiberty/regex.c -o pic/regex.o; \
else true; fi
In file included from ../../src/include/xregex.h:26,
                 from ../../src/libiberty/regex.c:197:
../../src/include/xregex2.h:548: warning: ISO C90 does not support `static' or type qualifiers in parameter array declarators
In file included from ../../src/libiberty/regex.c:651:
../../src/libiberty/regex.c: In function `byte_compile_range':
../../src/libiberty/regex.c:4550: warning: signed and unsigned type in conditional expression
../../src/libiberty/regex.c:4560: warning: signed and unsigned type in conditional expression
../../src/libiberty/regex.c:4560: warning: signed and unsigned type in conditional expression
cc  -c -DHAVE_CONFIG_H -g -O2  -I. -I../../src/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../src/libiberty/regex.c -o regex.o
In file included from ../../src/include/xregex.h:26,
                 from ../../src/libiberty/regex.c:197:
../../src/include/xregex2.h:548: warning: ISO C90 does not support `static' or type qualifiers in parameter array declarators
In file included from ../../src/libiberty/regex.c:651:
../../src/libiberty/regex.c: In function `byte_compile_range':
../../src/libiberty/regex.c:4550: warning: signed and unsigned type in conditional expression
../../src/libiberty/regex.c:4560: warning: signed and unsigned type in conditional expression
../../src/libiberty/regex.c:4560: warning: signed and unsigned type in conditional expression
if [ x"-fpic" != x ]; then \
  cc  -c -DHAVE_CONFIG_H -g -O2  -I. -I../../src/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../src/libiberty/cplus-dem.c -o pic/cplus-dem.o; \
else true; fi
cc  -c -DHAVE_CONFIG_H -g -O2  -I. -I../../src/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../src/libiberty/cplus-dem.c -o cplus-dem.o
../../src/libiberty/cplus-dem.c: In function `demangle_prefix':
../../src/libiberty/cplus-dem.c:2836: error: `Scan' undeclared (first use in this function)
../../src/libiberty/cplus-dem.c:2836: error: (Each undeclared identifier is reported only once
../../src/libiberty/cplus-dem.c:2836: error: for each function it appears in.)
make[3]: *** [cplus-dem.o] Error 1
make[3]: Leaving directory `/home/mrvn/gcc-snapshot/gcc-snapshot-20040502/build/libiberty'
make[2]: *** [all-libiberty] Error 2
make[2]: Leaving directory `/home/mrvn/gcc-snapshot/gcc-snapshot-20040502/build'
s=`cat status`; rm -f status; test $s -eq 0
make[1]: *** [stamps/05-build-stamp] Error 1
make[1]: Leaving directory `/home/mrvn/gcc-snapshot/gcc-snapshot-20040502'
make: *** [stamps/05-build-stamp] Error 2

Reply to: