Control: tag -1 fixed-upstream

On Tue, 19 Jan 2016 20:51:29 -0800 Martin Michlmayr <t...@hpe.com> wrote:
> Package: zeromq3
> Version: 4.0.5+dfsg-3
> Severity: important
> User: debian-...@lists.debian.org
> Usertags: ftbfs-gcc-6
>
> This package fails to build with GCC 6.  GCC 6 has not been released
> yet, but it's expected that GCC 6 will become the default compiler for
> stretch.
>
> Note that only the first error is reported; there might be more.  You
> can find a snapshot of GCC 6 in experimental.  To build with GCC 6,
> you can set CC=gcc-6 CXX=g++-6 explicitly.
>
> You may be able to find out more about this issue at
> https://gcc.gnu.org/gcc-6/changes.html
>
> > sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
> ...
> > libtool: compile:  g++ -DHAVE_CONFIG_H -I. -pedantic -Werror -Wall 
> > -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -Wdate-time -D_FORTIFY_SOURCE=2 
> > -DZMQ_FORCE_EPOLL -I/usr/include/pgm-5.1 -I/usr/lib/pgm-5.1/include 
> > -fvisibility=hidden -g -O2 -fstack-protector-strong -Wformat 
> > -Werror=format-security -c zmq.cpp  -fPIC -DPIC -o .libs/libzmq_la-zmq.o
> > zmq.cpp: In function 'int zmq_recviov(void*, iovec*, size_t*, int)':
> > zmq.cpp:559:49: error: dereferencing type-punned pointer will break 
> > strict-aliasing rules [-Werror=strict-aliasing]
> >          recvmore = ((zmq::msg_t*) (void *) &msg)->flags () & 
> > zmq::msg_t::more;
> >                                                  ^~
> >
> > cc1plus: all warnings being treated as errors
> > Makefile:1204: recipe for target 'libzmq_la-zmq.lo' failed

Hello,

FYI: fixed upstream in stable branches 4.0 [1] and 4.1 [2].

Kind regards,
Luca Boccassi

[1] https://github.com/zeromq/zeromq4-1/pull/101
[2] https://github.com/zeromq/zeromq4-x/pull/149

Reply via email to