Build error with --enable-openmp option on Mac os x 10.6.8
The build message snippets:
CXX graph_motifs.lo
/bin/sh ../../../libtool --silent --tag=CXX --mode=compile /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../../boost-workaround -DHAVE_CONFIG_H -I/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -I/usr/local/include -I/Users/liujun/Documents/projects/uflavors/env/lib/python2.6/site-packages/numpy/core/include/numpy -I/Users/liujun/Documents/projects/uflavors/env/lib/python2.6/site-packages/scipy -O3 -march=core2 -msse4.1 -w -pipe -Wall -ftemplate-depth-150 -Wno-deprecated -Wno-unknown-pragmas -O99 -fvisibility=default -fvisibility-inlines-hidden -fopenmp -c -o graph_motifs.lo graph_motifs.cc
graph_motifs.hh: In member function 'void graph_tool::get_all_motifs::operator()(Graph&, size_t, boost::any&, std::vector<long unsigned int, std::allocator<long unsigned int> >&, Sampler, double, bool, bool, graph_tool::rng_t&) const [with Graph = boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property<boost::edge_index_t, long unsigned int, boost::no_property>, boost::no_property, boost::listS>, Sampler = graph_tool::sample_all]':
graph_motifs.hh:415: internal compiler error: in lower_stmt, at gimple-low.c:286
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.
make[3]: *** [graph_motifs.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [install-recursive] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1
==> Exit Status: 2
http://github.com/mxcl/homebrew/blob/master/Library/Formula/graph-tool.rb#L18
==> Environment
HOMEBREW_VERSION: 0.8
HEAD: e50a75a99c5fce110aeac372d596bab75ab6a3ff
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew
Hardware: dual-core 64-bit penryn
OS X: 10.6.8
Kernel Architecture: x86_64
Ruby: 1.8.7-249
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Xcode: 3.2.6
GCC-4.0: build 5494
GCC-4.2: build 5666
LLVM: build 2335
MacPorts or Fink? false
X11 installed? true
==> Build Flags
CC: /usr/bin/gcc-4.2
CXX: /usr/bin/g++-4.2
LD: /usr/bin/gcc-4.2
CFLAGS: -O3 -march=core2 -msse4.1 -w -pipe
CXXFLAGS: -O3 -march=core2 -msse4.1 -w -pipe
MAKEFLAGS: -j2