Re: elfutils does not compile with gcc 12.2.0

2022-08-25 Thread Nick via Elfutils-devel
On 8/24/22 23:01, Dmitry V. Levin wrote: On Wed, Aug 24, 2022 at 10:51:13PM +0200, Nick via Elfutils-devel wrote: I try to compile elfutils on OpenWrt with the newest gcc 12.2.0 version. However, it fails due to -Werror=use-after-free. A workaround is a patch that I found on the mailinglist, to

Re: elfutils does not compile with gcc 12.2.0

2022-08-24 Thread Dmitry V. Levin
On Wed, Aug 24, 2022 at 10:51:13PM +0200, Nick via Elfutils-devel wrote: > I try to compile elfutils on OpenWrt with the newest gcc 12.2.0 version. > However, it fails due to -Werror=use-after-free. A workaround is a patch > that I found on the mailinglist, to disable -Werror > (https://sourcewa

elfutils does not compile with gcc 12.2.0

2022-08-24 Thread Nick via Elfutils-devel
I try to compile elfutils on OpenWrt with the newest gcc 12.2.0 version. However, it fails due to -Werror=use-after-free. A workaround is a patch that I found on the mailinglist, to disable -Werror (https://sourceware.org/legacy-ml/elfutils-devel/imported/msg00994.html) I modified it to apply t