Summary: | x11-libs/neXtaw-0.15.1-r3 fails to compile (lto): Scrollbar.c:1389:40: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 618550 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
![]() Created attachment 798959 [details]
build.log
build log and emerge --info
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd7aa280e36e37620e378c70aed1f0c04c80969e commit bd7aa280e36e37620e378c70aed1f0c04c80969e Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2022-10-13 08:11:05 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2022-10-13 09:06:07 +0000 x11-libs/neXtaw: EAPI7->8, fix w/ clang16, -std=gnu89 + -fno-strict clang16 fixes regenerates some flex/yacc files so BDEPEND on them. Haven't looked for a proper fix wrt #864535, may be easy but passing -fno-strict-aliasing as better-than-nothing. Closes: https://bugs.gentoo.org/864535 Closes: https://bugs.gentoo.org/871489 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> x11-libs/neXtaw/files/neXtaw-0.15.1-clang16.patch | 27 ++++++++++++++++ ...aw-0.15.1-r3.ebuild => neXtaw-0.15.1-r4.ebuild} | 37 +++++++++++++++------- 2 files changed, 52 insertions(+), 12 deletions(-) |