Your message dated Sun, 10 Jan 2010 21:57:27 +0000
with message-id <[email protected]>
and subject line Re: Bug#526670: FTBFS with GCC 4.4: dereferencing pointer
breaks strict-aliasing rules
has caused the Debian Bug report #526670,
regarding FTBFS with GCC 4.4: dereferencing pointer breaks strict-aliasing rules
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
526670: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=526670
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: putty
Version: 0.60+2009-04-05-1
User: [email protected]
Usertags: ftbfs-gcc-4.4
Your package fails to build with GCC 4.4. You can reproduce this problem
with gcc-4.4/g++-4.4 from unstable.
> Automatic build of putty_0.60+2009-04-05-1 on em64t by sbuild/amd64 0.53
...
> cc -DNO_GSSAPI -O2 -Wall -Werror -g -I.././ -I../charset/ -I../windows/
> -I../unix/ -I../mac/ -I../macosx/ -D_REENTRANT -I/usr/include/gtk-2.0
> -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
> -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2
> -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -D _FILE_OFFSET_BITS=64 -c ../unix/uxnet.c
> cc1: warnings being treated as errors
> ../unix/uxnet.c: In function 'sk_getxdmdata':
> ../unix/uxnet.c:973: error: dereferencing pointer 'sa' does break
> strict-aliasing rules
> ../unix/uxnet.c:958: note: initialized from here
> ../unix/uxnet.c:978: error: dereferencing pointer 'sin' does break
> strict-aliasing rules
> ../unix/uxnet.c:978: error: dereferencing pointer 'sin' does break
> strict-aliasing rules
> ../unix/uxnet.c:977: error: dereferencing pointer 'sin' does break
> strict-aliasing rules
> ../unix/uxnet.c:977: error: dereferencing pointer 'sin' does break
> strict-aliasing rules
> ../unix/uxnet.c:977: error: dereferencing pointer 'sin' does break
> strict-aliasing rules
> ../unix/uxnet.c:977: error: dereferencing pointer 'sin' does break
> strict-aliasing rules
> ../unix/uxnet.c:959: note: initialized from here
> ../unix/uxnet.c:986: error: dereferencing pointer 'sin6' does break
> strict-aliasing rules
> ../unix/uxnet.c:986: error: dereferencing pointer 'sin6' does break
> strict-aliasing rules
> ../unix/uxnet.c:984: error: dereferencing pointer 'sin6' does break
> strict-aliasing rules
> ../unix/uxnet.c:984: error: dereferencing pointer 'sin6' does break
> strict-aliasing rules
> ../unix/uxnet.c:984: error: dereferencing pointer 'sin6' does break
> strict-aliasing rules
> ../unix/uxnet.c:956: note: initialized from here
> ../unix/uxnet.c: In function 'net_select_result':
> ../unix/uxnet.c:346: error: dereferencing pointer 'ss.75' does break
> strict-aliasing rules
> ../unix/uxnet.c:1196: note: initialized from here
> ../unix/uxnet.c:349: error: dereferencing pointer 'sin' does break
> strict-aliasing rules
> ../unix/uxnet.c:348: note: initialized from here
> ../unix/uxnet.c:353: error: dereferencing pointer 'sin6' does break
> strict-aliasing rules
> ../unix/uxnet.c:353: error: dereferencing pointer 'sin6' does break
> strict-aliasing rules
> ../unix/uxnet.c:353: error: dereferencing pointer 'sin6' does break
> strict-aliasing rules
> ../unix/uxnet.c:353: error: dereferencing pointer 'sin6' does break
> strict-aliasing rules
> ../unix/uxnet.c:352: note: initialized from here
> make[1]: *** [uxnet.o] Error 1
--
Martin Michlmayr
http://www.cyrius.com/
--- End Message ---
--- Begin Message ---
Source: putty
Source-Version: 0.60+2009-08-22-1
On Sun, Jan 10, 2010 at 09:24:32PM +0000, Colin Watson wrote:
> On Mon, Aug 10, 2009 at 06:55:24PM -1000, Martin Michlmayr wrote:
> > * Jacob Nevins <[email protected]> [2009-08-06 23:20]:
> > > I've committed a fix upstream
> > > <http://svn.tartarus.org/sgt/?rev=8612&view=rev>.
> > > I couldn't conveniently lay my hands on GCC-4.4, but a random Ubuntu
> > > gcc-snapshot package emitted the warnings without the change and no
> > > longer does.
> > >
> > > I'm not entirely sure I fully understand the strict-aliasing rules,
> > > however; in particular, I'd appreciate advice as to whether the
> > > remaining cast in sockaddr_is_loopback() is naughty.
> >
> > I'm afraid I cannot offer any advice since I'm not a programmer, but
> > you could ask on the gcc-help mailing list; see
> > http://gcc.gnu.org/lists.html
>
> Looks like this is indeed fixed, since it's built fine on Ubuntu for a
> while now. Sorry for losing track of this bug report until now.
Let's try that again, except this time to -done so that it actually
closes the bug ...
--
Colin Watson [[email protected]]
--- End Message ---