[pkg-firebird-general] Bug#565801: firebird2.5: FTBFS on kfreebsd-amd64 with -O1, builds fine with -O0

Damyan Ivanov dmn at debian.org
Mon Mar 29 11:09:04 UTC 2010


tags 565801 pending
thanks

-=| Modestas Vainius, Sat, Mar 27, 2010 at 02:26:31AM +0200 |=-
> Thanks to very helpful hints from Petr, I was able to track down 
> what atomic g++ flag and which object file is the problem. It 
> appears that current (4.4.3-2) g++ miscompiles src/dsql/parse.cpp 
> when -fipa-reference optimization flag (implied by -O1 or higher) is 
> enabled. Therefore, my solution is to avoid the problem by building 
> src/dsql/parse.cpp ( $(OBJ)/dsql/parse.o ) with -fno-
> ipa-reference:

Great!

An update package is to be uploaded in a couple of hours.

I can't find a g++ bugreport about this, do you mind filing one? Note 
that the actual C++ source that is (mis)compiled by g++ is a result of 
pre-processing of src/dsql/parse.y by an yacc preprocessor (built 
locally).

Since the parser module is used everywhere, I'll try to disable the 
optimization only on freebsd-amd64 for the next upload.

Many thanks for your help, Petr and Modestas!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-firebird-general/attachments/20100329/55077b5a/attachment.pgp>


More information about the pkg-firebird-general mailing list