Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: i386 9.99.17 build fails for NET4501 kernel
Hi,
Maxime Villard <max%m00nbsd.net@localhost> writes:
> I don't understand what this error means. There is nothing related to
> longjmp in this code or any code I've touched, and the FPU code does
> not rely on that. As well I don't see what difference SVS could make
> since it doesn't rely on that either.
>
> No idea, looks like a compiler bug.
If the problem is the compiler bug, the patch like the following
may be effective.
Index: sys/arch/amd64/conf/Makefile.amd64
===================================================================
RCS file: /cvsroot/src/sys/arch/amd64/conf/Makefile.amd64,v
retrieving revision 1.78
diff -u -r1.78 Makefile.amd64
--- sys/arch/amd64/conf/Makefile.amd64 7 Sep 2019 18:56:01 -0000 1.78
+++ sys/arch/amd64/conf/Makefile.amd64 15 Oct 2019 08:35:44 -0000
@@ -59,6 +59,7 @@
.endfor
CFLAGS+= ${KASANFLAGS.${.IMPSRC:T}:U${KASANFLAGS}}
.endif
+COPTS.vm_machdep.c+= -Wno-error=clobbered
##
## (3) libkern and compat
--
Ryo ONODERA // ryo%tetera.org@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB FD1B F404 27FA C7D1 15F3
Home |
Main Index |
Thread Index |
Old Index