[Pkg-qof-maintainers] Bug#672085: qof: ftbfs with GCC-4.7

Neil Williams codehelp at debian.org
Tue May 8 20:21:12 UTC 2012


tag 672085 + help
quit

On Tue, 08 May 2012 18:57:52 +0000
Matthias Klose <doko at debian.org> wrote:

> user debian-gcc at lists.debian.org
> usertags 672085 + ftbfs-gcc-4.7
> thanks
> 
> The build failure is exposed by building with gcc-4.7/g++-4.7,
> which is now the default gcc/g++ on x86 architectures.
> 
> Some hints on fixing these issues can be found at
> http://gcc.gnu.org/gcc-4.7/porting_to.html

This particular issue isn't covered in those hints, it's an internal
MD5 process which is the same as the internal MD5 code in eglibc.

I could hide the problem by dropping -Werror or adding
-fno-strict-aliasing but it's not clear to me why the same code
compiles in eglibc and not in qof, especially when eglibc is passing
-fstrict-aliasing.

I'm fairly sure that this needs no source code changes in md5.c,
this is something related to the build system options but I have to
admit I can't quite see where it lies currently.

(Due to the history of the code in QOF, exactly the same code still
exists in all versions of GnuCash.)

-- 


Neil Williams
=============
http://www.linux.codehelp.co.uk/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-qof-maintainers/attachments/20120508/6f782389/attachment.pgp>


More information about the Pkg-qof-maintainers mailing list