On Tue, 2012-08-14 at 09:07 +0200, Lucas Nussbaum wrote: > During a rebuild of all packages in *wheezy*, your package failed to > build on amd64. > > Relevant part: > > gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -DLOCALEDIR='"/usr/share/locale"' -I. > > -I.. -I. -I. -I../lib -I.. -I./../libelf -std=gnu99 -Wall -Wshadow > > -Werror -Wunused -Wextra -fgnu89-inline -Wformat=2 -fpic -g -O2 -MT md5.o > > -MD -MP -MF .deps/md5.Tpo -c -o md5.o md5.c > > md5.c: In function 'md5_finish_ctx': > > md5.c:108:3: error: dereferencing type-punned pointer will break > > strict-aliasing rules [-Werror=strict-aliasing] > > md5.c:109:3: error: dereferencing type-punned pointer will break > > strict-aliasing rules [-Werror=strict-aliasing] > > cc1: all warnings being treated as errors > > make[3]: *** [md5.o] Error 1
This should be fixed in 0.153 (current release is 0.154) by upstream commit: commit 32899ac4f69d4ca4856d5282464c1f9cee928c8a Author: Roland McGrath <rol...@hack.frob.com> Date: Sat Jul 9 03:17:24 2011 -0700 Clean up byte order handling in md5 and sha1 code. diff --git a/lib/ChangeLog b/lib/ChangeLog index 1b8b42b..cf77688 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,13 @@ +2011-07-09 Roland McGrath <rol...@hack.frob.com> + + * sha1.c (be64_copy): New function. + (sha1_finish_ctx): Use it. + * md5.c (le64_copy): New function. + (md5_finish_ctx): Use it. + * system.h (LE32, BE32): New macros, using <endian.h> and <byteswap.h>. + * md5.c (SWAP): Use LE32. + * sha1.c (SWAP): Use BE32. -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org