[squid-dev] 3.5.27 fails to build with gcc7 on 32 bits

Andreas Hasenack andreas at canonical.com
Thu Aug 24 14:34:57 UTC 2017


Hi,

I'm trying to file a bug about this problem, but bugs.squid-cache.org just
times out with a 504 when I click submit. I did manage to add a comment to
the existing (but closed) 4671 bug, though:
http://bugs.squid-cache.org/show_bug.cgi?id=4671#c3

Here is what would be in the new bug report:
"""
3.5.27 contains many gcc7 build fixes, and they all work when the source is
built on 64bits. But on 32bits it fails:
(...)
Format.cc: In member function ‘void Format::Format::assemble(MemBuf&, const
Pointer&, int) const’:
Format.cc:345:1: error: ‘%0*lld’ directive output may be truncated writing
between 1 and 2147483646 bytes into a region of size 1024
[-Werror=format-truncation=]
 Format::Format::assemble(MemBuf &mb, const AccessLogEntry::Pointer &al,
int logSequenceNumber) const
 ^~~~~~
Format.cc:345:1: note: directive argument in the range [-2147483648,
2147483647]


The v3.5 branch (and the 3.5.27 release as a result) seems to be missing
the 4671 part 4 fix:

https://github.com/squid-cache/squid/commit/6d19fc4dbb47a9b6993057c8599cd57f29d1475a
"""

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-dev/attachments/20170824/7a7b58e7/attachment.html>


More information about the squid-dev mailing list