So the upstream bug was closed as a dup of another bug, 61294.  The fix
for that bugzilla was to implement a new -Wmemset-transposed-args, and
remove the memset warning from system headers
(/usr/include/bits/string3.h).  However, the glibc side of that fix has
not yet been committed.

The alternatives then are
1) rip out the memset macro from string3.h and backport the 61294 fix to ubuntu 
gcc, if it isn't there already
2) don't compile okteta with -Wl,--fatal-warnings and ignore the false positive
3) don't compile okteta with -O3
4) modify core/bytearraymodel_p.cpp ByteArrayModelPrivate::fill, adding "if 
(fillLength != 0)" before the memset call.

If it were up to me, I'd go with (4).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1352836

Title:
  link failure when package is built with -O3 (14.10)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.9/+bug/1352836/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to