[Xapian-discuss] xapian.DocNotFoundError: regression?

Olly Betts olly at survex.com
Fri Feb 19 23:33:22 GMT 2010


On Fri, Feb 19, 2010 at 06:06:41PM -0500, Jason Tackaberry wrote:
> On Fri, 2010-02-19 at 22:06 +0000, Doctor Munchkin wrote:
> > Ubuntu 8.04 has gcc/g++ 4.2 as the default version. Try it with 4.1 or
> > 4.3 (4.1 has the advantage of being in 8.04's apt; 4.3 worked for me
> > in Debian sid); that fixed the problem for me (after some dead ends
> > down other options).
> 
> I can confirm that when compiled with gcc/g++ 4.1, xapian 1.1.4 doesn't
> exhibit this problem.

I wonder if this is a compiler bug, or some bad code which happens to work
with some compilers.  Even if it's the compiler, it'd be nice to find a
workaround if it's not too hard.

Does 1.1.4 built with GCC 4.2 fail if you use the brass backend?  To try
it set XAPIAN_PREFER_BRASS in the environment before running the test:

export XAPIAN_PREFER_BRASS=1

Cheers,
    Olly



More information about the Xapian-discuss mailing list