Open ivmai opened 8 years ago
See details in http://article.gmane.org/gmane.comp.programming.garbage-collection.boehmgc/5636/
Mark Ashley (mark@ibiblio.org) wrote on 2013-06-27:
host:/ root# uname -a
SunOS host 5.11 oi_151a7 i86pc i386 i86pc
CC=cc
CXX=CC
LDFLAGS=-L/usr/local/lib
CFLAGS=-I/usr/local/include
CXXFLAGS=-I/usr/local/include
host:/ root# ls -alF /bin/cc
lrwxrwxrwx 1 root root 29 Mar 1 15:11 /bin/cc -> /opt/solarisstudio12.3/bin/cc*
cd /var/tmp
rm -rf bdw-gc-7.2d
untgz /usr/local/src/utils/bdw-gc-7.2d.tar.gz
mv gc-7.2 bdw-gc-7.2d
cd bdw-gc-7.2d/
./configure --prefix=/usr/local \
--enable-cplusplus \
--enable-large-config \
--enable-handle-fork
gmake
gmake install
I can compile 7.2d ok, but make check fails:
source='tests/test_cpp.cc' object='test_cpp.o' libtool=no \
DEPDIR=.deps depmode=none /bin/sh ./depcomp \
CC -DHAVE_CONFIG_H -I./include -I./include -I./libatomic_ops/src
-I./libatomic_ops/src -I/usr/local/include -c -o test_cpp.o `test -f
'tests/test_cpp.cc' || echo './'`tests/test_cpp.cc
"./include/gc_allocator.h", line 132: Warning: The variable traits has not
yet been assigned a value.
"tests/test_cpp.cc", line 219: Where: While instantiating
"gc_allocator<int>::allocate(unsigned, const void*)".
"tests/test_cpp.cc", line 219: Where: Instantiated from non-template
code.
"./include/gc_allocator.h", line 209: Warning: The variable traits has not
yet been assigned a value.
"tests/test_cpp.cc", line 221: Where: While instantiating
"gc_allocator_ignore_off_page<int>::allocate(unsigned, const void*)".
"tests/test_cpp.cc", line 221: Where: Instantiated from non-template
code.
"tests/test_cpp.cc", line 244: Error: Too few arguments in call to
"operator delete(void*, GCPlacement, extern "C" void(*)(void*,void*),
void*)".
"tests/test_cpp.cc", line 254: Warning (Anachronism): Formal argument
cleanup of type extern "C" void(*)(void*,void*) in call to operator
new(unsigned, GCPlacement, extern "C" void(*)(void*,void*), void*) is being
passed void(*)(void*,void*).
1 Error(s) and 3 Warning(s) detected.
gmake[2]: *** [test_cpp.o] Error 2
gmake[2]: Leaving directory `/var/tmp/bdw-gc-7.2d'
testcpp.cc:237: Error: Too few arguments in call to "operator delete(void, GCPlacement, extern "C" void()(void,void_), void*)". See details in http://article.gmane.org/gmane.comp.programming.garbage-collection.boehmgc/5636/