Open elliottslaughter opened 5 years ago
Sorry for the slow response; been overloaded for a while.
Couple of thoughts.
-post
command to x10c++
?x10.runtime/src-cpp/bdwgc-8.0.2/install/lib/
and verify that it was correctly copied to x10.dist/lib/
Here's what I see:
$ ls deps/x10/x10/x10.runtime/src-cpp/bdwgc-8.0.2/install/lib
libcord.la libcord.so libcord.so.1 libcord.so.1.4.0 libgc.la libgc.so libgc.so.1 libgc.so.1.4.2 pkgconfig
$ ls deps/x10/x10/x10.dist/lib
RunJava.jar commons-math3-3.6.1.jar hazelcast-client-3.11.1.jar libgc.so.1.4.2 lpg.jar x10doc.jar
antlr-runtime_4.5.0.201505151407.jar ecj-4.10.jar libgc.so libx10rt_mpi.a snappy-java.jar
commons-logging-1.2.jar hazelcast-3.11.1.jar libgc.so.1 logging.properties x10c.jar
Looks like the libgc.la
isn't getting copied? I think the C++ compiler on this system is configured to specify -static
by default.
I went back to the old commit that worked, and it turns out the difference is that the static library extension changed from .a
to .la
. I'm guessing your build process is set to copy all .a
files but hasn't been adapted to copy .la
.
I may be wrong about the usage of .la
, looks like it's associated with libtool. Anyway, the old build had .a
and no .la
and the new had .la
but no .a
. Perhaps the static library isn't being built at all? Could be a configure flag that needs to be set.
When I build my application with the newest master branch, I get the following link error:
Reverting my copy of x10 to commit 9212dc271c8bcba805c82114617d47506747ee3a appears to fix the problem. Maybe the BDWGC upgrade is responsible?