c++ support bits moved
Nathan Sidwell
nathan@codesourcery.com
Thu Oct 12 07:40:00 GMT 2000
Hi,
the recent patch to move the C++ bits out of libgcc2 and into libstdc++
have broken the in-tree build -- much like the zlib insertion did which
Alexandre fixed. ( http://gcc.gnu.org/ml/gcc-bugs/2000-10/msg00221.html )
I attach the configure output and failing build output. It's the same
problem as with zlib, but this time at the build stage. We're inside
topdir/i686-pc-linux-gnu/libstdc++ looking for ../gcc/gansidecl.h
My attempts at fixing it have come to nought, perhaps someone with a
better understanding of how it's supposed to work can help?
nathan
--
Dr Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
'But that's a lie.' - 'Yes it is. What's your point?'
nathan@codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan@acm.org
++ which as
++ which ld
+ CC=gcc
+ CXX=g++
+ ./configure --prefix=/home/nathan/local/unknown-i686-Linux-2/egcs-devel --program-transform-name=s,^,devel-, --with-as=/usr/bin/as --with-ld=/usr/bin/ld
Configuring for a i686-pc-linux-gnu host.
Created "Makefile" in /home/nathan/egcs/devel/egcs using "mt-frag"
./config.status is unchanged
Configuring libiberty...
loading cache ../config.cache
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ar... (cached) ar
checking for ranlib... (cached) ranlib
checking for gcc... (cached) gcc
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for POSIXized ISC... no
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking how to run the C preprocessor... (cached) gcc -E
checking for sys/file.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for limits.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for time.h... (cached) yes
checking for sys/resource.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/mman.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking whether errno must be declared... (cached) no
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking for asprintf... (cached) yes
checking for atexit... (cached) yes
checking for basename... (cached) yes
checking for bcmp... (cached) yes
checking for bcopy... (cached) yes
checking for bzero... (cached) yes
checking for calloc... (cached) yes
checking for clock... (cached) yes
checking for getcwd... (cached) yes
checking for getpagesize... (cached) yes
checking for index... (cached) yes
checking for insque... (cached) yes
checking for memchr... (cached) yes
checking for memcmp... (cached) yes
checking for memcpy... (cached) yes
checking for memmove... (cached) yes
checking for memset... (cached) yes
checking for mkstemps... (cached) no
checking for putenv... (cached) yes
checking for random... (cached) yes
checking for rename... (cached) yes
checking for rindex... (cached) yes
checking for setenv... (cached) yes
checking for sigsetmask... (cached) yes
checking for strcasecmp... (cached) yes
checking for strchr... (cached) yes
checking for strdup... (cached) yes
checking for strncasecmp... (cached) yes
checking for strrchr... (cached) yes
checking for strstr... (cached) yes
checking for strtod... (cached) yes
checking for strtol... (cached) yes
checking for strtoul... (cached) yes
checking for tmpnam... (cached) yes
checking for vasprintf... (cached) yes
checking for vfprintf... (cached) yes
checking for vprintf... (cached) yes
checking for vsprintf... (cached) yes
checking for waitpid... (cached) yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for ANSI C header files... (cached) yes
checking for pid_t... (cached) yes
checking for vfork.h... (cached) no
checking for working vfork... (cached) yes
checking for sys_errlist... (cached) yes
checking for sys_nerr... (cached) yes
checking for sys_siglist... (cached) yes
checking for getrusage... (cached) yes
checking for on_exit... (cached) yes
checking for psignal... (cached) yes
checking for strerror... (cached) yes
checking for strsignal... (cached) yes
checking for sysconf... (cached) yes
checking for times... (cached) yes
checking for sbrk... (cached) yes
checking for gettimeofday... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) yes
checking for working strncmp... (cached) yes
creating ./config.status
creating Makefile
creating testsuite/Makefile
creating config.h
Configuring texinfo...
loading cache ../config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking whether gcc needs -traditional... (cached) no
checking for a BSD compatible install... /usr/bin/install -c
checking for ranlib... (cached) ranlib
checking for texconfig... (cached) true
checking for POSIXized ISC... no
checking for minix/config.h... (cached) no
checking whether to enable maintainer-specific portions of Makefiles... no
checking for Cygwin32 environment... (cached) no
checking for Mingw32 environment... (cached) no
checking for executable suffix... (cached) no
checking for zlib.h... (cached) yes
checking for gzdopen in -lz... (cached) yes
checking for sigblock... (cached) yes
checking for tputs in -lncurses... (cached) yes
checking for ncurses/termcap.h... (cached) yes
checking for ANSI C header files... (cached) yes
checking for fcntl.h... (cached) yes
checking for pwd.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for termcap.h... (cached) yes
checking for termio.h... (cached) yes
checking for termios.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/fcntl.h... (cached) yes
checking for sys/file.h... (cached) yes
checking for sys/ptem.h... (cached) no
checking for sys/time.h... (cached) yes
checking for sys/ttold.h... (cached) no
checking for sys/wait.h... (cached) yes
checking for off_t... (cached) yes
checking return type of signal handlers... (cached) void
checking for working const... (cached) yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for vprintf... (cached) yes
checking for setvbuf... (cached) yes
checking for getcwd... (cached) yes
checking for memset... (cached) yes
checking for bzero... (cached) yes
checking for strchr... (cached) yes
checking for strcasecmp... (cached) yes
checking for sigprocmask... (cached) yes
checking for sigsetmask... (cached) yes
checking for memcpy... (cached) yes
checking for memmove... (cached) yes
checking for strdup... (cached) yes
checking for strerror... (cached) yes
checking for inline... (cached) inline
checking for size_t... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) yes
checking for argz.h... (cached) yes
checking for limits.h... (cached) yes
checking for locale.h... (cached) yes
checking for nl_types.h... (cached) yes
checking for malloc.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for values.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for getcwd... (cached) yes
checking for munmap... (cached) yes
checking for putenv... (cached) yes
checking for setenv... (cached) yes
checking for setlocale... (cached) yes
checking for strchr... (cached) yes
checking for strcasecmp... (cached) yes
checking for __argz_count... (cached) yes
checking for __argz_stringify... (cached) yes
checking for __argz_next... (cached) yes
checking for LC_MESSAGES... (cached) yes
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for libintl.h... (cached) yes
checking for gettext in libc... (cached) yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... (cached) yes
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for catalogs to be installed... de fr
creating ./config.status
creating Makefile
creating doc/Makefile
creating info/Makefile
creating intl/Makefile
creating lib/Makefile
creating makeinfo/Makefile
creating po/Makefile.in
creating util/Makefile
creating config.h
Configuring gcc...
loading cache ../config.cache
checking LIBRARY_PATH variable... ok
checking GCC_EXEC_PREFIX variable... ok
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking whether gcc and cc understand -c and -o together... (cached) yes
checking for long double... (cached) yes
checking whether gcc accepts -Wno-long-long... (cached) yes
checking whether make sets ${MAKE}... (cached) yes
checking whether a default assembler was specified... yes (/usr/bin/as - GNU as)
checking whether a default linker was specified... yes (/usr/bin/ld - GNU ld)
checking for GNU C library... (cached) yes
checking for inline... (cached) inline
checking for mawk... (cached) gawk
checking for flex... (cached) flex
checking for yywrap in -lfl... (cached) yes
checking whether ln works... (cached) yes
checking whether ln -s works... (cached) yes
checking for volatile... (cached) yes
checking for ranlib... (cached) ranlib
checking for bison... (cached) bison -y
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking whether string.h and strings.h may both be included... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking for limits.h... (cached) yes
checking for stddef.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for time.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for unistd.h... (cached) yes
checking for stab.h... (cached) yes
checking for sys/file.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/resource.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for sys/times.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for direct.h... (cached) no
checking for malloc.h... (cached) yes
checking for langinfo.h... (cached) yes
checking for iconv.h... (cached) yes
checking for thread.h... (cached) no
checking for pthread.h... (cached) yes
checking for gnatbind... (cached) no
Using makeinfo from the unified source tree.
checking for preprocessor stringizing operator... (cached) yes
checking for inttypes.h... (cached) yes
checking for unsigned enumerated bitfields... (cached) yes
checking for strtoul... (cached) yes
checking for bsearch... (cached) yes
checking for putenv... (cached) yes
checking for popen... (cached) yes
checking for bcopy... (cached) yes
checking for bzero... (cached) yes
checking for bcmp... (cached) yes
checking for index... (cached) yes
checking for rindex... (cached) yes
checking for strchr... (cached) yes
checking for strrchr... (cached) yes
checking for kill... (cached) yes
checking for getrlimit... (cached) yes
checking for setrlimit... (cached) yes
checking for atoll... (cached) yes
checking for atoq... (cached) no
checking for sysconf... (cached) yes
checking for isascii... (cached) yes
checking for gettimeofday... (cached) yes
checking for strsignal... (cached) yes
checking for putc_unlocked... (cached) yes
checking for fputc_unlocked... (cached) yes
checking for fputs_unlocked... (cached) yes
checking for getrusage... (cached) yes
checking for valloc... (cached) yes
checking for iconv... (cached) yes
checking for nl_langinfo... (cached) yes
checking for ssize_t... (cached) yes
checking for uid_t in sys/types.h... (cached) yes
checking type of array argument to getgroups... (cached) gid_t
checking for vprintf... (cached) yes
checking whether the printf functions support %p... (cached) yes
checking for pid_t... (cached) yes
checking for vfork.h... (cached) no
checking for working vfork... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap which provides zeroed pages anywhere... (cached) yes
checking for working mmap of a file... (cached) yes
checking whether bcopy is declared... (cached) yes
checking whether bzero is declared... (cached) yes
checking whether bcmp is declared... (cached) yes
checking whether index is declared... (cached) yes
checking whether rindex is declared... (cached) yes
checking whether getenv is declared... (cached) yes
checking whether atol is declared... (cached) yes
checking whether sbrk is declared... (cached) yes
checking whether abort is declared... (cached) yes
checking whether atof is declared... (cached) yes
checking whether getcwd is declared... (cached) yes
checking whether getwd is declared... (cached) yes
checking whether strsignal is declared... (cached) yes
checking whether putc_unlocked is declared... (cached) yes
checking whether fputs_unlocked is declared... (cached) yes
checking whether strstr is declared... (cached) yes
checking whether environ is declared... (cached) yes
checking whether malloc is declared... (cached) yes
checking whether realloc is declared... (cached) yes
checking whether calloc is declared... (cached) yes
checking whether free is declared... (cached) yes
checking whether basename is declared... (cached) yes
checking whether getopt is declared... (cached) yes
checking whether getrlimit is declared... (cached) yes
checking whether setrlimit is declared... (cached) yes
checking whether getrusage is declared... (cached) yes
checking if mkdir takes one argument... (cached) no
Using `./config/i386/i386.c' to output insns.
Using `./config/i386/i386.md' as machine description file.
Using `./config/i386/linux.h' as target machine macro file.
Using `./config/i386/xm-i386.h' as host machine macro file.
checking for strerror in -lcposix... (cached) no
checking for working const... (cached) yes
checking for off_t... (cached) yes
checking for size_t... (cached) yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for argz.h... (cached) yes
checking for limits.h... (cached) yes
checking for locale.h... (cached) yes
checking for nl_types.h... (cached) yes
checking for malloc.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for getcwd... (cached) yes
checking for munmap... (cached) yes
checking for putenv... (cached) yes
checking for setenv... (cached) yes
checking for setlocale... (cached) yes
checking for strchr... (cached) yes
checking for strcasecmp... (cached) yes
checking for strdup... (cached) yes
checking for __argz_count... (cached) yes
checking for __argz_stringify... (cached) yes
checking for __argz_next... (cached) yes
checking for LC_MESSAGES... (cached) yes
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for libintl.h... (cached) yes
checking for gettext in libc... (cached) yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... (cached) yes
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for catalogs to be installed... en_GB
checking whether windows registry support is requested... yes
checking registry key on windows hosts... 2.97
checking what assembler to use... /usr/bin/as
checking what nm to use... nm
checking assembler alignment features... .p2align including maximum skip
checking assembler subsection support... working .subsection -1
checking assembler weak support... yes
checking assembler hidden support...
checking assembler instructions... filds fists
Using ggc-page for garbage collection.
checking for libstdc++ to install... v2
checking whether to enable maintainer-specific portions of Makefiles... no
Links are now set up to build a native compiler for i686-pc-linux-gnu
creating ./config.status
creating Makefile
creating intl/Makefile
creating po/Makefile.in
creating fixinc/Makefile
creating gccbug
creating mklibgcc
creating cp/Makefile
creating f/Makefile
creating java/Makefile
creating auto-host.h
Merged x-linux.
Merged t-linux and i386/t-crtstuff and t-install-cpp.
Created `objc/Makefile'.
Configuring etc...
loading cache ../config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
creating ./config.status
creating Makefile
More information about the Gcc-bugs
mailing list