Summary: | x11-base/xorg-server-21.1.3-r1: fails to compile on x86 with -Os (array subscript 0 is outside array bounds of ‘struct parent[1]’) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sergey Okhapkin <sos> |
Component: | Current packages | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | erhard_f, jstein, sam, zerochaos |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
URL: | https://gitlab.freedesktop.org/xorg/xserver/-/issues/1299 | ||
Whiteboard: | Likely bug in GCC with -Os; workaround is to use -O2 for this package | ||
Package list: | Runtime testing required: | --- | |
Attachments: | Build log |
Description
Sergey Okhapkin
2022-03-20 12:29:47 UTC
Thank you for the report. We need to have all information at hand before ticket assignment. This includes * the complete build.log as attachment as described on https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket Please reopen this ticket (Status:UNCONFIRMED) afterwards. Created attachment 767456 [details]
Build log
Build log attached.
The build error is repeated in the log twice because I did run "ebuild xorg-server-21.1.3-r1.ebuild compile" manually. It's a GCC bug triggered by -Os. Use -O2 for this package for now via package.env. Confirmed. Compilation with -O2 goes through fine. *** Bug 882711 has been marked as a duplicate of this bug. *** The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20d3f0132014dc3f5c321b0d457d985c1e04171d commit 20d3f0132014dc3f5c321b0d457d985c1e04171d Author: Sam James <sam@gentoo.org> AuthorDate: 2022-11-24 11:27:15 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-11-24 11:27:15 +0000 x11-base/xorg-server: replace -Os w/ -O2 Closes: https://bugs.gentoo.org/835653 Signed-off-by: Sam James <sam@gentoo.org> x11-base/xorg-server/xorg-server-21.1.4.ebuild | 6 ++++-- x11-base/xorg-server/xorg-server-9999.ebuild | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) Sorry, it should be x86 in both ebuilds. I'll fix later The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=772a48472355bc5185035119de3ca823a88f5049 commit 772a48472355bc5185035119de3ca823a88f5049 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-11-25 06:04:32 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-11-25 06:04:47 +0000 x11-base/xorg-server: fix replace-flags for just x86 Missync from 20d3f0132014dc3f5c321b0d457d985c1e04171d. Closes: https://bugs.gentoo.org/835653 Fixes: 20d3f0132014dc3f5c321b0d457d985c1e04171d Signed-off-by: Sam James <sam@gentoo.org> x11-base/xorg-server/xorg-server-21.1.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) |