CVS commit: src/sys/arch/m68k/conf
Module Name:src Committed By: thorpej Date: Thu Jan 18 05:42:29 UTC 2024 Modified Files: src/sys/arch/m68k/conf: files.m68k Log Message: Bump required version (mkflagvar). To generate a diff of this commit: cvs rdiff -u -r1.55 -r1.56 src/sys/arch/m68k/conf/files.m68k Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/m68k/conf
Module Name:src Committed By: thorpej Date: Thu Jan 18 05:42:29 UTC 2024 Modified Files: src/sys/arch/m68k/conf: files.m68k Log Message: Bump required version (mkflagvar). To generate a diff of this commit: cvs rdiff -u -r1.55 -r1.56 src/sys/arch/m68k/conf/files.m68k Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/arch/m68k/conf/files.m68k diff -u src/sys/arch/m68k/conf/files.m68k:1.55 src/sys/arch/m68k/conf/files.m68k:1.56 --- src/sys/arch/m68k/conf/files.m68k:1.55 Thu Jan 18 05:04:13 2024 +++ src/sys/arch/m68k/conf/files.m68k Thu Jan 18 05:42:29 2024 @@ -1,6 +1,8 @@ -# $NetBSD: files.m68k,v 1.55 2024/01/18 05:04:13 thorpej Exp $ +# $NetBSD: files.m68k,v 1.56 2024/01/18 05:42:29 thorpej Exp $ # +version 20240118 # mkflagvar + defflag opt_fpsp.h FPSP defflag opt_m68k_arch.h M68010 defflag opt_m68k_arch.h M68020
CVS commit: src/sys/arch/m68k/conf
Module Name:src Committed By: thorpej Date: Thu Jan 18 05:04:13 UTC 2024 Modified Files: src/sys/arch/m68k/conf: files.m68k Log Message: mkflagvar M68010 M68020 M68030 M68040 M68060 To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55 src/sys/arch/m68k/conf/files.m68k Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/m68k/conf
Module Name:src Committed By: thorpej Date: Thu Jan 18 05:04:13 UTC 2024 Modified Files: src/sys/arch/m68k/conf: files.m68k Log Message: mkflagvar M68010 M68020 M68030 M68040 M68060 To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55 src/sys/arch/m68k/conf/files.m68k Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/arch/m68k/conf/files.m68k diff -u src/sys/arch/m68k/conf/files.m68k:1.54 src/sys/arch/m68k/conf/files.m68k:1.55 --- src/sys/arch/m68k/conf/files.m68k:1.54 Wed Jan 17 12:33:51 2024 +++ src/sys/arch/m68k/conf/files.m68k Thu Jan 18 05:04:13 2024 @@ -1,4 +1,4 @@ -# $NetBSD: files.m68k,v 1.54 2024/01/17 12:33:51 thorpej Exp $ +# $NetBSD: files.m68k,v 1.55 2024/01/18 05:04:13 thorpej Exp $ # defflag opt_fpsp.h FPSP @@ -7,6 +7,11 @@ defflag opt_m68k_arch.h M68020 defflag opt_m68k_arch.h M68030 defflag opt_m68k_arch.h M68040 defflag opt_m68k_arch.h M68060 + +# Emit Makefile vars for these kernel options so that compiler flags +# can be tuned for CPU support. +mkflagvar M68010 M68020 M68030 M68040 M68060 + defflagFPU_EMULATE defflagPMAP_DEBUG
re: CVS commit: src/sys/arch/m68k/conf
On Tue, 6 Jul 2010, matthew green wrote: could you confirm that this patch works for you? it seems to for me. http://www.netbsd.org/~mrg/m68k.kernel.options.fix.diff thanks. sorry for breaking it. It appears to set the proper compiler options now. -- Michael L. Hitchmhi...@montana.edu Computer Consultant Information Technology Center Montana State UniversityBozeman, MT USA
re: CVS commit: src/sys/arch/m68k/conf
On Tue, 6 Jul 2010, matthew green wrote: could you confirm that this patch works for you? it seems to for me. http://www.netbsd.org/~mrg/m68k.kernel.options.fix.diff thanks. sorry for breaking it. It appears to set the proper compiler options now. great! i've commited this. .mrg.
Re: CVS commit: src/sys/arch/m68k/conf
On Sun, 6 Jun 2010, matthew green wrote: Module Name:src Committed By: mrg Date: Sun Jun 6 04:51:33 UTC 2010 Modified Files: src/sys/arch/m68k/conf: files.m68k Log Message: fix PR 6724 - convert m68k options to defflag's. this means that M680[12346] are now available from opt_m68k_arch.h. FPSP meantioned in the PR has already been fixed, and i could not find any more. i built these kernels to ensure i did not break their builds: Well, they might build, but that doesn't mean they will run :) This change breaks setting the cc and asm flags based on the kernel options. In my case, I was compiling for my 68060, and since none of the cpu types was passed to the Makefile, it generated code a multiply that is not supported on the 68060, and my kernel crashed with an unimplemented instruction trap. After looking at uvm_pctparam_set() on both my new kernel and a working one, I noticed the difference in how the multiply was done. Checking the build of the bad kernel and a log from a previous build, I found that the -m68020-60 option was missing. After a hunt to see where that was to come from (src/sys/arch/m68k/Makefile.cmachflags), I found that IDENT no longer generated the cpu type flags from the config file. This means we have to go back to explicitly setting the build options in the config files in order to generate the correct code, or set the appropriate build options outside the kernel build. -- Michael L. Hitchmhi...@montana.edu Computer Consultant Information Technology Center Montana State UniversityBozeman, MT USA