Skip to content

Instantly share code, notes, and snippets.

@guicho271828
Last active May 3, 2019 12:59
Show Gist options
  • Save guicho271828/953ea8375f9638a05fe47951639b2b24 to your computer and use it in GitHub Desktop.
Save guicho271828/953ea8375f9638a05fe47951639b2b24 to your computer and use it in GitHub Desktop.
mkcl error log
./configure
Switching to directory `/home/guicho/repos/c-or-cpp/mkcl/src' to continue configuration.
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for ld flags when building shared libraries... -shared
checking for required libraries... -pthread -ldl
checking for architecture... X86_64
checking for software type... linux /
checking for __thread local data... yes
checking for install-info... /usr/bin/install-info
checking for getpwnam in -lsun... no
checking for library containing strerror... none required
checking for use of __thread... no
checking for __gmpz_init in -lgmp... yes
checking for soname flags... -Wl,-soname,libmkcl.so.1.1
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /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 for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... 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 netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.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 sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking fenv.h usability... yes
checking fenv.h presence... yes
checking for fenv.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking link.h usability... yes
checking link.h presence... yes
checking for link.h... yes
checking mach-o/dyld.h usability... no
checking mach-o/dyld.h presence... no
checking for mach-o/dyld.h... no
checking ulimit.h usability... yes
checking ulimit.h presence... yes
checking for ulimit.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working volatile... yes
checking for ptrdiff_t... yes
checking size of long long... 64
checking whether byte ordering is bigendian... no
checking appropriate type for fixnums... long int
checking for stdint.h... (cached) yes
checking uint8_t type... uint8_t
checking uint16_t type... uint16_t
checking uint32_t type... uint32_t
checking uint64_t type... uint64_t
checking character sequence for end of line... lf
checking for _longjmp... yes
checking whether we can dynamically build calls to C functions... yes
checking for code to detect FP exceptions... x86_64
checking whether stack grows downwards... callee frame = 0x7ffe0f142007, caller frame = 0x7ffe0f142027, yes
checking whether closedir returns void... no
checking for error_at_line... yes
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
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 whether gcc needs -traditional... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for sys/select.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking return type of signal handlers... void
checking whether lstat correctly handles trailing slash... yes
checking whether stat accepts an empty string... no
checking for working strtod... yes
checking for floor... yes
checking for getcwd... yes
checking for gethostbyaddr... yes
checking for gethostbyname... yes
checking for getpagesize... (cached) yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for putenv... yes
checking for socket... yes
checking for sqrt... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strerror... yes
checking for strtol... yes
checking for nanosleep... yes
checking for alarm... yes
checking for times... yes
checking for select... yes
checking for setenv... yes
checking for putenv... (cached) yes
checking for lstat... yes
checking for mkstemp... yes
checking for sigprocmask... yes
checking for isatty... yes
checking for feenableexcept... yes
checking for tzset... yes
checking for gettimeofday... yes
checking for getrusage... yes
checking for expf... yes
checking for logf... yes
checking for sqrtf... yes
checking for cosf... yes
checking for sinf... yes
checking for tanf... yes
checking for sinhf... yes
checking for coshf... yes
checking for tanhf... yes
checking for floorf... yes
checking for ceilf... yes
checking for fabsf... yes
checking for frexpf... yes
checking for ldexpf... yes
checking for log1p... yes
checking for log1pf... yes
checking for log1pl... yes
checking for sched_yield... yes
checking for uname... yes
checking for fseeko... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
configure: Configuring included Boehm GC library:
(destdir=/home/guicho/repos/c-or-cpp/mkcl/src; cd gc; CC=gcc -fPIC CFLAGS=-DMK_GC_BUILD -D_GNU_SOURCE -fno-strict-aliasing -fPIC -O2 LDFLAGS= /home/guicho/repos/c-or-cpp/mkcl/src/gc/configure --disable-shared --prefix= --includedir=/mkcl/ --libdir= --build= --host= --enable-large-config --with-libatomic-ops=no --enable-threads=posix --enable-parallel-mark)
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking GC version numbers... major=7 minor=4 micro=0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc -fPIC
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc -fPIC accepts -g... yes
checking for gcc -fPIC option to accept ISO C89... none needed
checking dependency style of gcc -fPIC... gcc3
checking whether gcc -fPIC and cc understand -c and -o together... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking dependency style of gcc -fPIC... gcc3
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc -fPIC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1635000
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc -fPIC object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -fPIC -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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc -fPIC supports -fno-rtti -fno-exceptions... no
checking for gcc -fPIC option to produce PIC... -fPIC -DPIC
checking if gcc -fPIC PIC flag -fPIC -DPIC works... yes
checking if gcc -fPIC static flag -static works... yes
checking if gcc -fPIC supports -c -o file.o... yes
checking if gcc -fPIC supports -c -o file.o... (cached) yes
checking whether the gcc -fPIC linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for inline... inline
checking for pthread_self in -lpthread... yes
configure: WARNING: "Explicit MK_GC_INIT() calls may be required."
checking for gcc -Wextra... yes
checking for xlc... no
checking whether gcc supports -fno-strict-aliasing... yes
checking for dlopen in -ldl... yes
checking whether to build shared libraries... no
checking which machine-dependent code should be used...
checking whether Solaris gcc optimization fix is necessary... no
checking for dladdr... yes
checking sys/dg_sys_info.h usability... no
checking sys/dg_sys_info.h presence... no
checking for sys/dg_sys_info.h... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking which libatomic_ops to use... internal
configure: creating ./config.status
config.status: creating Makefile
config.status: creating bdw-gc.pc
config.status: creating include/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default commands
=== configuring in libatomic_ops (/home/guicho/repos/c-or-cpp/mkcl/src/gc/libatomic_ops)
configure: running /bin/bash ./configure --disable-option-checking '--prefix=/home/guicho/repos/c-or-cpp/mkcl/src' '--disable-shared' '--includedir=/home/guicho/repos/c-or-cpp/mkcl/src/mkcl/' '--libdir=/home/guicho/repos/c-or-cpp/mkcl/src' '--build=' '--host=' '--enable-large-config' '--with-libatomic-ops=no' '--enable-threads=posix' '--enable-parallel-mark' 'build_alias=' 'host_alias=' 'CC=gcc -fPIC' 'CFLAGS=-DMK_GC_BUILD -D_GNU_SOURCE -fno-strict-aliasing -fPIC -O2' 'LDFLAGS= ' --cache-file=/dev/null --srcdir=.
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc -fPIC
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc -fPIC accepts -g... yes
checking for gcc -fPIC option to accept ISO C89... none needed
checking dependency style of gcc -fPIC... gcc3
checking whether gcc -fPIC and cc understand -c and -o together... yes
checking dependency style of gcc -fPIC... gcc3
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc -fPIC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1635000
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc -fPIC object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -fPIC -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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc -fPIC supports -fno-rtti -fno-exceptions... no
checking for gcc -fPIC option to produce PIC... -fPIC -DPIC
checking if gcc -fPIC PIC flag -fPIC -DPIC works... yes
checking if gcc -fPIC static flag -static works... yes
checking if gcc -fPIC supports -c -o file.o... yes
checking if gcc -fPIC supports -c -o file.o... (cached) yes
checking whether the gcc -fPIC linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for PIC compiler flag... -fPIC
checking whether gcc -fPIC causes __PIC__ definition... yes
checking for gcc -Wextra... yes
checking for pthread_self in -lpthread... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating pkgconfig/atomic_ops.pc
config.status: creating pkgconfig/atomic_ops-uninstalled.pc
config.status: creating src/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default commands
configure: Configuring TCC, the Tiny C Compiler:
cd ../contrib/tinycc; ./configure --prefix=NONE
Binary directory NONE/bin
TinyCC directory NONE/lib/mkcc
Library directory NONE/lib64
Include directory NONE/include
Manual directory NONE/share/man
Info directory NONE/share/info
Doc directory NONE/share/doc
Target root prefix
Source path /home/guicho/repos/c-or-cpp/mkcl/contrib/tinycc
C compiler cc
ar ar
cross compilers no
Target CPU x86-64
Host OS Linux
Target OS Linux
Big Endian no
gprof enabled no
use libgcc no
Creating config.mak and config.h
configure: Done with TCC.
configure: creating ./config.status
config.status: creating bare.lsp
config.status: creating lsp/load.lsp
config.status: creating clos/load.lsp
config.status: creating cmp/load.lsp
config.status: creating ../Makefile
config.status: creating Makefile
config.status: creating c/Makefile
config.status: creating doc/Makefile
config.status: creating doc/mkcl.man
config.status: creating doc/mkcl-config.man
config.status: creating mkcl/mkcl-gc.h
config.status: creating mkcl/configpre.h
config.status: creating bin/mkcl-config.pre
config.status: creating lsp/config.pre
config.status: creating compile.pre
config.status: creating cmp/cmpdefs.pre
config.status: creating mkcl/config.h
Configuration complete. To build MKCL, issue make in this directory.
;;; Finished compiling /home/guicho/repos/c-or-cpp/mkcl/contrib/alexandria_2019_04_13/numbers.lisp.
;;; Loading "/home/guicho/repos/c-or-cpp/mkcl/src/asdf-stage/alexandria_2019_04_13/control-flow.fas"
;;; Compiling /home/guicho/repos/c-or-cpp/mkcl/contrib/alexandria_2019_04_13/features.lisp.(compile-file #P"./../contrib/asdf/uiop/lisp-build.lisp" :output-file #P"./ext/uiop/lisp-build.o")
asdf:bundle-system for "alexandria" failed! Reason is: #<a COMPILER:COMPILER-ERROR 140365833331360> Error: (mkcl:run-command "\"gcc\" -pthread -D_GNU_SOURCE -fno-strict-aliasing -fPIC -O2 \"-I/home/guicho/repos/c-or-cpp/mkcl/src/\" -c \"features.c\" -o \"features.o\"") returned non-zero value 1
Command output:
In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25:0,
from /home/guicho/repos/c-or-cpp/mkcl/src/mkcl/mkcl.h:34,
from /home/guicho/repos/c-or-cpp/mkcl/src/mkcl/mkcl-cmp.h:21,
from features.c:6:
./features.h:5:8: error: unknown type name ‘mkcl_object’
static mkcl_object L3mk_ALEXANDRIA_a2E0_a2EDEV_8_FEATUREP_mkcl_cfun_object_;
^~~~~~~~~~~
./features.h:6:8: error: unknown type name ‘mkcl_object’
static mkcl_object L3mk_ALEXANDRIA_a2E0_a2EDEV_8_FEATUREP(MKCL, mkcl_object volatile );
^~~~~~~~~~~
./features.h:6:77: error: expected ‘)’ before ‘volatile’
static mkcl_object L3mk_ALEXANDRIA_a2E0_a2EDEV_8_FEATUREP(MKCL, mkcl_object volatile );
^~~~~~~~
./features.h:14:8: error: unknown type name ‘mkcl_object’
static mkcl_object LC1mk__a23_8_G__24803__11(MKCL, mkcl_narg, ...);
^~~~~~~~~~~
./features.h:14:63: error: expected ‘)’ before ‘...’ token
static mkcl_object LC1mk__a23_8_G__24803__11(MKCL, mkcl_narg, ...);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment