Sounds like FreeBSD has upgraded to a newer version of clang and it
doesn't like to build /src/logging/writers/SQLite.cc anymore. It's the
last few lines of the attached message that shows the problem, is there
an obvious fix?
Which clang version is this? I've tried it with a recent version of
the clang 3.4 release branch, and that works fine for me.
But based on the error message, I'm attaching a patch; does that help
by any chance?
I submitted a PR with your patch and it worked (thanks!).
Here's some feedback:
- The SQLite.cc change also needs to be applied to
src/input/readers/Raw.cc and src/input/readers/SQLite.cc. Please
upstream that as you see fit.
- You didn't manage to reproduce the build failures locally because
it's an issue caused by libc++, not clang. If you build with clang
but still use libstdc++, everything works as expected.