Hi Reinhard, when trying to compile the tests, ac++ seems to have no (or an invalid) puma.config file. It doesn't find the system header files, e.g. stdio.h and iostream. For 'make test' to succeed PUMA_CONFIG must point to a valid config file. Are you sure that there is one? Where do you set the environment variable? I haven't seen it in the log.
Cheers, Olaf On 08/23/2017 04:32, Reinhard Tartler wrote: > Hi Simon, > > no worries, and thank you so much for your prompt response. I did try to > update the package, and with your changes, and I got even past the part > that weaves Puma, which is great! > > Unfortunately, the test suite fails to run. Did you try this as well? > For your convenience, I've attached the buildlog of my testbuild. > > Can you confirm the test case failures? > > Again, thanks for your swift response! > > Reinhard > > On 08/22/2017 02:43 PM, "Simon Schröder" wrote: >> Hi Reinhard, >> >> Building AspectC++ using the Debian clang-4.0 package should work now. >> Please >> use the current AspectC++ trunk version. Sorry for the inconveniences! >> >> The problem was that the linker arguments that point to the system >> libraries >> ("-ldl", ...) were missing. These arguments were missing because >> starting with >> version 4.0 the behavior of "llvm-config --system-libs" changed (see >> [1]) to >> only return the system libs if static linking ("--link-static") is >> selected. >> When using the binaries from the Clang download page ([2]) >> "--link-static" >> seems to default to "true" whereas "--link-static" defaults to "false" >> when >> using the Debian clang-4.0 package. I am not sure whether this is the >> desired >> behavior, but changing the AspectC++ makefile to use the command >> "llvm-config --system-libs --link-static" forces llvm-config to output >> the >> system libs in hopefully all cases. >> >> Please let me know if it still does not work. >> >> Thank you very much and best regards, >> >> Simon >> >> [1] https://reviews.llvm.org/D27805 >> [2] http://releases.llvm.org/download.html >>