Module Name: src Committed By: rin Date: Mon Sep 12 08:11:51 UTC 2022
Modified Files: src/doc: HACKS Log Message: Document -O0 hack for ibm4xx copy{in,out}() for clang 13.0.0. To generate a diff of this commit: cvs rdiff -u -r1.230 -r1.231 src/doc/HACKS Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/doc/HACKS diff -u src/doc/HACKS:1.230 src/doc/HACKS:1.231 --- src/doc/HACKS:1.230 Wed Aug 10 13:38:26 2022 +++ src/doc/HACKS Mon Sep 12 08:11:51 2022 @@ -1,4 +1,4 @@ -# $NetBSD: HACKS,v 1.230 2022/08/10 13:38:26 rin Exp $ +# $NetBSD: HACKS,v 1.231 2022/09/12 08:11:51 rin Exp $ # # This file is intended to document workarounds for currently unsolved # (mostly) compiler bugs. @@ -1054,3 +1054,13 @@ descr https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105209 kcah + +hack compile copy{in,out}() for ibm4xx with -O0 for clang +cdate Mon Sep 12 08:06:36 UTC 2022 +who rin +port evbppc +file sys/arch/powerpc/ibm4xx/trap.c: 1.99 +descr + clang 13.0.0 miscompiles copy{in,out}() with -O[12]. As a result, + kernel cannot execute /sbin/init. +kcah