Re: [BLFS Trac] #23232: gcc-16.1.0 (wait for LFS)
| Newsgroups | gmane.linux.lfs.beyond.book |
|---|---|
| Message-ID | <[email protected]> |
#23232: gcc-16.1.0 (wait for LFS)
-----------------------------+------------------------
Reporter: Douglas R. Reno | Owner: blfs-book
Type: enhancement | Status: new
Priority: normal | Milestone: 13.1
Component: BOOK | Version: git
Severity: normal | Resolution:
Keywords: |
-----------------------------+------------------------
Comment (by Douglas R. Reno):
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
| ^~~~~~~~~~~~~~
}}}
--
Ticket URL: <https://wiki.linuxfromscratch.org/blfs/ticket/23232#comment:2>
BLFS Trac <https://wiki.linuxfromscratch.org/blfs/>
Beyond Linux From Scratch
--
http://lists.linuxfromscratch.org/sympa/info/blfs-book
Unsubscribe: See the above information page