Opened 5 months ago
Closed 4 months ago
#23232 closed enhancement (fixed)
gcc-16.1.0
| Reported by: | Douglas R. Reno | Owned by: | Bruce Dubbs |
|---|---|---|---|
| Priority: | normal | Milestone: | 13.1 |
| Component: | BOOK | Version: | git |
| Severity: | medium | Keywords: | |
| Cc: |
Description
New major version
Change History (6)
follow-up: 4 comment:1 by , 5 months ago
comment:2 by , 5 months ago
7zip bumps into what appears to be a GCC bug: https://sourceforge.net/p/sevenzip/bugs/2604/
There is a patch from Debian which basically uses a pragma to disable -Warray-bounds in CPP/Common/MyCom.h. The error in question is:
In file included from ../../Archive/../../Common/Common.h:11,
from ../../Archive/StdAfx.h:9,
from ../../Archive/HandlerCont.cpp:3:
In destructor ‘CLocalProgress::~CLocalProgress()’,
inlined from ‘virtual ULONG CLocalProgress::Release()’ at ../../Archive/../Common/ProgressUtils.h:11:1,
inlined from ‘CMyComPtr<T>::~CMyComPtr() [with T = ICompressProgressInfo]’ at ../../Archive/../Common/../../Common/MyCom.h:17:37,
inlined from ‘virtual LONG NArchive::CHandlerImg::Extract(const UInt32*, UInt32, Int32, IArchiveExtractCallback*)’ at ../../Archive/HandlerCont.cpp:283:5:
../../Archive/../Common/ProgressUtils.h:12:3: error: array subscript ‘CLocalProgress[0]’ is partly outside array bounds of ‘unsigned char [32]’ [-Werror=array-bounds=]
12 | CLocalProgress
| ^~~~~~~~~~~~~~
comment:4 by , 5 months ago
Replying to Xi Ruoyao:
webkitgtk needs fixes: https://bugs.webkit.org/show_bug.cgi?id=310235
BTW if compiling webkitgtk with -mavx, GCC 16.1 will exploit a bug in webkitgtk itself: https://bugs.webkit.org/show_bug.cgi?id=314529. (Just FTR, we don't really try hard to support custom CXXFLAGS so nothing needed for the book.)
comment:5 by , 4 months ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:6 by , 4 months ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
| Summary: | gcc-16.1.0 (wait for LFS) → gcc-16.1.0 |
Fixed at commit 2c844c3908.
Note:
See TracTickets
for help on using tickets.

webkitgtk needs fixes: https://bugs.webkit.org/show_bug.cgi?id=310235