I've just committed new versions of some of my packages in SourceForge:
I've got a problem with the release build (which uses -03 optimisation) of treedb.
The "fuse" tests fail with an illegal instruction fault.
This is with llvm/clang 2.9.svn-r145196.
They work fine with the debug build (-O0 optimisation).
Debug and release builds test fine with gcc.
I made a lot of changes to get this to even compile with clang, as it's more picky,
and this process helped me clean up warnings and even find the odd bug.
I know you'd prefer if I provided stand-alone code to demonstrate the problem, but
building and installing v3c (which treedb needs) with treedb in a "sandbox" takes
about 5 minutes on a modern machine, and that includes the time to download them
The problem is reproducible.
"$" denotes the command prompt for typing commands
1. install fuse-dev
The fuse tests need fuse-dev installed or they will be skipped.
2. download and unpack v3c and treedb from SourceForge.
$ v3c_default_build_mode=release bash v3c/v3c-tryout treedb-1.2.0-02 tryout
from the directory that contains the v3c and treedb directories.
4. When it's done type
which will take you into a shell with the environment set up to play around.
You'll notice that the command prompt changes to remind you you're in a sandbox.
5. Then type
$ cd treedb-1.2.0-02; make release check
and after a minute or two you'll get to the error.