Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get gcc 4.7.4 to build #69

Open
Tracked by #30
zombiezen opened this issue Oct 29, 2024 · 5 comments
Open
Tracked by #30

Get gcc 4.7.4 to build #69

zombiezen opened this issue Oct 29, 2024 · 5 comments
Labels
bug Something isn't working standard library Standard library

Comments

@zombiezen
Copy link
Collaborator

zombiezen commented Oct 29, 2024

I'm failing to build the GCC 4.7.4 from live-bootstrap. The basic error is:

checking how to run the C++ preprocessor... /zb/store/hfwl0p2fzipd4aflhzgiajpaszz1s019-gcc-4.0.4/bin/cpp
configure: error: in `/build/src/gcc-4.7.4/build/gcc-4.7.4/build/libcpp':
configure: error: C++ preprocessor "/zb/store/hfwl0p2fzipd4aflhzgiajpaszz1s019-gcc-4.0.4/bin/cpp" fails sanity check
@zombiezen zombiezen mentioned this issue Oct 29, 2024
7 tasks
@zombiezen zombiezen added bug Something isn't working standard library Standard library labels Oct 29, 2024
@zombiezen zombiezen added this to the MVP milestone Oct 29, 2024
@zombiezen
Copy link
Collaborator Author

AFAICT neither of the gcc 4.0.4 copies that get built include a C++ compiler, so this checks out, so it's odd we have a C++ dependency.

@zombiezen
Copy link
Collaborator Author

I think the problem is that we try to configure libstdc++ before building gcc 4.7.4. (Not sure why this wouldn't be a problem in upstream.) Going to try changing the script to run the configure during the build.

@zombiezen
Copy link
Collaborator Author

On 94337c5, I'm hitting a syntax error in the configure script. (As well as an issue with the preprocessor, but it seems to go past that?)

Log
||| Configure for gcc
checking build system type... i386-unknown-linux-musl
checking host system type... i386-unknown-linux-musl
checking target system type... i386-unknown-linux-musl
checking LIBRARY_PATH variable... ok
checking GCC_EXEC_PREFIX variable... ok
checking whether to place generated files in the source directory... no
checking whether a default linker was specified... no
checking whether a default assembler was specified... no
checking for i386-unknown-linux-musl-gcc... i386-unknown-linux-musl-gcc
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 i386-unknown-linux-musl-gcc accepts -g... yes
checking for i386-unknown-linux-musl-gcc option to accept ISO C89... none needed
../../gcc/configure: line 4310: AM_PROG_CC_C_O: not found
checking for i386-unknown-linux-musl-g++... no
checking for i386-unknown-linux-musl-c++... no
checking for i386-unknown-linux-musl-gpp... no
checking for i386-unknown-linux-musl-aCC... no
checking for i386-unknown-linux-musl-CC... no
checking for i386-unknown-linux-musl-cxx... no
checking for i386-unknown-linux-musl-cc++... no
checking for i386-unknown-linux-musl-cl.exe... no
checking for i386-unknown-linux-musl-FCC... no
checking for i386-unknown-linux-musl-KCC... no
checking for i386-unknown-linux-musl-RCC... no
checking for i386-unknown-linux-musl-xlC_r... no
checking for i386-unknown-linux-musl-xlC... no
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking for i386-unknown-linux-musl-gnatbind... no
checking for gnatbind... no
checking for i386-unknown-linux-musl-gnatmake... no
checking for gnatmake... no
checking whether compiler driver understands Ada... no
checking how to run the C preprocessor... i386-unknown-linux-musl-gcc -E
checking for grep that handles long lines and -e... /zb/store/g83nksc36sjd7f5adpm9f03ni2l000gr-grep-2.4/bin/grep
checking for egrep... /zb/store/g83nksc36sjd7f5adpm9f03ni2l000gr-grep-2.4/bin/grep -E
checking for ANSI C header files... yes
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking how to run the C preprocessor... i386-unknown-linux-musl-gcc -E
checking for inline... inline
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking size of void *... 4
checking size of short... 2
checking size of int... 4
checking size of long... 4
checking for long long... yes
checking size of long long... 8
checking for __int64... no
checking for int8_t... yes
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for long long int... yes
checking for intmax_t... yes
checking for intptr_t... yes
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for unsigned long long int... yes
checking for uintmax_t... yes
checking for uintptr_t... yes
checking whether i386-unknown-linux-musl-gcc supports -W... yes
checking whether i386-unknown-linux-musl-gcc supports -Wall... yes
checking whether i386-unknown-linux-musl-gcc supports -Wnarrowing... no
checking whether i386-unknown-linux-musl-gcc supports -Wwrite-strings... yes
checking whether i386-unknown-linux-musl-gcc supports -Wcast-qual... yes
checking whether i386-unknown-linux-musl-gcc supports -Wstrict-prototypes... yes
checking whether i386-unknown-linux-musl-gcc supports -Wmissing-prototypes... yes
checking whether i386-unknown-linux-musl-gcc supports -Wmissing-format-attribute... yes
checking whether i386-unknown-linux-musl-gcc supports -Wold-style-definition... yes
checking whether i386-unknown-linux-musl-gcc supports -Wc++-compat... no
checking whether i386-unknown-linux-musl-gcc supports -pedantic -Wlong-long -Wvariadic-macros -Woverlength-strings... no
checking whether i386-unknown-linux-musl-gcc supports -fno-exceptions... yes
checking whether i386-unknown-linux-musl-gcc supports -fno-rtti... yes
checking valgrind.h usability... no
checking valgrind.h presence... no
checking for valgrind.h... no
checking for multiarch configuration... auto
configure: WARNING: fixed-point is not supported for this target, ignored
checking whether make sets $(MAKE)... yes
checking for gawk... gawk
checking whether ln -s works... yes
checking whether ln works... yes
checking for i386-unknown-linux-musl-ranlib... i386-unknown-linux-musl-ranlib
checking for a BSD compatible install... /zb/store/52jwy4z8ffqq1agbhl3gmmmh5wmfdygs-coreutils-9.4/bin/install -c
checking for cmp's capabilities... gnucompare
checking for mktemp... yes
checking for makeinfo... makeinfo
checking for modern makeinfo... yes
checking for recent Pod::Man... yes
checking for flex... flex
checking for bison... bison
checking for nm... nm
checking for ar... ar
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking whether string.h and strings.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for limits.h... yes
checking for stddef.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for time.h... yes
checking for iconv.h... yes
checking for fcntl.h... yes
checking for unistd.h... (cached) yes
checking for sys/file.h... yes
checking for sys/time.h... yes
checking for sys/mman.h... yes
checking for sys/resource.h... yes
checking for sys/param.h... yes
checking for sys/times.h... yes
checking for sys/stat.h... (cached) yes
checking for direct.h... no
checking for malloc.h... yes
checking for langinfo.h... yes
checking for ldfcn.h... no
checking for locale.h... yes
checking for wchar.h... yes
checking for thread.h... no
checking for pthread.h... yes
checking for CHAR_BIT... yes
checking whether byte ordering is bigendian... no
checking how to run the C++ preprocessor... /lib/cpp
configure: error: in `/build/src/gcc-4.7.4/build/gcc-4.7.4/build/gcc':
configure: WARNING: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
checking for unordered_map... no
checking for tr1/unordered_map... no
checking for ext/hash_map... no
checking for collect2 libraries... none required
checking for library containing exc_resume... no
checking for library containing kstat_open... no
checking for library containing ldexp... none required
checking for inttypes.h... yes
checking for times... yes
checking for clock... yes
checking for kill... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking for atoll... yes
checking for atoq... no
checking for sysconf... yes
checking for strsignal... yes
checking for getrusage... yes
checking for nl_langinfo... yes
checking for gettimeofday... yes
checking for mbstowcs... yes
checking for wcswidth... yes
checking for mmap... yes
checking for setlocale... yes
checking for clearerr_unlocked... yes
checking for feof_unlocked... yes
checking for ferror_unlocked... yes
checking for fflush_unlocked... yes
checking for fgetc_unlocked... yes
checking for fgets_unlocked... yes
checking for fileno_unlocked... yes
checking for fprintf_unlocked... no
checking for fputc_unlocked... yes
checking for fputs_unlocked... yes
checking for fread_unlocked... yes
checking for fwrite_unlocked... yes
checking for getchar_unlocked... yes
checking for getc_unlocked... yes
checking for putchar_unlocked... yes
checking for putc_unlocked... yes
checking for madvise... yes
checking whether mbstowcs works... yes
checking for ssize_t... yes
checking for caddr_t... yes
checking for sys/mman.h... (cached) yes
checking for mmap... (cached) yes
checking whether read-only mmap of a plain file works... yes
checking whether mmap from /dev/zero works... yes
checking for MAP_ANON(YMOUS)... yes
checking whether mmap with MAP_ANON(YMOUS) works... yes
checking for pid_t... 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 ld used by i386-unknown-linux-musl-gcc... /zb/store/zplgml1x7n5dwqy10xmy17szvdpsg280-binutils-2.30/bin/ld
checking if the linker (/zb/store/zplgml1x7n5dwqy10xmy17szvdpsg280-binutils-2.30/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking 32-bit host C ABI... yes
checking for ELF binary format... yes
checking for the common suffixes of directories in the library search path... lib,lib,lib
checking for iconv... yes
checking for working iconv... yes
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
../../gcc/configure: line 10955: syntax error: unexpected "fi"

@zombiezen
Copy link
Collaborator Author

Alright, I'm confused. libcpp (the C preprocessor) is actually the configure step that's failing. We shouldn't be passing any flags that cause the build to use a C++ compiler, so this is even more confusing. I'm going to have to keep sitting with the configure.ac to figure out why this is happening, I think.

@zombiezen
Copy link
Collaborator Author

zombiezen commented Nov 12, 2024

Reverted my tweaks from before, resulting in 89ba02a (pass1.sh). Full log output below to capture the problem.

Out of the box, this attempts to use /lib/cpp rather than the cpp that is in $PATH from /zb/store/hfwl0p2fzipd4aflhzgiajpaszz1s019-gcc-4.0.4/bin/cpp.

Log of ./zb build --file demo/bootstrap.lua 'gcc["4.7.4"]'
--- /zb/store/dw92ahf55v4n3vbyaj4bydm6viqjf80p-gcc-4.7.4.drv ---
gcc-4.7.4: beginning build using script pass1.sh
gcc-4.7.4: getting sources.
gcc-4.7.4.tar.bz2: OK
/build/src/gcc-4.7.4/build
gcc-4.7.4: unpacking source.
gcc-4.7.4: preparing source.
Applying patch: /build/src/gcc-4.7.4/patches/0001-libitm-fixes-for-musl-support.patch
patching file libitm/config/arm/hwcap.cc
patching file libitm/config/linux/x86/tls.h
Applying patch: /build/src/gcc-4.7.4/patches/0002-fixincludes-update-for-musl-support.patch
patching file fixincludes/mkfixinc.sh
Applying patch: /build/src/gcc-4.7.4/patches/0003-unwind-fix-for-musl.patch
patching file libgcc/unwind-dw2-fde-dip.c
Applying patch: /build/src/gcc-4.7.4/patches/0004-libstdc-gthr-workaround-for-musl.patch
patching file libstdc++-v3/config/os/generic/os_defines.h
patching file libstdc++-v3/configure.host
Applying patch: /build/src/gcc-4.7.4/patches/0005-musl-libc-config.patch
patching file gcc/config.gcc
patching file gcc/config/linux.h
patching file gcc/config/linux.opt
patching file gcc/configure.ac
patching file gcc/doc/invoke.texi
Applying patch: /build/src/gcc-4.7.4/patches/0006-add-musl-support-to-gcc.patch
patching file gcc/config/glibc-stdint.h
patching file gcc/config/linux.h
Applying patch: /build/src/gcc-4.7.4/patches/0007-x86-musl-support.patch
patching file gcc/config/i386/linux.h
patching file gcc/config/i386/linux64.h
Applying patch: /build/src/gcc-4.7.4/patches/0008-config-linux.h-add-INCLUDE_DEFAULTS_MUSL_LOCAL.patch
patching file gcc/config/linux.h
Applying patch: /build/src/gcc-4.7.4/patches/gcc-10-fself-test.patch
patching file gcc/common.opt
Applying patch: /build/src/gcc-4.7.4/patches/gcc-10-libgcc-builtin-macros.patch
patching file gcc/c-family/c-cppbuiltin.c
Applying patch: /build/src/gcc-4.7.4/patches/gcc-10-mlong-double.patch
patching file gcc/config/i386/i386-c.c
patching file gcc/config/i386/i386.c
Hunk #1 succeeded at 2692 (offset -94 lines).
Hunk #2 succeeded at 3880 (offset -205 lines).
patching file gcc/config/i386/i386.h
Hunk #1 succeeded at 663 (offset -8 lines).
patching file gcc/config/i386/i386.opt
patching file gcc/testsuite/gcc.target/i386/long-double-64-1.c
patching file gcc/testsuite/gcc.target/i386/long-double-64-2.c
patching file gcc/testsuite/gcc.target/i386/long-double-64-3.c
patching file gcc/testsuite/gcc.target/i386/long-double-64-4.c
patching file gcc/testsuite/gcc.target/i386/long-double-80-1.c
patching file gcc/testsuite/gcc.target/i386/long-double-80-2.c
patching file gcc/testsuite/gcc.target/i386/long-double-80-3.c
patching file gcc/testsuite/gcc.target/i386/long-double-80-4.c
patching file gcc/testsuite/gcc.target/i386/long-double-80-5.c
patching file gcc/testsuite/gcc.target/i386/long-double-80-6.c
patching file gcc/testsuite/gcc.target/i386/long-double-80-7.c
patching file libgcc/config/i386/t-linux
Applying patch: /build/src/gcc-4.7.4/patches/remove_gperf_dependency.patch
patching file gcc/cp/except.c
patching file gcc/cp/Make-lang.in
ERROR: Use of AM_GNU_GETTEXT without [external] argument is no longer supported.
configure.ac:282: warning: macro `AM_PROG_CC_C_O' not found in library
/zb/store/zh7fz6bmw594bs3c852ssfysiba863aq-libtool-2.4.7/share/aclocal/ltdl.m4:438: warning: macro `AM_CONDITIONAL' not fo
und in library                                                                                                            /zb/store/zh7fz6bmw594bs3c852ssfysiba863aq-libtool-2.4.7/share/aclocal/ltdl.m4:438: warning: macro `AM_CONDITIONAL' not fo
und in library                                                                                                            configure.ac:1261: warning: macro `AM_LC_MESSAGES' not found in library
libtoolize: putting auxiliary files in '..'.
libtoolize: copying file '../ltmain.sh'
libtoolize: putting macros in '.'.
libtoolize: copying file './libtool.m4'
libtoolize: copying file './ltoptions.m4'
libtoolize: copying file './ltsugar.m4'
libtoolize: copying file './ltversion.m4'
libtoolize: copying file './lt~obsolete.m4'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
configure.ac:74: installing `../missing'
/build/src/gcc-4.7.4/build/gcc-4.7.4/libjava /build/src/gcc-4.7.4/build/gcc-4.7.4
configure.ac:1261: error: possibly undefined macro: AM_LC_MESSAGES
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:1632: error: possibly undefined macro: TL_AC_GXX_INCLUDE_DIR
/build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4/libstdc++-v3 /build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4/libgomp /build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4/libffi /build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4/libdecnumber /build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4/boehm-gc /build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4/libssp /build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4/libmudflap /build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4/libgcc /build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4/libitm /build/src/gcc-4.7.4/build/gcc-4.7.4
configure.ac:167: error: possibly undefined macro: GCC_AC_FUNC_MMAP_BLACKLIST
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
/build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4/libada /build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4/gnattools /build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4/zlib /build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4/gcc /build/src/gcc-4.7.4/build/gcc-4.7.4
configure.ac:282: error: possibly undefined macro: AM_PROG_CC_C_O
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
/build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4/libobjc /build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4/intl /build/src/gcc-4.7.4/build/gcc-4.7.4
ERROR: Use of AM_GNU_GETTEXT without [external] argument is no longer supported.
/build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4/lto-plugin /build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4/fixincludes /build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4/libquadmath /build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4/libcpp /build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4/libiberty /build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4/libgfortran /build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4/libjava /build/src/gcc-4.7.4/build/gcc-4.7.4
configure.ac:564: installing `../compile'
Makefile.am: installing `../depcomp'
/build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4/libstdc++-v3 /build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4/libgomp /build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4/libffi /build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4/boehm-gc /build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4/libssp /build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4/libmudflap /build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4/libitm /build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4/zlib /build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4/lto-plugin /build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4/libquadmath /build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4/libgfortran /build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4
libtoolize: putting auxiliary files in '.'.
libtoolize: linking file './ltmain.sh'
libtoolize: You should add the contents of the following files to 'aclocal.m4':
libtoolize:   '/zb/store/zh7fz6bmw594bs3c852ssfysiba863aq-libtool-2.4.7/share/aclocal/libtool.m4'
libtoolize:   '/zb/store/zh7fz6bmw594bs3c852ssfysiba863aq-libtool-2.4.7/share/aclocal/ltoptions.m4'
libtoolize:   '/zb/store/zh7fz6bmw594bs3c852ssfysiba863aq-libtool-2.4.7/share/aclocal/ltsugar.m4'
libtoolize:   '/zb/store/zh7fz6bmw594bs3c852ssfysiba863aq-libtool-2.4.7/share/aclocal/ltversion.m4'
libtoolize:   '/zb/store/zh7fz6bmw594bs3c852ssfysiba863aq-libtool-2.4.7/share/aclocal/lt~obsolete.m4'
libtoolize: Remember to add 'LT_INIT' to configure.ac.
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
/build/src/gcc-4.7.4/build/gcc-4.7.4/libiberty /build/src/gcc-4.7.4/build/gcc-4.7.4
/build/src/gcc-4.7.4/build/gcc-4.7.4
gcc-4.7.4: configuring source.
||| Configure for libiberty
configure: WARNING: unrecognized options: --disable-shared, --enable-languages, --disable-sjlj-exceptions, --with-system-z
lib                                                                                                                       checking whether to enable maintainer-specific portions of Makefiles... no
checking for makeinfo... makeinfo
checking for perl... perl
checking build system type... i386-unknown-linux-musl
checking host system type... i386-unknown-linux-musl
checking for i386-unknown-linux-musl-ar... i386-unknown-linux-musl-ar
checking for i386-unknown-linux-musl-ranlib... i386-unknown-linux-musl-ranlib
checking for i386-unknown-linux-musl-gcc... i386-unknown-linux-musl-gcc
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 i386-unknown-linux-musl-gcc accepts -g... yes
checking for i386-unknown-linux-musl-gcc option to accept ISO C89... none needed
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking how to run the C preprocessor... i386-unknown-linux-musl-gcc -E
checking whether i386-unknown-linux-musl-gcc supports -W... yes
checking whether i386-unknown-linux-musl-gcc supports -Wall... yes
checking whether i386-unknown-linux-musl-gcc supports -Wwrite-strings... yes
checking whether i386-unknown-linux-musl-gcc supports -Wc++-compat... no
checking whether i386-unknown-linux-musl-gcc supports -Wstrict-prototypes... yes
checking whether i386-unknown-linux-musl-gcc supports -pedantic ... yes
checking whether i386-unknown-linux-musl-gcc and cc understand -c and -o together... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for grep that handles long lines and -e... /zb/store/g83nksc36sjd7f5adpm9f03ni2l000gr-grep-2.4/bin/grep
checking for egrep... /zb/store/g83nksc36sjd7f5adpm9f03ni2l000gr-grep-2.4/bin/grep -E
checking for ANSI C header files... yes
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 whether byte ordering is bigendian... no
checking for a BSD-compatible install... /zb/store/52jwy4z8ffqq1agbhl3gmmmh5wmfdygs-coreutils-9.4/bin/install -c
checking for sys/file.h... yes
checking for sys/param.h... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for malloc.h... yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/time.h... yes
checking for time.h... yes
checking for sys/resource.h... yes
checking for sys/stat.h... (cached) 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... no
checking for sys/systemcfg.h... no
checking for stdint.h... (cached) yes
checking for stdio_ext.h... yes
checking for process.h... no
checking for sys/prctl.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 size of int... 4
checking for a 64-bit type... uint64_t
checking for intptr_t... yes
checking for uintptr_t... yes
checking for ssize_t... yes
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 gettimeofday... yes
checking for index... yes
checking for insque... yes
checking for memchr... yes
checking for memcmp... yes
checking for memcpy... yes
checking for memmem... yes
checking for memmove... yes
checking for mempcpy... yes
checking for memset... yes
checking for mkstemps... yes
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... no
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 strndup... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtod... yes
checking for strtol... yes
checking for strtoul... yes
checking for strverscmp... 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 for setproctitle... no
checking whether alloca needs Cray hooks... no
checking stack direction for C alloca... -1
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... no
checking for sys_nerr... no
checking for sys_siglist... no
checking for external symbol _system_configuration... no
checking for __fsetlocking... yes
checking for canonicalize_file_name... no
checking for dup3... yes
checking for getrlimit... yes
checking for getrusage... yes
checking for getsysinfo... no
checking for gettimeofday... (cached) yes
checking for on_exit... no
checking for psignal... yes
checking for pstat_getdynamic... no
checking for pstat_getstatic... no
checking for realpath... yes
checking for setrlimit... yes
checking for sbrk... yes
checking for spawnve... no
checking for spawnvpe... no
checking for strerror... yes
checking for strsignal... yes
checking for sysconf... yes
checking for sysctl... no
checking for sysmp... no
checking for table... no
checking for times... yes
checking for wait3... yes
checking for wait4... yes
checking whether basename is declared... no
checking whether ffs is declared... yes
checking whether asprintf is declared... yes
checking whether vasprintf is declared... yes
checking whether snprintf is declared... yes
checking whether vsnprintf is declared... yes
checking whether calloc is declared... yes
checking whether getenv is declared... yes
checking whether getopt is declared... yes
checking whether malloc is declared... yes
checking whether realloc is declared... yes
checking whether sbrk is declared... yes
checking whether strverscmp is declared... no
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
configure: creating ./config.status
config.status: creating Makefile
config.status: creating testsuite/Makefile
config.status: creating config.h
config.status: executing default commands
configure: WARNING: unrecognized options: --disable-shared, --enable-languages, --disable-sjlj-exceptions, --with-system-z
lib                                                                                                                       ||| Configure for libcpp
configure: WARNING: unrecognized options: --disable-shared, --enable-languages, --disable-sjlj-exceptions, --with-system-z
lib                                                                                                                       checking build system type... i386-unknown-linux-musl
checking host system type... i386-unknown-linux-musl
checking target system type... i386-unknown-linux-musl
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /zb/store/52jwy4z8ffqq1agbhl3gmmmh5wmfdygs-coreutils-9.4/bin/install -c
checking for i386-unknown-linux-musl-gcc... i386-unknown-linux-musl-gcc
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 i386-unknown-linux-musl-gcc accepts -g... yes
checking for i386-unknown-linux-musl-gcc option to accept ISO C89... none needed
checking for i386-unknown-linux-musl-g++... no
checking for i386-unknown-linux-musl-c++... no
checking for i386-unknown-linux-musl-gpp... no
checking for i386-unknown-linux-musl-aCC... no
checking for i386-unknown-linux-musl-CC... no
checking for i386-unknown-linux-musl-cxx... no
checking for i386-unknown-linux-musl-cc++... no
checking for i386-unknown-linux-musl-cl.exe... no
checking for i386-unknown-linux-musl-FCC... no
checking for i386-unknown-linux-musl-KCC... no
checking for i386-unknown-linux-musl-RCC... no
checking for i386-unknown-linux-musl-xlC_r... no
checking for i386-unknown-linux-musl-xlC... no
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking for i386-unknown-linux-musl-ranlib... i386-unknown-linux-musl-ranlib
checking how to run the C preprocessor... i386-unknown-linux-musl-gcc -E
checking for grep that handles long lines and -e... /zb/store/g83nksc36sjd7f5adpm9f03ni2l000gr-grep-2.4/bin/grep
checking for egrep... /zb/store/g83nksc36sjd7f5adpm9f03ni2l000gr-grep-2.4/bin/grep -E
checking for ANSI C header files... yes
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for aclocal... aclocal
checking for autoconf... autoconf
checking for autoheader... autoheader
checking whether i386-unknown-linux-musl-gcc supports -W... yes
checking whether i386-unknown-linux-musl-gcc supports -Wall... yes
checking whether i386-unknown-linux-musl-gcc supports -Wnarrowing... no
checking whether i386-unknown-linux-musl-gcc supports -Wwrite-strings... yes
checking whether i386-unknown-linux-musl-gcc supports -Wmissing-format-attribute... yes
checking whether i386-unknown-linux-musl-gcc supports -Wstrict-prototypes... yes
checking whether i386-unknown-linux-musl-gcc supports -Wmissing-prototypes... yes
checking whether i386-unknown-linux-musl-gcc supports -Wold-style-definition... yes
checking whether i386-unknown-linux-musl-gcc supports -Wc++-compat... no
checking whether i386-unknown-linux-musl-gcc supports -pedantic -Wlong-long... yes
checking whether i386-unknown-linux-musl-gcc supports -fno-exceptions... yes
checking whether i386-unknown-linux-musl-gcc supports -fno-rtti... yes
checking dependency style of i386-unknown-linux-musl-gcc... gcc3
checking whether time.h and sys/time.h may both be included... yes
checking whether string.h and strings.h may both be included... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.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 strings.h... (cached) yes
checking for string.h... (cached) yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking for unistd.h... (cached) yes
checking whether byte ordering is bigendian... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for obstacks... no
checking for off_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for uintptr_t... yes
checking for ptrdiff_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking size of int... 4
checking size of long... 4
checking for clearerr_unlocked... yes
checking for feof_unlocked... yes
checking for ferror_unlocked... yes
checking for fflush_unlocked... yes
checking for fgetc_unlocked... yes
checking for fgets_unlocked... yes
checking for fileno_unlocked... yes
checking for fprintf_unlocked... no
checking for fputc_unlocked... yes
checking for fputs_unlocked... yes
checking for fread_unlocked... yes
checking for fwrite_unlocked... yes
checking for getchar_unlocked... yes
checking for getc_unlocked... yes
checking for putchar_unlocked... yes
checking for putc_unlocked... yes
checking whether abort is declared... yes
checking whether asprintf is declared... yes
checking whether basename is declared... yes
checking whether errno is declared... no
checking whether getopt is declared... yes
checking whether vasprintf is declared... yes
checking whether clearerr_unlocked is declared... yes
checking whether feof_unlocked is declared... yes
checking whether ferror_unlocked is declared... yes
checking whether fflush_unlocked is declared... yes
checking whether fgetc_unlocked is declared... yes
checking whether fgets_unlocked is declared... yes
checking whether fileno_unlocked is declared... yes
checking whether fprintf_unlocked is declared... no
checking whether fputc_unlocked is declared... yes
checking whether fputs_unlocked is declared... yes
checking whether fread_unlocked is declared... yes
checking whether fwrite_unlocked is declared... yes
checking whether getchar_unlocked is declared... yes
checking whether getc_unlocked is declared... yes
checking whether putchar_unlocked is declared... yes
checking whether putc_unlocked is declared... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for ANSI C header files... (cached) yes
checking for nl_langinfo and CODESET... yes
checking whether NLS is requested... no
checking for uchar... 
checking for ld used by i386-unknown-linux-musl-gcc... /zb/store/zplgml1x7n5dwqy10xmy17szvdpsg280-binutils-2.30/bin/ld
checking if the linker (/zb/store/zplgml1x7n5dwqy10xmy17szvdpsg280-binutils-2.30/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking 32-bit host C ABI... yes
checking how to run the C++ preprocessor... /lib/cpp
configure: error: in `/build/src/gcc-4.7.4/build/gcc-4.7.4/build/libcpp':
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working standard library Standard library
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant