https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: sys-devel/dev86-0.16.21-r3 fails to compile (GCC-14-SYSTEM). Discovered on: amd64 (internal ref: gcc14_tinderbox) NOTE: (GCC-14-SYSTEM) in the summary means that the bug was found on a machine that runs gcc-13 but this bug MAY or MAY NOT BE related to the new compiler
Created attachment 880113 [details] build.log build log and emerge --info
I have the same problem on my machine. A downgrade to GCC-13 does the trick. But it seems the problem is upstream known, or at least acknowledged. It looks like "lkundrak" on github is inactive on the project. There are several forks of it as of today with different levels of patches and fixes. I think it is worth to think about changing the current upstream version to one of the forks. But im not competent enough to do the neccessary evaluation.
Created attachment 914791 [details, diff] sys-devel/dev86: GCC14 compatibility Patch Patch that works for me to get dev86 compiled by GCC-14.
Created attachment 914871 [details, diff] My attempt at a gcc 14 patch My attempt at a gcc 14 patch, using 'ggc -fpermissive' for bootblocks and dis88 folders, where both gcc and bcc compile code.
tinderbox-stable has reproduced this issue in a STABLE environment with version 0.16.21-r3
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4da4b4af030eac0ab3c1f1bcf1dc12483da42b1 commit a4da4b4af030eac0ab3c1f1bcf1dc12483da42b1 Author: Sam James <sam@gentoo.org> AuthorDate: 2025-02-07 23:51:33 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-02-07 23:51:49 +0000 sys-devel/dev86: build 0.16.21-r3 with -std=gnu89 And we'll try do better in the newer version. Closes: https://bugs.gentoo.org/757675 Closes: https://bugs.gentoo.org/891533 Closes: https://bugs.gentoo.org/920450 Signed-off-by: Sam James <sam@gentoo.org> sys-devel/dev86/dev86-0.16.21-r3.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=297c2d0cdc7628da67adb795f4c0f8fae5780f06 commit 297c2d0cdc7628da67adb795f4c0f8fae5780f06 Author: Z. Liu <zhixu.liu@gmail.com> AuthorDate: 2025-01-22 13:50:39 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-02-07 23:51:49 +0000 sys-devel/dev86: bump to v1.0.1 use "-std=c89" as workaround Bug: https://bugs.gentoo.org/757675 Bug: https://bugs.gentoo.org/891533 Bug: https://bugs.gentoo.org/920450 Closes: https://bugs.gentoo.org/699812 Signed-off-by: Z. Liu <zhixu.liu@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/40267 Signed-off-by: Sam James <sam@gentoo.org> sys-devel/dev86/Manifest | 1 + sys-devel/dev86/dev86-1.0.1.ebuild | 69 ++++++++++++++++++++++++ sys-devel/dev86/files/dev86-1.0.1-makefile.patch | 66 +++++++++++++++++++++++ sys-devel/dev86/metadata.xml | 1 + 4 files changed, 137 insertions(+)