Clint Adams writes: > > > - can you identify the file beeing miscompiled? > > > > No, I don't seem to be able to do that. If I compile with -O1, it > > works. If I compile with -O2, it segfaults. If I compile all objects > > -O2 except the ones that seem to be relevant in the backtrace, it still > > segfaults. (Also tried with various random .c files that didn't seem > > relevant). > > I take that back. If all files are compiled with -O2 except for > datastore_db.c (compiled with -O0), it works.
I don't want to strain you ... ;-) could you try to identify the function beeing miscompiled? i.e. splitting the file. Is this the function where the segfault occurs? Matthias