Re: [Gc] "include/private/gcconfig.h", line 604: #error: "The collector has not been ported to this machine/OS combination."
Dennis Clarke <[email protected]> Wed, 23 Nov 2016 15:40:05 -0500
| Newsgroups | gmane.comp.programming.garbage-collection.boehmgc |
|---|---|
| Message-ID | <[email protected]> |
On 11/23/2016 02:53 PM, Dennis Clarke wrote: > On 11/23/2016 02:23 PM, Bruce Hoult wrote: >> Does it work if you disable threads (and therefore don't use atomic ops)? >> > > > I can give that a try but, would that be wise? I need libgc as a > downstream dependency for gcc because gcc needs autogen which needs > guile which needs libgc which needs atomic_ops. > > Welcome to dependency hell. :-) > > So I can give it a try and see what happens but I would think the right > path to take is to sort out the code. However, first things first as > they say. Let me spin this and see what configure option is needed to > disable threads. Temporarily. > $ ./configure --disable-silent-rules --enable-dependency-tracking \ > --enable-cplusplus --disable-java-finalization \ > --enable-large-config --enable-handle-fork \ > --with-libatomic-ops=no checking build system type... sparc-sun-solaris2.10 checking host system type... sparc-sun-solaris2.10 checking target system type... sparc-sun-solaris2.10 checking GC version numbers... major=7 minor=6 micro=0 checking for a BSD-compatible install... ./install-sh -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... GNU checking for gcc... /opt/solarisstudio12.4/bin/cc 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... no checking whether /opt/solarisstudio12.4/bin/cc accepts -g... yes checking for /opt/solarisstudio12.4/bin/cc option to accept ISO C89... none needed checking whether /opt/solarisstudio12.4/bin/cc understands -c and -o together... yes checking dependency style of /opt/solarisstudio12.4/bin/cc... dashXmstdout checking whether we are using the GNU C++ compiler... no checking whether /opt/solarisstudio12.4/bin/CC accepts -g... yes checking dependency style of /opt/solarisstudio12.4/bin/CC... dashXmstdout checking dependency style of /opt/solarisstudio12.4/bin/cc... dashXmstdout checking how to print strings... printf checking for a sed that does not truncate output... /usr/local/bin/sed checking for grep that handles long lines and -e... /usr/local/bin/grep checking for egrep... /usr/local/bin/grep -E checking for fgrep... /usr/local/bin/grep -F checking for non-GNU ld... /usr/ccs/bin/sparcv9/ld checking if the linker (/usr/ccs/bin/sparcv9/ld) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... /usr/xpg4/bin/nm -p checking the name lister (/usr/xpg4/bin/nm -p) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 786240 checking how to convert sparc-sun-solaris2.10 file names to sparc-sun-solaris2.10 format... func_convert_file_noop checking how to convert sparc-sun-solaris2.10 file names to toolchain format... func_convert_file_noop checking for /usr/ccs/bin/sparcv9/ld option to reload object files... -r checking for objdump... no 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 archiver @FILE support... no checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/xpg4/bin/nm -p output from /opt/solarisstudio12.4/bin/cc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... /opt/solarisstudio12.4/bin/cc -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 for /opt/solarisstudio12.4/bin/cc option to produce PIC... -KPIC -DPIC checking if /opt/solarisstudio12.4/bin/cc PIC flag -KPIC -DPIC works... yes checking if /opt/solarisstudio12.4/bin/cc static flag -Bstatic works... yes checking if /opt/solarisstudio12.4/bin/cc supports -c -o file.o... yes checking if /opt/solarisstudio12.4/bin/cc supports -c -o file.o... (cached) yes checking whether the /opt/solarisstudio12.4/bin/cc linker (/usr/ccs/bin/sparcv9/ld -64) supports shared libraries... yes checking dynamic linker characteristics... solaris2.10 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking how to run the C++ preprocessor... /opt/solarisstudio12.4/bin/CC -E checking whether the /opt/solarisstudio12.4/bin/CC linker (/usr/ccs/bin/sparcv9/ld -64) supports shared libraries... yes checking for /opt/solarisstudio12.4/bin/CC option to produce PIC... -KPIC -DPIC checking if /opt/solarisstudio12.4/bin/CC PIC flag -KPIC -DPIC works... yes checking if /opt/solarisstudio12.4/bin/CC static flag -Bstatic works... yes checking if /opt/solarisstudio12.4/bin/CC supports -c -o file.o... yes checking if /opt/solarisstudio12.4/bin/CC supports -c -o file.o... (cached) yes checking whether the /opt/solarisstudio12.4/bin/CC linker (/usr/ccs/bin/sparcv9/ld -64) supports shared libraries... yes checking dynamic linker characteristics... solaris2.10 ld.so checking how to hardcode library paths into programs... immediate checking for thread model used by GCC... no checking for inline... inline checking for xlc... no checking for dlopen in -ldl... yes checking execinfo.h usability... no checking execinfo.h presence... no checking for execinfo.h... no checking whether to build shared libraries... yes checking which machine-dependent code should be used... sparc_mach_dep.lo 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 checking that generated files are newer than configure... done 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 (/usr/local/build/garbage_collector/gc-7.6.0_SunOS5.10_sparcv9.003/libatomic_ops) configure: running /usr/local/bin/bash ./configure --disable-option-checking '--prefix=/usr/local' '--disable-silent-rules' '--enable-dependency-tracking' '--enable-cplusplus' '--disable-java-finalization' '--enable-large-config' '--enable-handle-fork' '--with-libatomic-ops=no' 'CC=/opt/solarisstudio12.4/bin/cc' 'CFLAGS=-m64 -xtarget=ultra2 -xarch=sparcvis -xchip=ultra2 -xcache=generic -errwarn=%none -errhdr=%user -erroff=%none -errtags=yes -errfmt=error -errshort=full -xstrconst -xildoff -xmemalign=8s -xnolibmil -Xa -xcode=pic32 -xregs=no%appl -xlibmieee -mc -g -xs -ftrap=%none -Qy -xbuiltin=%none -xdebugformat=dwarf -xunroll=1 -D_TS_ERRNO -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE' 'LDFLAGS=-L/usr/local/lib' 'CPPFLAGS=-D_TS_ERRNO -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE' 'CXX=/opt/solarisstudio12.4/bin/CC' 'CXXFLAGS=-m64 -xtarget=ultra2 -xarch=sparcvis -xchip=ultra2 -xcache=generic -errwarn=%none -dalign -erroff=%none -errtags=yes -ftrap=%none -g -xcode=pic32 -m64 -mc -xunroll=1 -xbuiltin=%none -xtarget=ultra2e -xdepend=no -xnolibmopt -xlinkopt=0 -xnolibmil -xregs=no%appl -xs' --cache-file=/dev/null --srcdir=. checking build system type... sparc-sun-solaris2.10 checking host system type... sparc-sun-solaris2.10 checking target system type... sparc-sun-solaris2.10 checking for a BSD-compatible install... ./install-sh -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... GNU checking for gcc... /opt/solarisstudio12.4/bin/cc 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... no checking whether /opt/solarisstudio12.4/bin/cc accepts -g... yes checking for /opt/solarisstudio12.4/bin/cc option to accept ISO C89... none needed checking whether /opt/solarisstudio12.4/bin/cc understands -c and -o together... yes checking dependency style of /opt/solarisstudio12.4/bin/cc... dashXmstdout checking dependency style of /opt/solarisstudio12.4/bin/cc... dashXmstdout checking how to print strings... printf checking for a sed that does not truncate output... /usr/local/bin/sed checking for grep that handles long lines and -e... /usr/local/bin/grep checking for egrep... /usr/local/bin/grep -E checking for fgrep... /usr/local/bin/grep -F checking for non-GNU ld... /usr/ccs/bin/sparcv9/ld -64 checking if the linker (/usr/ccs/bin/sparcv9/ld -64) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... /usr/xpg4/bin/nm -p checking the name lister (/usr/xpg4/bin/nm -p) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 786240 checking how to convert sparc-sun-solaris2.10 file names to sparc-sun-solaris2.10 format... func_convert_file_noop checking how to convert sparc-sun-solaris2.10 file names to toolchain format... func_convert_file_noop checking for /usr/ccs/bin/sparcv9/ld -64 option to reload object files... -r checking for objdump... no 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 archiver @FILE support... no checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/xpg4/bin/nm -p output from /opt/solarisstudio12.4/bin/cc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... /opt/solarisstudio12.4/bin/cc -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 for /opt/solarisstudio12.4/bin/cc option to produce PIC... -KPIC -DPIC checking if /opt/solarisstudio12.4/bin/cc PIC flag -KPIC -DPIC works... yes checking if /opt/solarisstudio12.4/bin/cc static flag -Bstatic works... yes checking if /opt/solarisstudio12.4/bin/cc supports -c -o file.o... yes checking if /opt/solarisstudio12.4/bin/cc supports -c -o file.o... (cached) yes checking whether the /opt/solarisstudio12.4/bin/cc linker (/usr/ccs/bin/sparcv9/ld -64 -64) supports shared libraries... yes checking dynamic linker characteristics... solaris2.10 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no 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... -Kpic checking for pthread_self in -lpthread... yes checking that generated files are newer than configure... done 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 mimas$ mimas$ ... compile is running