CVS commit: src/sys/conf
Module Name:src Committed By: rin Date: Thu Jul 4 01:11:34 UTC 2024 Modified Files: src/sys/conf: copts.mk Log Message: sys/conf/copts.mk: Drop fallthrough hack for zlib.c To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/conf/copts.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/conf/copts.mk diff -u src/sys/conf/copts.mk:1.11 src/sys/conf/copts.mk:1.12 --- src/sys/conf/copts.mk:1.11 Tue Aug 8 06:27:32 2023 +++ src/sys/conf/copts.mk Thu Jul 4 01:11:34 2024 @@ -1,4 +1,4 @@ -# $NetBSD: copts.mk,v 1.11 2023/08/08 06:27:32 mrg Exp $ +# $NetBSD: copts.mk,v 1.12 2024/07/04 01:11:34 rin Exp $ # MI per-file compiler options required. @@ -8,7 +8,6 @@ .ifndef _SYS_CONF_COPTS_MK_ _SYS_CONF_COPTS_MK_=1 -COPTS.zlib.c+= ${CC_WNO_IMPLICIT_FALLTHROUGH} COPTS.pf.c+= ${CC_WNO_IMPLICIT_FALLTHROUGH} COPTS.radeon_cs.c+= ${CC_WNO_IMPLICIT_FALLTHROUGH} COPTS.via_dmablit.c+= ${CC_WNO_IMPLICIT_FALLTHROUGH}
CVS commit: src/sys/conf
Module Name:src Committed By: rin Date: Thu Jul 4 01:11:34 UTC 2024 Modified Files: src/sys/conf: copts.mk Log Message: sys/conf/copts.mk: Drop fallthrough hack for zlib.c To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/conf/copts.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/conf
Module Name:src Committed By: christos Date: Wed May 1 14:52:01 UTC 2024 Modified Files: src/sys/conf: newvers.mk newvers.sh Log Message: PR/58220: Kouichi Hashikawa: use ${TOOL_AWK} To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/conf/newvers.mk cvs rdiff -u -r1.63 -r1.64 src/sys/conf/newvers.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/conf/newvers.mk diff -u src/sys/conf/newvers.mk:1.3 src/sys/conf/newvers.mk:1.4 --- src/sys/conf/newvers.mk:1.3 Fri Apr 5 18:27:25 2024 +++ src/sys/conf/newvers.mk Wed May 1 10:52:01 2024 @@ -1,4 +1,4 @@ -# $NetBSD: newvers.mk,v 1.3 2024/04/05 22:27:25 christos Exp $ +# $NetBSD: newvers.mk,v 1.4 2024/05/01 14:52:01 christos Exp $ MKREPRO?=no @@ -17,7 +17,8 @@ newvers: vers.o vers.o: ${SYSTEM_OBJ:O} Makefile $S/conf/newvers.sh \ $S/conf/osrelease.sh ${_NETBSD_VERSION_DEPENDS} ${_MKMSG_CREATE} vers.c - TOOL_DATE=${TOOL_DATE} ${HOST_SH} $S/conf/newvers.sh ${_NVFLAGS} + TOOL_AWK=${TOOL_AWK} TOOL_DATE=${TOOL_DATE} \ + ${HOST_SH} $S/conf/newvers.sh ${_NVFLAGS} ${_MKTARGET_COMPILE} ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c vers.c ${COMPILE_CTFCONVERT} Index: src/sys/conf/newvers.sh diff -u src/sys/conf/newvers.sh:1.63 src/sys/conf/newvers.sh:1.64 --- src/sys/conf/newvers.sh:1.63 Fri Apr 5 18:27:25 2024 +++ src/sys/conf/newvers.sh Wed May 1 10:52:01 2024 @@ -1,6 +1,6 @@ #!/bin/sh - # -# $NetBSD: newvers.sh,v 1.63 2024/04/05 22:27:25 christos Exp $ +# $NetBSD: newvers.sh,v 1.64 2024/05/01 14:52:01 christos Exp $ # # Copyright (c) 1984, 1986, 1990, 1993 # The Regents of the University of California. All rights reserved. @@ -134,7 +134,7 @@ source_lines() else cat fi \ - | awk '{ + | "${AWK}" '{ # awk does not care about whether or not the last line # of input ends with a newline. # Convert to . @@ -154,6 +154,7 @@ if [ ! -e version ]; then fi DATE=${TOOL_DATE:-date} +AWK=${TOOL_AWK:-awk} Rflag=false nflag=false timestamp=
CVS commit: src/sys/conf
Module Name:src Committed By: christos Date: Wed May 1 14:52:01 UTC 2024 Modified Files: src/sys/conf: newvers.mk newvers.sh Log Message: PR/58220: Kouichi Hashikawa: use ${TOOL_AWK} To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/conf/newvers.mk cvs rdiff -u -r1.63 -r1.64 src/sys/conf/newvers.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/conf
Module Name:src Committed By: christos Date: Fri Apr 5 22:28:20 UTC 2024 Modified Files: src/sys/conf: newvers_stand.mk Log Message: Use ${TOOL_DATE} (Jan-Benedict Glaw) To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/conf/newvers_stand.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/conf/newvers_stand.mk diff -u src/sys/conf/newvers_stand.mk:1.4 src/sys/conf/newvers_stand.mk:1.5 --- src/sys/conf/newvers_stand.mk:1.4 Fri May 21 07:28:11 2021 +++ src/sys/conf/newvers_stand.mk Fri Apr 5 18:28:20 2024 @@ -1,4 +1,4 @@ -# $NetBSD: newvers_stand.mk,v 1.4 2021/05/21 11:28:11 nakayama Exp $ +# $NetBSD: newvers_stand.mk,v 1.5 2024/04/05 22:28:20 christos Exp $ VERSIONFILE?=version VERSIONMACHINE?=${MACHINE} @@ -19,7 +19,7 @@ VERSIONFLAGS+=-d vers.c: ${VERSIONFILE} ${_NETBSD_VERSION_DEPENDS} ${_MKTARGET_CREATE} - ${HOST_SH} ${S}/conf/newvers_stand.sh \ + TOOL_DATE=${TOOL_DATE} ${HOST_SH} ${S}/conf/newvers_stand.sh \ -m ${VERSIONMACHINE} ${VERSIONFLAGS} ${.ALLSRC:[1]} ${NEWVERSWHAT} .endif
CVS commit: src/sys/conf
Module Name:src Committed By: christos Date: Fri Apr 5 22:28:20 UTC 2024 Modified Files: src/sys/conf: newvers_stand.mk Log Message: Use ${TOOL_DATE} (Jan-Benedict Glaw) To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/conf/newvers_stand.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/conf
Module Name:src Committed By: christos Date: Fri Apr 5 22:27:25 UTC 2024 Modified Files: src/sys/conf: newvers.mk newvers.sh Log Message: Use ${TOOL_DATE} (Jan-Benedict Glaw) To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/conf/newvers.mk cvs rdiff -u -r1.62 -r1.63 src/sys/conf/newvers.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/conf
Module Name:src Committed By: christos Date: Fri Apr 5 22:27:25 UTC 2024 Modified Files: src/sys/conf: newvers.mk newvers.sh Log Message: Use ${TOOL_DATE} (Jan-Benedict Glaw) To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/conf/newvers.mk cvs rdiff -u -r1.62 -r1.63 src/sys/conf/newvers.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/conf/newvers.mk diff -u src/sys/conf/newvers.mk:1.2 src/sys/conf/newvers.mk:1.3 --- src/sys/conf/newvers.mk:1.2 Sat Apr 8 14:24:09 2017 +++ src/sys/conf/newvers.mk Fri Apr 5 18:27:25 2024 @@ -1,4 +1,4 @@ -# $NetBSD: newvers.mk,v 1.2 2017/04/08 18:24:09 christos Exp $ +# $NetBSD: newvers.mk,v 1.3 2024/04/05 22:27:25 christos Exp $ MKREPRO?=no @@ -17,7 +17,7 @@ newvers: vers.o vers.o: ${SYSTEM_OBJ:O} Makefile $S/conf/newvers.sh \ $S/conf/osrelease.sh ${_NETBSD_VERSION_DEPENDS} ${_MKMSG_CREATE} vers.c - ${HOST_SH} $S/conf/newvers.sh ${_NVFLAGS} + TOOL_DATE=${TOOL_DATE} ${HOST_SH} $S/conf/newvers.sh ${_NVFLAGS} ${_MKTARGET_COMPILE} ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c vers.c ${COMPILE_CTFCONVERT} Index: src/sys/conf/newvers.sh diff -u src/sys/conf/newvers.sh:1.62 src/sys/conf/newvers.sh:1.63 --- src/sys/conf/newvers.sh:1.62 Sat Apr 8 14:24:09 2017 +++ src/sys/conf/newvers.sh Fri Apr 5 18:27:25 2024 @@ -1,6 +1,6 @@ #!/bin/sh - # -# $NetBSD: newvers.sh,v 1.62 2017/04/08 18:24:09 christos Exp $ +# $NetBSD: newvers.sh,v 1.63 2024/04/05 22:27:25 christos Exp $ # # Copyright (c) 1984, 1986, 1990, 1993 # The Regents of the University of California. All rights reserved. @@ -153,6 +153,7 @@ if [ ! -e version ]; then echo 0 > version fi +DATE=${TOOL_DATE:-date} Rflag=false nflag=false timestamp= @@ -206,7 +207,7 @@ if ${Rflag}; then else if [ -z "${timestamp}" ]; then v=$(cat version) - t=$(LC_ALL=C date) + t=$(LC_ALL=C ${DATE}) u=${USER-root} h=$(hostname) d=$(pwd) @@ -214,7 +215,7 @@ else echo $(expr ${v} + 1) > version else v=0 - t=$(LC_ALL=C TZ=UTC date -r "${timestamp}") + t=$(LC_ALL=C TZ=UTC ${DATE} -r "${timestamp}") u=mkrepro h=mkrepro.NetBSD.org d="/usr/src/sys/arch/${machine}/compile/${id}"
CVS commit: src/sys/conf
Module Name:src Committed By: christos Date: Tue Apr 2 14:15:19 UTC 2024 Modified Files: src/sys/conf: newvers_stand.sh Log Message: Use ${TOOL_DATE} (Jan-Benedict Glaw) To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/conf/newvers_stand.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/conf/newvers_stand.sh diff -u src/sys/conf/newvers_stand.sh:1.9 src/sys/conf/newvers_stand.sh:1.10 --- src/sys/conf/newvers_stand.sh:1.9 Sat Apr 8 15:53:54 2017 +++ src/sys/conf/newvers_stand.sh Tue Apr 2 10:15:19 2024 @@ -1,6 +1,6 @@ #!/bin/sh - # -# $NetBSD: newvers_stand.sh,v 1.9 2017/04/08 19:53:54 christos Exp $ +# $NetBSD: newvers_stand.sh,v 1.10 2024/04/02 14:15:19 christos Exp $ # # Copyright (c) 2000 The NetBSD Foundation, Inc. # All rights reserved. @@ -35,6 +35,8 @@ # Called as: # sh ${S}/conf/newvers_stand.sh [-dkn] [-D ] [-m ] VERSION_TEMPLATE [EXTRA_MSG] +DATE=${TOOL_DATE:-date} + cwd=$(dirname "$0") add_name=true @@ -45,8 +47,8 @@ dateargs= # parse command args while getopts "m:D:dknm:" OPT; do - case $OPT in - D) dateargs="-r $OPTARG";; + case ${OPT} in + D) dateargs="-r ${OPTARG}";; d) add_date=false;; k) add_kernrev=false;; m) machine=${OPTARG};; @@ -56,25 +58,25 @@ while getopts "m:D:dknm:" OPT; do esac done -shift $(expr $OPTIND - 1) +shift $(expr ${OPTIND} - 1) r=$(awk -F: '$1 ~ /^[0-9.]*$/ { it = $1; } END { print it }' "$1") shift -t=$(LC_ALL=C TZ=UTC date $dateargs) +t=$(LC_ALL=C TZ=UTC ${DATE} ${dateargs}) -if $add_date; then +if ${add_date}; then echo "const char bootprog_rev[] = \"${r} (${t})\";" > vers.c else echo "const char bootprog_rev[] = \"${r}\";" > vers.c fi -if $add_name; then +if ${add_name}; then extra=${1:+" $1"} echo "const char bootprog_name[] = \"NetBSD/${machine}${extra}\";" >> vers.c fi -if $add_kernrev; then +if ${add_kernrev}; then osr=$(sh "${cwd}/osrelease.sh") echo "const char bootprog_kernrev[] = \"${osr}\";" >> vers.c fi
CVS commit: src/sys/conf
Module Name:src Committed By: christos Date: Tue Apr 2 14:15:19 UTC 2024 Modified Files: src/sys/conf: newvers_stand.sh Log Message: Use ${TOOL_DATE} (Jan-Benedict Glaw) To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/conf/newvers_stand.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/conf
Module Name:src Committed By: riastradh Date: Tue Mar 26 10:56:34 UTC 2024 Modified Files: src/sys/conf: std Log Message: conf/std: Update comment over rnd(4) to reflect current reality. PR kern/46728 To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sys/conf/std Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/conf/std diff -u src/sys/conf/std:1.23 src/sys/conf/std:1.24 --- src/sys/conf/std:1.23 Sun Jan 27 02:08:41 2019 +++ src/sys/conf/std Tue Mar 26 10:56:34 2024 @@ -1,4 +1,4 @@ -# $NetBSD: std,v 1.23 2019/01/27 02:08:41 pgoyette Exp $ +# $NetBSD: std,v 1.24 2024/03/26 10:56:34 riastradh Exp $ # # standard MI 'options' # @@ -51,9 +51,13 @@ options SCHED_4BSD pseudo-device cpuctl # -# Kernel entropy pool and random-number generator pseudodevice. -# The pseudodevice might stop being "std" when the two are torn -# apart some day but the entropy pool itself never will (they are -# presently implemented in the same source file) +# /dev/random and /dev/urandom interfaces. +# +# This could be taken out of conf/std now that the entropy pool and +# kernel random number generation API is part of kern proper -- +# provided that some care is taken in ensuring that we copy & paste +# this line in essentially every kernel config, because many +# applications, even embedded ones, will likely rely in some way or +# other on reading from /dev/urandom. # pseudo-device rnd
CVS commit: src/sys/conf
Module Name:src Committed By: riastradh Date: Tue Mar 26 10:56:34 UTC 2024 Modified Files: src/sys/conf: std Log Message: conf/std: Update comment over rnd(4) to reflect current reality. PR kern/46728 To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sys/conf/std Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/conf
Module Name:src Committed By: gutteridge Date: Sun Jan 14 00:39:11 UTC 2024 Modified Files: src/sys/conf: Makefile.kern.inc Log Message: Makefile.kern.inc: fix grammar in a comment To generate a diff of this commit: cvs rdiff -u -r1.299 -r1.300 src/sys/conf/Makefile.kern.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/conf
Module Name:src Committed By: gutteridge Date: Sun Jan 14 00:39:11 UTC 2024 Modified Files: src/sys/conf: Makefile.kern.inc Log Message: Makefile.kern.inc: fix grammar in a comment To generate a diff of this commit: cvs rdiff -u -r1.299 -r1.300 src/sys/conf/Makefile.kern.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/conf/Makefile.kern.inc diff -u src/sys/conf/Makefile.kern.inc:1.299 src/sys/conf/Makefile.kern.inc:1.300 --- src/sys/conf/Makefile.kern.inc:1.299 Fri Jul 28 02:41:31 2023 +++ src/sys/conf/Makefile.kern.inc Sun Jan 14 00:39:10 2024 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.kern.inc,v 1.299 2023/07/28 02:41:31 rin Exp $ +# $NetBSD: Makefile.kern.inc,v 1.300 2024/01/14 00:39:10 gutteridge Exp $ # # This file contains common `MI' targets and definitions and it is included # at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}. @@ -249,7 +249,7 @@ SYSTEM_LD_TAIL?= @${_MKSHECHO} OBJCOPY_STRIPFLAGS?= -g # Strip some architecture-defined symbols from kernel image, while -# keep them in netbsd.gdb. +# keeping them in netbsd.gdb. .if defined(ARCH_STRIP_SYMBOLS) .if empty(DEBUG:M-g*) SYSTEM_LD_TAIL+= && ${OBJCOPY} -w ${ARCH_STRIP_SYMBOLS} $@
CVS commit: src/sys/conf
Module Name:src Committed By: wiz Date: Mon Jan 1 00:18:40 UTC 2024 Modified Files: src/sys/conf: copyright Log Message: Update copyright notice for 2024. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/conf/copyright Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/conf/copyright diff -u src/sys/conf/copyright:1.21 src/sys/conf/copyright:1.22 --- src/sys/conf/copyright:1.21 Sun Jan 1 00:09:52 2023 +++ src/sys/conf/copyright Mon Jan 1 00:18:40 2024 @@ -1,6 +1,7 @@ Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, -2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023 +2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, +2024 The NetBSD Foundation, Inc. All rights reserved. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved.
CVS commit: src/sys/conf
Module Name:src Committed By: wiz Date: Mon Jan 1 00:18:40 UTC 2024 Modified Files: src/sys/conf: copyright Log Message: Update copyright notice for 2024. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/conf/copyright Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Re: CVS commit: src/sys/conf
> Modified Files: > src/sys/conf: copyright > > Log Message: > Welcome to 2023. Wrap lines so the years fit in to 80 columns with > a leading kernel log timestamp. Please don't forget requesting pullup to all release branches. Thanks, --- Izumi Tsutsui
CVS commit: src/sys/conf
Module Name:src Committed By: simonb Date: Sun Jan 1 00:09:52 UTC 2023 Modified Files: src/sys/conf: copyright Log Message: Welcome to 2023. Wrap lines so the years fit in to 80 columns with a leading kernel log timestamp. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/sys/conf/copyright Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/conf
Module Name:src Committed By: simonb Date: Sun Jan 1 00:09:52 UTC 2023 Modified Files: src/sys/conf: copyright Log Message: Welcome to 2023. Wrap lines so the years fit in to 80 columns with a leading kernel log timestamp. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/sys/conf/copyright Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/conf/copyright diff -u src/sys/conf/copyright:1.20 src/sys/conf/copyright:1.21 --- src/sys/conf/copyright:1.20 Sat Jan 1 06:14:28 2022 +++ src/sys/conf/copyright Sun Jan 1 00:09:52 2023 @@ -1,6 +1,6 @@ -Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, -2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, -2018, 2019, 2020, 2021, 2022 +Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, +2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, +2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023 The NetBSD Foundation, Inc. All rights reserved. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved.
CVS commit: src/sys/conf
Module Name:src Committed By: yamt Date: Sat Nov 19 07:54:25 UTC 2022 Modified Files: src/sys/conf: assym.mk Log Message: assym.mk: Fix assym.d generation It seems that the genassym/mkdep output has been changed. This commit adapts the assym.d generation rule to the new output. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/conf/assym.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/conf/assym.mk diff -u src/sys/conf/assym.mk:1.7 src/sys/conf/assym.mk:1.8 --- src/sys/conf/assym.mk:1.7 Thu Jul 9 02:13:58 2020 +++ src/sys/conf/assym.mk Sat Nov 19 07:54:25 2022 @@ -1,4 +1,4 @@ -# $NetBSD: assym.mk,v 1.7 2020/07/09 02:13:58 christos Exp $ +# $NetBSD: assym.mk,v 1.8 2022/11/19 07:54:25 yamt Exp $ GENASSYM_FLAGS=${CFLAGS:N-Wa,*:N-fstack-usage*} ${CPPFLAGS} ${GENASSYM_CPPFLAGS} @@ -16,11 +16,26 @@ ${SRCS:M*.[sS]:C|\.[Ss]|.o|}: assym.h ${SRCS:M*.[sS]:C|\.[Ss]|.d|}: assym.h .endif +# assym.dep in the below target looks like: +# +# assym.o: \ +#/var/folders/74/hw1sphgx0lv63q6pq_n5grw0gn/T//genassym.BCtq6a/assym.c \ +#opt_arm_start.h opt_execfmt.h opt_multiprocessor.h \ +# : +# : +# +# The following sed modifies it to: +# +# assym.h: \ +#opt_arm_start.h opt_execfmt.h opt_multiprocessor.h \ +# : +# : + assym.d: assym.h ${_MKTARGET_CREATE} cat ${GENASSYM_CONF} ${GENASSYM_EXTRAS} | \ ${GENASSYM} -- ${MKDEP} -f assym.dep -- ${GENASSYM_FLAGS} - ${TOOL_SED} -e 's/.*\.o:.*\.c/assym.h:/' < assym.dep >${.TARGET} + ${TOOL_SED} -e '1{N;s/\\\n//;}' -e 's/.*\.o:.*\.c/assym.h:/' < assym.dep >${.TARGET} rm -f assym.dep DEPS+= assym.d
CVS commit: src/sys/conf
Module Name:src Committed By: yamt Date: Sat Nov 19 07:54:25 UTC 2022 Modified Files: src/sys/conf: assym.mk Log Message: assym.mk: Fix assym.d generation It seems that the genassym/mkdep output has been changed. This commit adapts the assym.d generation rule to the new output. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/conf/assym.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/conf
Module Name:src Committed By: rillig Date: Sat Aug 27 21:49:33 UTC 2022 Modified Files: src/sys/conf: lint.mk Log Message: sys/conf/link.mk: clean up The modifier ':C' did not need the modifier 'g', as there couldn't ever be more than one match per word. Using the modifier ':from=to' is easier to read. Align the variable assignments. There was no point in having 3 different alignment styles in the same file. Remove underscore from .for iteration variable, as it is not needed. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/conf/lint.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/conf/lint.mk diff -u src/sys/conf/lint.mk:1.4 src/sys/conf/lint.mk:1.5 --- src/sys/conf/lint.mk:1.4 Sun May 2 20:11:43 2021 +++ src/sys/conf/lint.mk Sat Aug 27 21:49:33 2022 @@ -1,4 +1,4 @@ -# $NetBSD: lint.mk,v 1.4 2021/05/02 20:11:43 rillig Exp $ +# $NetBSD: lint.mk,v 1.5 2022/08/27 21:49:33 rillig Exp $ ## ## lint @@ -7,22 +7,22 @@ .if !target(lint) .PATH: $S ALLSFILES?= ${MD_SFILES} ${SFILES} -LINTSTUBS?= ${ALLSFILES:T:R:C/^.*$/LintStub_&.c/g} +LINTSTUBS?= ${ALLSFILES:T:R:%=LintStub_%.c} KERNLINTFLAGS?= -bceghnxzFS NORMAL_LN?= ${LINT} ${KERNLINTFLAGS} ${CPPFLAGS:M-[IDU]*} -o $@ -i $< -_lsrc=${CFILES} ${LINTSTUBS} ${MI_CFILES} ${MD_CFILES} -LOBJS?= ${_lsrc:T:S/.c$/.ln/g} ${LIBKERNLN} ${SYSLIBCOMPATLN} +_lsrc= ${CFILES} ${LINTSTUBS} ${MI_CFILES} ${MD_CFILES} +LOBJS?= ${_lsrc:T:.c=.ln} ${LIBKERNLN} ${SYSLIBCOMPATLN} -.for _sfile in ${ALLSFILES} -LintStub_${_sfile:T:R}.c: ${_sfile} assym.h +.for sfile in ${ALLSFILES} +LintStub_${sfile:T:R}.c: ${sfile} assym.h ${_MKTARGET_COMPILE} - ${CC} -E -C ${AFLAGS} ${CPPFLAGS} ${_sfile} | \ + ${CC} -E -C ${AFLAGS} ${CPPFLAGS} ${sfile} | \ ${TOOL_AWK} -f $S/kern/genlintstub.awk >${.TARGET} .endfor -.for _cfile in ${CFILES} ${LINTSTUBS} ${MI_CFILES} ${MD_CFILES} -${_cfile:T:R}.ln: ${_cfile} +.for cfile in ${CFILES} ${LINTSTUBS} ${MI_CFILES} ${MD_CFILES} +${cfile:T:R}.ln: ${cfile} ${_MKTARGET_COMPILE} ${NORMAL_LN} .endfor
CVS commit: src/sys/conf
Module Name:src Committed By: rillig Date: Sat Aug 27 21:49:33 UTC 2022 Modified Files: src/sys/conf: lint.mk Log Message: sys/conf/link.mk: clean up The modifier ':C' did not need the modifier 'g', as there couldn't ever be more than one match per word. Using the modifier ':from=to' is easier to read. Align the variable assignments. There was no point in having 3 different alignment styles in the same file. Remove underscore from .for iteration variable, as it is not needed. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/conf/lint.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/conf
Module Name:src Committed By: rillig Date: Sat Aug 27 20:42:16 UTC 2022 Modified Files: src/sys/conf: copts.mk Log Message: sys/conf: fix typo in comment To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/conf/copts.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/conf/copts.mk diff -u src/sys/conf/copts.mk:1.6 src/sys/conf/copts.mk:1.7 --- src/sys/conf/copts.mk:1.6 Mon Apr 12 06:08:31 2021 +++ src/sys/conf/copts.mk Sat Aug 27 20:42:16 2022 @@ -1,4 +1,4 @@ -# $NetBSD: copts.mk,v 1.6 2021/04/12 06:08:31 mrg Exp $ +# $NetBSD: copts.mk,v 1.7 2022/08/27 20:42:16 rillig Exp $ # MI per-file compiler options required. @@ -24,7 +24,7 @@ COPTS.linux_machdep.c+= -Wno-error=unuse COPTS.ath.c+= -Wno-error=enum-conversion COPTS.dpt.c+= ${GCC_NO_ADDR_OF_PACKED_MEMBER} COPTS.ffs_appleufs.c+= ${GCC_NO_ADDR_OF_PACKED_MEMBER} -# These are wrong. The code explicitly avoids this ase. +# These are wrong. The code explicitly avoids this case. COPTS.in_pcb.c+= ${GCC_NO_RETURN_LOCAL_ADDR} COPTS.in6_pcb.c+= ${GCC_NO_RETURN_LOCAL_ADDR} # Also seems wrong.
CVS commit: src/sys/conf
Module Name:src Committed By: rillig Date: Sat Aug 27 20:42:16 UTC 2022 Modified Files: src/sys/conf: copts.mk Log Message: sys/conf: fix typo in comment To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/conf/copts.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/conf
Module Name:src Committed By: rillig Date: Sat Aug 27 20:37:49 UTC 2022 Modified Files: src/sys/conf: Makefile.kern.inc Log Message: sys: document how to run lint on the kernel code (experimental) To generate a diff of this commit: cvs rdiff -u -r1.294 -r1.295 src/sys/conf/Makefile.kern.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/conf/Makefile.kern.inc diff -u src/sys/conf/Makefile.kern.inc:1.294 src/sys/conf/Makefile.kern.inc:1.295 --- src/sys/conf/Makefile.kern.inc:1.294 Wed Aug 3 09:37:37 2022 +++ src/sys/conf/Makefile.kern.inc Sat Aug 27 20:37:49 2022 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.kern.inc,v 1.294 2022/08/03 09:37:37 riastradh Exp $ +# $NetBSD: Makefile.kern.inc,v 1.295 2022/08/27 20:37:49 rillig Exp $ # # This file contains common `MI' targets and definitions and it is included # at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}. @@ -480,7 +480,7 @@ ${_v}.${_c:T}+=${OPT.${_c:T}:@.o.@${${_v all: .gdbinit .for k in ${KERNELS} all: .WAIT ${k} -${k}: ${SYSTEM_DEP:O} swap${k}.o vers.o build_kernel +${k}: ${SYSTEM_DEP:O} swap${k}.o vers.o build_kernel #${MKLINT:Myes:%=lint} .endfor .if !defined(COPY_SYMTAB)
CVS commit: src/sys/conf
Module Name:src Committed By: rillig Date: Sat Aug 27 20:37:49 UTC 2022 Modified Files: src/sys/conf: Makefile.kern.inc Log Message: sys: document how to run lint on the kernel code (experimental) To generate a diff of this commit: cvs rdiff -u -r1.294 -r1.295 src/sys/conf/Makefile.kern.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/conf
Module Name:src Committed By: mrg Date: Sun Jul 24 18:04:48 UTC 2022 Modified Files: src/sys/conf: files Log Message: use defparam; noted by tnn@. To generate a diff of this commit: cvs rdiff -u -r1.1300 -r1.1301 src/sys/conf/files Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/conf/files diff -u src/sys/conf/files:1.1300 src/sys/conf/files:1.1301 --- src/sys/conf/files:1.1300 Sat Jul 23 19:15:28 2022 +++ src/sys/conf/files Sun Jul 24 18:04:48 2022 @@ -1,4 +1,4 @@ -# $NetBSD: files,v 1.1300 2022/07/23 19:15:28 mrg Exp $ +# $NetBSD: files,v 1.1301 2022/07/24 18:04:48 mrg Exp $ # @(#)files.newconf 7.5 (Berkeley) 5/10/93 version 20171118 @@ -142,7 +142,7 @@ defflag opt_rnd_printf.h RND_PRINTF defflag opt_todr.h TODR_DEBUG -defopt opt_maxlwp.h MAXLWP +defparam opt_maxlwp.h MAXLWP # compatibility options #
CVS commit: src/sys/conf
Module Name:src Committed By: mrg Date: Sun Jul 24 18:04:48 UTC 2022 Modified Files: src/sys/conf: files Log Message: use defparam; noted by tnn@. To generate a diff of this commit: cvs rdiff -u -r1.1300 -r1.1301 src/sys/conf/files Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/conf
Module Name:src Committed By: rjs Date: Sun Jun 5 13:35:52 UTC 2022 Modified Files: src/sys/conf: files Log Message: bwfm(4) uses firmload. To generate a diff of this commit: cvs rdiff -u -r1.1297 -r1.1298 src/sys/conf/files Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/conf
Module Name:src Committed By: rjs Date: Sun Jun 5 13:35:52 UTC 2022 Modified Files: src/sys/conf: files Log Message: bwfm(4) uses firmload. To generate a diff of this commit: cvs rdiff -u -r1.1297 -r1.1298 src/sys/conf/files Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/conf/files diff -u src/sys/conf/files:1.1297 src/sys/conf/files:1.1298 --- src/sys/conf/files:1.1297 Sat May 7 04:30:41 2022 +++ src/sys/conf/files Sun Jun 5 13:35:52 2022 @@ -1,4 +1,4 @@ -# $NetBSD: files,v 1.1297 2022/05/07 04:30:41 rin Exp $ +# $NetBSD: files,v 1.1298 2022/06/05 13:35:52 rjs Exp $ # @(#)files.newconf 7.5 (Berkeley) 5/10/93 version 20171118 @@ -1414,7 +1414,7 @@ attach ld at nvme with ld_nvme file dev/ic/ld_nvme.c ld_nvme # Broadcom FullMAC 802.11 driver -device bwfm: arp, ifnet, wlan +device bwfm: arp, ifnet, wlan, firmload file dev/ic/bwfm.c bwfm # QEMU Firmware Configuration (fw_cfg) device
CVS commit: src/sys/conf
Module Name:src Committed By: reinoud Date: Wed Apr 6 14:47:54 UTC 2022 Modified Files: src/sys/conf: filesystems.config Log Message: Keep UDF commented out by default To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/sys/conf/filesystems.config Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/conf/filesystems.config diff -u src/sys/conf/filesystems.config:1.15 src/sys/conf/filesystems.config:1.16 --- src/sys/conf/filesystems.config:1.15 Wed Apr 6 13:59:22 2022 +++ src/sys/conf/filesystems.config Wed Apr 6 14:47:54 2022 @@ -1,4 +1,4 @@ -# $NetBSD: filesystems.config,v 1.15 2022/04/06 13:59:22 reinoud Exp $ +# $NetBSD: filesystems.config,v 1.16 2022/04/06 14:47:54 reinoud Exp $ #file-system ADOSFS # AmigaDOS-compatible file system #options APPLE_UFS # Apple UFS support in FFS #file-system AUTOFS # Automounter Filesystem @@ -28,7 +28,7 @@ file-system PUFFS # Userspace file syst pseudo-device putter # for puffs and pud #file-system SYSVBFS # sysvfs file-system TMPFS # Efficient memory file-system -file-system UDF # OSTA UDF CD/DVD file-system +#file-system UDF # OSTA UDF CD/DVD file-system file-system UMAPFS # NULLFS + uid and gid remapping file-system UNION # union file system #file-system V7FS # 7th Edition(V7) File System
CVS commit: src/sys/conf
Module Name:src Committed By: reinoud Date: Wed Apr 6 14:47:54 UTC 2022 Modified Files: src/sys/conf: filesystems.config Log Message: Keep UDF commented out by default To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/sys/conf/filesystems.config Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/conf
Module Name:src Committed By: reinoud Date: Wed Apr 6 13:59:22 UTC 2022 Modified Files: src/sys/conf: filesystems.config Log Message: UDF has been around for more than a decade in the kernel. Now with a fsck_udf(8) it is not making sense to keep it calling `experimental'. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/sys/conf/filesystems.config Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/conf
Module Name:src Committed By: reinoud Date: Wed Apr 6 13:59:22 UTC 2022 Modified Files: src/sys/conf: filesystems.config Log Message: UDF has been around for more than a decade in the kernel. Now with a fsck_udf(8) it is not making sense to keep it calling `experimental'. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/sys/conf/filesystems.config Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/conf/filesystems.config diff -u src/sys/conf/filesystems.config:1.14 src/sys/conf/filesystems.config:1.15 --- src/sys/conf/filesystems.config:1.14 Sat Apr 4 15:43:22 2020 +++ src/sys/conf/filesystems.config Wed Apr 6 13:59:22 2022 @@ -1,4 +1,4 @@ -# $NetBSD: filesystems.config,v 1.14 2020/04/04 15:43:22 jdolecek Exp $ +# $NetBSD: filesystems.config,v 1.15 2022/04/06 13:59:22 reinoud Exp $ #file-system ADOSFS # AmigaDOS-compatible file system #options APPLE_UFS # Apple UFS support in FFS #file-system AUTOFS # Automounter Filesystem @@ -28,7 +28,7 @@ file-system PUFFS # Userspace file syst pseudo-device putter # for puffs and pud #file-system SYSVBFS # sysvfs file-system TMPFS # Efficient memory file-system -#file-system UDF # experimental - OSTA UDF CD/DVD file-system +file-system UDF # OSTA UDF CD/DVD file-system file-system UMAPFS # NULLFS + uid and gid remapping file-system UNION # union file system #file-system V7FS # 7th Edition(V7) File System
CVS commit: src/sys/conf
Module Name:src Committed By: thorpej Date: Mon Jan 17 16:33:00 UTC 2022 Modified Files: src/sys/conf: files Log Message: Re-factor and overhaul the "mcp23s17gpio" driver as "mcpgpio", and add support for 8-bit and I2C variants of the chip: - MCP23008 / MCP23S08: 8-bit (I2C / SPI) - MCP23017 / MCP23S17: 16-bit (I2C / SPI) - MCP23018 / MCP23S18: 16-bit (I2C / SPI), open-drain outputs The MCP23x17 and MCP23x18 are essentially identical, software-wise; we merely report different GPIO pin capabilities (no push-pull output for MCP23x18). Also, remove the tri-state capability that was previously advertised by the old version of this driver; these chips have no way to put the pin into a HI-Z mode. All 3 I2C versions are supported, but the SPI front-end still only supports the MCP23S17 for now (SPI autoconfiguration needs an overhaul). mcp23s17gpio(4) remains present as a link to the new mcpgpio(4) man page. XXX Still to-do: FDT integration, interrupt suppoort. (File missed in prior commit.) To generate a diff of this commit: cvs rdiff -u -r1.1293 -r1.1294 src/sys/conf/files Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/conf/files diff -u src/sys/conf/files:1.1293 src/sys/conf/files:1.1294 --- src/sys/conf/files:1.1293 Mon Jan 3 17:19:41 2022 +++ src/sys/conf/files Mon Jan 17 16:33:00 2022 @@ -1,4 +1,4 @@ -# $NetBSD: files,v 1.1293 2022/01/03 17:19:41 jmcneill Exp $ +# $NetBSD: files,v 1.1294 2022/01/17 16:33:00 thorpej Exp $ # @(#)files.newconf 7.5 (Berkeley) 5/10/93 version 20171118 @@ -420,6 +420,10 @@ file dev/ic/nslm7x.c lm needs-flag device spdmem file dev/ic/spdmem.c spdmem +# Microchip MCP23x08 / MCP23x17 general purpose input/output +device mcpgpio: gpiobus +file dev/ic/mcp23xxxgpio.c mcpgpio + # SSD1306 or SH1106 OLED/PLED display (attaches via I2C or SPI) device ssdfb: wsemuldisplaydev file dev/ic/ssdfb.c ssdfb
CVS commit: src/sys/conf
Module Name:src Committed By: thorpej Date: Mon Jan 17 16:33:00 UTC 2022 Modified Files: src/sys/conf: files Log Message: Re-factor and overhaul the "mcp23s17gpio" driver as "mcpgpio", and add support for 8-bit and I2C variants of the chip: - MCP23008 / MCP23S08: 8-bit (I2C / SPI) - MCP23017 / MCP23S17: 16-bit (I2C / SPI) - MCP23018 / MCP23S18: 16-bit (I2C / SPI), open-drain outputs The MCP23x17 and MCP23x18 are essentially identical, software-wise; we merely report different GPIO pin capabilities (no push-pull output for MCP23x18). Also, remove the tri-state capability that was previously advertised by the old version of this driver; these chips have no way to put the pin into a HI-Z mode. All 3 I2C versions are supported, but the SPI front-end still only supports the MCP23S17 for now (SPI autoconfiguration needs an overhaul). mcp23s17gpio(4) remains present as a link to the new mcpgpio(4) man page. XXX Still to-do: FDT integration, interrupt suppoort. (File missed in prior commit.) To generate a diff of this commit: cvs rdiff -u -r1.1293 -r1.1294 src/sys/conf/files Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/conf
Module Name:src Committed By: christos Date: Thu Jan 6 17:05:33 UTC 2022 Modified Files: src/sys/conf: Makefile.kern.inc Log Message: Fix for systems that override SYSTEM_LD_TAIL To generate a diff of this commit: cvs rdiff -u -r1.292 -r1.293 src/sys/conf/Makefile.kern.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/conf/Makefile.kern.inc diff -u src/sys/conf/Makefile.kern.inc:1.292 src/sys/conf/Makefile.kern.inc:1.293 --- src/sys/conf/Makefile.kern.inc:1.292 Tue Jan 4 14:52:02 2022 +++ src/sys/conf/Makefile.kern.inc Thu Jan 6 12:05:32 2022 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.kern.inc,v 1.292 2022/01/04 19:52:02 christos Exp $ +# $NetBSD: Makefile.kern.inc,v 1.293 2022/01/06 17:05:32 christos Exp $ # # This file contains common `MI' targets and definitions and it is included # at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}. @@ -245,8 +245,8 @@ LINKFLAGS_DEBUG?= -X KERNEL_CONFIG?= ${KERNEL_BUILD:T} SYSTEM_LD_TAIL?=@${TOOL_SED} '/const char sccs/!d;s/.*@(.)//;s/" "//;s/\\.*//' vers.c && \ - ${SIZE} $@ && ${SYSTEM_CTFMERGE} && chmod 755 $@ && \ - runit() { echo $$@; $$@; } + ${SIZE} $@ && ${SYSTEM_CTFMERGE} && chmod 755 $@ +SYSTEM_LD_TAIL+= && runit() { echo $$@; $$@; } SYSTEM_LD_TAIL_DEBUG?=&& \ runit mv -f $@ $@.gdb && \
CVS commit: src/sys/conf
Module Name:src Committed By: christos Date: Thu Jan 6 17:05:33 UTC 2022 Modified Files: src/sys/conf: Makefile.kern.inc Log Message: Fix for systems that override SYSTEM_LD_TAIL To generate a diff of this commit: cvs rdiff -u -r1.292 -r1.293 src/sys/conf/Makefile.kern.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/conf
Module Name:src Committed By: christos Date: Tue Jan 4 19:52:02 UTC 2022 Modified Files: src/sys/conf: Makefile.kern.inc Log Message: use a function "runit" to echo and execute avoiding set -x. To generate a diff of this commit: cvs rdiff -u -r1.291 -r1.292 src/sys/conf/Makefile.kern.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/conf/Makefile.kern.inc diff -u src/sys/conf/Makefile.kern.inc:1.291 src/sys/conf/Makefile.kern.inc:1.292 --- src/sys/conf/Makefile.kern.inc:1.291 Thu Dec 30 13:53:35 2021 +++ src/sys/conf/Makefile.kern.inc Tue Jan 4 14:52:02 2022 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.kern.inc,v 1.291 2021/12/30 18:53:35 christos Exp $ +# $NetBSD: Makefile.kern.inc,v 1.292 2022/01/04 19:52:02 christos Exp $ # # This file contains common `MI' targets and definitions and it is included # at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}. @@ -245,14 +245,15 @@ LINKFLAGS_DEBUG?= -X KERNEL_CONFIG?= ${KERNEL_BUILD:T} SYSTEM_LD_TAIL?=@${TOOL_SED} '/const char sccs/!d;s/.*@(.)//;s/" "//;s/\\.*//' vers.c && \ - ${SIZE} $@ && ${SYSTEM_CTFMERGE} && chmod 755 $@ + ${SIZE} $@ && ${SYSTEM_CTFMERGE} && chmod 755 $@ && \ + runit() { echo $$@; $$@; } -SYSTEM_LD_TAIL_DEBUG?=&& set -x &&\ - mv -f $@ $@.gdb && \ - ${OBJCOPY} --only-keep-debug $@.gdb $@-${KERNEL_CONFIG}.debug && \ - ${OBJCOPY} --strip-debug -p -R .gnu_debuglink \ +SYSTEM_LD_TAIL_DEBUG?=&& \ + runit mv -f $@ $@.gdb && \ + runit ${OBJCOPY} --only-keep-debug $@.gdb $@-${KERNEL_CONFIG}.debug && \ + runit ${OBJCOPY} --strip-debug -p -R .gnu_debuglink \ --add-gnu-debuglink=$@-${KERNEL_CONFIG}.debug $@.gdb $@ && \ - chmod 755 $@ $@.gdb $@-${KERNEL_CONFIG}.debug + runit chmod 755 $@ $@.gdb $@-${KERNEL_CONFIG}.debug LINKFLAGS_NORMAL?= -S STRIPFLAGS?= -g @@ -285,9 +286,9 @@ SYSTEM_LD_HEAD+= ${SYSTEM_LD_HEAD_EXTRA} SYSTEM_LD_TAIL_STAGE1= ${SYSTEM_LD_TAIL} SYSTEM_LD_TAIL_STAGE2= ${SYSTEM_LD_TAIL} .if defined(COPY_SYMTAB) -SYSTEM_LD_TAIL_STAGE2+= && echo ${DBSYM} $@ && ${DBSYM} $@ +SYSTEM_LD_TAIL_STAGE2+= && runit ${DBSYM} $@ .if !empty(DEBUG:M-g) -SYSTEM_LD_TAIL_STAGE2+= && echo ${DBSYM} $@.gdb && ${DBSYM} $@.gdb +SYSTEM_LD_TAIL_STAGE2+= && runit ${DBSYM} $@.gdb .endif .endif SYSTEM_LD_TAIL_STAGE2+= ${SYSTEM_LD_TAIL_EXTRA}
CVS commit: src/sys/conf
Module Name:src Committed By: christos Date: Tue Jan 4 19:52:02 UTC 2022 Modified Files: src/sys/conf: Makefile.kern.inc Log Message: use a function "runit" to echo and execute avoiding set -x. To generate a diff of this commit: cvs rdiff -u -r1.291 -r1.292 src/sys/conf/Makefile.kern.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Re: CVS commit: src/sys/conf
> Modified Files: > src/sys/conf: copyright > > Log Message: > Welcome to 2022! Please don't forget pullup requests for release branches. (looks 2021 was missed in 9.2) --- Izumi Tsutsui
CVS commit: src/sys/conf
Module Name:src Committed By: jnemeth Date: Sat Jan 1 06:14:28 UTC 2022 Modified Files: src/sys/conf: copyright Log Message: Welcome to 2022! To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/sys/conf/copyright Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/conf
Module Name:src Committed By: jnemeth Date: Sat Jan 1 06:14:28 UTC 2022 Modified Files: src/sys/conf: copyright Log Message: Welcome to 2022! To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/sys/conf/copyright Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/conf/copyright diff -u src/sys/conf/copyright:1.19 src/sys/conf/copyright:1.20 --- src/sys/conf/copyright:1.19 Fri Jan 1 08:02:16 2021 +++ src/sys/conf/copyright Sat Jan 1 06:14:28 2022 @@ -1,5 +1,6 @@ Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, -2018, 2019, 2020, 2021 The NetBSD Foundation, Inc. All rights reserved. +2018, 2019, 2020, 2021, 2022 +The NetBSD Foundation, Inc. All rights reserved. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved.
re: CVS commit: src/sys/conf
> - We only make a debuginstall rule to install netbsd-${KERNEL_CONFIG}.debug > if MKDEBUG=yes this part pollutes my $DESTDIR with non-distrib kernel info still, which also means it requires a $DESTDIR to build a kernel now. i think that we should not do this in the kernel build but inside the sets build, and create the set with ./netbsd and the ./usr/libdata/debug/netbsd-$KERNEL.debug path stored in some temp dir of distrib/sets/. that avoids issues of building stuff being all different now, while allowing this to create sets sanely. .mrg.
CVS commit: src/sys/conf
Module Name:src Committed By: christos Date: Thu Dec 30 18:53:35 UTC 2021 Modified Files: src/sys/conf: Makefile.kern.inc Log Message: - With DEBUG=-g (which is also set when we build CTF) we build netbsd.gdb *and* netbsd-${KERNEL_CONFIG}.debug because it is not worth having two sets of rules (one that builds just netbsd.gdb and one that builds both netbsd.gdb and netbsd-${KERNEL_CONFIG}.debug. This maintains compatibility building netbsd.gdb when DEBUG=-g - When either MKDEBUGKERNEL=yes or MKDEBUG=tes we set DEBUG=-g if DEBUG was not set. - We only make a debuginstall rule to install netbsd-${KERNEL_CONFIG}.debug if MKDEBUG=yes To generate a diff of this commit: cvs rdiff -u -r1.290 -r1.291 src/sys/conf/Makefile.kern.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/conf/Makefile.kern.inc diff -u src/sys/conf/Makefile.kern.inc:1.290 src/sys/conf/Makefile.kern.inc:1.291 --- src/sys/conf/Makefile.kern.inc:1.290 Thu Dec 30 12:25:40 2021 +++ src/sys/conf/Makefile.kern.inc Thu Dec 30 13:53:35 2021 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.kern.inc,v 1.290 2021/12/30 17:25:40 christos Exp $ +# $NetBSD: Makefile.kern.inc,v 1.291 2021/12/30 18:53:35 christos Exp $ # # This file contains common `MI' targets and definitions and it is included # at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}. @@ -20,6 +20,8 @@ # Default DEBUG to -g if kernel debug info is requested by MKDEBUGKERNEL=yes .if ${MKDEBUGKERNEL:Uno} == "yes" || ${MKDEBUG:Uno} == "yes" DEBUG?=-g +.else +DEBUG?= .endif ## @@ -255,9 +257,17 @@ SYSTEM_LD_TAIL_DEBUG?=&& set -x &&\ LINKFLAGS_NORMAL?= -S STRIPFLAGS?= -g -DEBUG?= .if !empty(DEBUG:M-g*) +SYSTEM_LD_TAIL+=${SYSTEM_LD_TAIL_DEBUG} +LINKFLAGS+= ${LINKFLAGS_DEBUG} +EXTRA_KERNELS+= ${KERNELS:@.KERNEL.@${.KERNEL.}.gdb@} +CTFFLAGS+= -g +TARGETSFX= .gdb +.elifndef PROF +LINKFLAGS+= ${LINKFLAGS_NORMAL} +.endif +.if ${MKDEBUG:Uno} == "yes" # XXX: KERNEL_DIR? debuginstall: install-kernel-debug .for k in ${KERNELS} @@ -267,17 +277,7 @@ ${DESTDIR}${DEBUGDIR}/${k}-${KERNEL_CONF ${_MKTARGET_INSTALL} ${INSTALL_FILE} -o root -g bin -m 444 ${.ALLSRC} ${.TARGET} .endfor - -SYSTEM_LD_TAIL+=${SYSTEM_LD_TAIL_DEBUG} -LINKFLAGS+= ${LINKFLAGS_DEBUG} -EXTRA_KERNELS+= ${KERNELS:@.KERNEL.@${.KERNEL.}.gdb@} -CTFFLAGS+= -g -TARGETSFX= .gdb -.elifndef PROF -LINKFLAGS+= ${LINKFLAGS_NORMAL} -.endif - -.if !target(debuginstall) +.else debuginstall: .endif
CVS commit: src/sys/conf
Module Name:src Committed By: christos Date: Thu Dec 30 18:53:35 UTC 2021 Modified Files: src/sys/conf: Makefile.kern.inc Log Message: - With DEBUG=-g (which is also set when we build CTF) we build netbsd.gdb *and* netbsd-${KERNEL_CONFIG}.debug because it is not worth having two sets of rules (one that builds just netbsd.gdb and one that builds both netbsd.gdb and netbsd-${KERNEL_CONFIG}.debug. This maintains compatibility building netbsd.gdb when DEBUG=-g - When either MKDEBUGKERNEL=yes or MKDEBUG=tes we set DEBUG=-g if DEBUG was not set. - We only make a debuginstall rule to install netbsd-${KERNEL_CONFIG}.debug if MKDEBUG=yes To generate a diff of this commit: cvs rdiff -u -r1.290 -r1.291 src/sys/conf/Makefile.kern.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/conf
Module Name:src Committed By: christos Date: Thu Dec 30 17:25:40 UTC 2021 Modified Files: src/sys/conf: Makefile.kern.inc Log Message: forgot one KERNEL_BUILD (Tobias Nygren) To generate a diff of this commit: cvs rdiff -u -r1.289 -r1.290 src/sys/conf/Makefile.kern.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/conf
Module Name:src Committed By: christos Date: Thu Dec 30 17:25:40 UTC 2021 Modified Files: src/sys/conf: Makefile.kern.inc Log Message: forgot one KERNEL_BUILD (Tobias Nygren) To generate a diff of this commit: cvs rdiff -u -r1.289 -r1.290 src/sys/conf/Makefile.kern.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/conf/Makefile.kern.inc diff -u src/sys/conf/Makefile.kern.inc:1.289 src/sys/conf/Makefile.kern.inc:1.290 --- src/sys/conf/Makefile.kern.inc:1.289 Thu Dec 30 12:16:32 2021 +++ src/sys/conf/Makefile.kern.inc Thu Dec 30 12:25:40 2021 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.kern.inc,v 1.289 2021/12/30 17:16:32 christos Exp $ +# $NetBSD: Makefile.kern.inc,v 1.290 2021/12/30 17:25:40 christos Exp $ # # This file contains common `MI' targets and definitions and it is included # at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}. @@ -263,7 +263,7 @@ debuginstall: install-kernel-debug .for k in ${KERNELS} install-kernel-debug: ${DESTDIR}${DEBUGDIR}/${k}-${KERNEL_CONFIG}.debug -${DESTDIR}${DEBUGDIR}/${k}-${KERNEL_BUILD}.debug: ${k}-${KERNEL_CONFIG}.debug +${DESTDIR}${DEBUGDIR}/${k}-${KERNEL_CONFIG}.debug: ${k}-${KERNEL_CONFIG}.debug ${_MKTARGET_INSTALL} ${INSTALL_FILE} -o root -g bin -m 444 ${.ALLSRC} ${.TARGET} .endfor
CVS commit: src/sys/conf
Module Name:src Committed By: christos Date: Thu Dec 30 17:16:32 UTC 2021 Modified Files: src/sys/conf: Makefile.kern.inc Log Message: Use the tail of KERNEL_BUILD since it can be a full path. To generate a diff of this commit: cvs rdiff -u -r1.288 -r1.289 src/sys/conf/Makefile.kern.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/conf/Makefile.kern.inc diff -u src/sys/conf/Makefile.kern.inc:1.288 src/sys/conf/Makefile.kern.inc:1.289 --- src/sys/conf/Makefile.kern.inc:1.288 Wed Dec 29 22:24:50 2021 +++ src/sys/conf/Makefile.kern.inc Thu Dec 30 12:16:32 2021 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.kern.inc,v 1.288 2021/12/30 03:24:50 christos Exp $ +# $NetBSD: Makefile.kern.inc,v 1.289 2021/12/30 17:16:32 christos Exp $ # # This file contains common `MI' targets and definitions and it is included # at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}. @@ -240,16 +240,17 @@ LINKFLAGS?= ${LINKFORMAT} ${LINKSCRIPT} ${EXTRA_LINKFLAGS} LINKFLAGS_DEBUG?= -X +KERNEL_CONFIG?= ${KERNEL_BUILD:T} SYSTEM_LD_TAIL?=@${TOOL_SED} '/const char sccs/!d;s/.*@(.)//;s/" "//;s/\\.*//' vers.c && \ ${SIZE} $@ && ${SYSTEM_CTFMERGE} && chmod 755 $@ SYSTEM_LD_TAIL_DEBUG?=&& set -x &&\ mv -f $@ $@.gdb && \ - ${OBJCOPY} --only-keep-debug $@.gdb $@-${KERNEL_BUILD}.debug && \ + ${OBJCOPY} --only-keep-debug $@.gdb $@-${KERNEL_CONFIG}.debug && \ ${OBJCOPY} --strip-debug -p -R .gnu_debuglink \ - --add-gnu-debuglink=$@-${KERNEL_BUILD}.debug $@.gdb $@ && \ - chmod 755 $@ $@.gdb $@-${KERNEL_BUILD}.debug + --add-gnu-debuglink=$@-${KERNEL_CONFIG}.debug $@.gdb $@ && \ + chmod 755 $@ $@.gdb $@-${KERNEL_CONFIG}.debug LINKFLAGS_NORMAL?= -S STRIPFLAGS?= -g @@ -260,9 +261,9 @@ DEBUG?= # XXX: KERNEL_DIR? debuginstall: install-kernel-debug .for k in ${KERNELS} -install-kernel-debug: ${DESTDIR}${DEBUGDIR}/${k}-${KERNEL_BUILD}.debug +install-kernel-debug: ${DESTDIR}${DEBUGDIR}/${k}-${KERNEL_CONFIG}.debug -${DESTDIR}${DEBUGDIR}/${k}-${KERNEL_BUILD}.debug: ${k}-${KERNEL_BUILD}.debug +${DESTDIR}${DEBUGDIR}/${k}-${KERNEL_BUILD}.debug: ${k}-${KERNEL_CONFIG}.debug ${_MKTARGET_INSTALL} ${INSTALL_FILE} -o root -g bin -m 444 ${.ALLSRC} ${.TARGET} .endfor
CVS commit: src/sys/conf
Module Name:src Committed By: christos Date: Thu Dec 30 17:16:32 UTC 2021 Modified Files: src/sys/conf: Makefile.kern.inc Log Message: Use the tail of KERNEL_BUILD since it can be a full path. To generate a diff of this commit: cvs rdiff -u -r1.288 -r1.289 src/sys/conf/Makefile.kern.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/conf
Module Name:src Committed By: christos Date: Thu Dec 30 03:24:50 UTC 2021 Modified Files: src/sys/conf: Makefile.kern.inc Log Message: Add ${_MKTARGET_INSTALL} To generate a diff of this commit: cvs rdiff -u -r1.287 -r1.288 src/sys/conf/Makefile.kern.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/conf/Makefile.kern.inc diff -u src/sys/conf/Makefile.kern.inc:1.287 src/sys/conf/Makefile.kern.inc:1.288 --- src/sys/conf/Makefile.kern.inc:1.287 Wed Dec 29 22:23:05 2021 +++ src/sys/conf/Makefile.kern.inc Wed Dec 29 22:24:50 2021 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.kern.inc,v 1.287 2021/12/30 03:23:05 christos Exp $ +# $NetBSD: Makefile.kern.inc,v 1.288 2021/12/30 03:24:50 christos Exp $ # # This file contains common `MI' targets and definitions and it is included # at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}. @@ -263,6 +263,7 @@ debuginstall: install-kernel-debug install-kernel-debug: ${DESTDIR}${DEBUGDIR}/${k}-${KERNEL_BUILD}.debug ${DESTDIR}${DEBUGDIR}/${k}-${KERNEL_BUILD}.debug: ${k}-${KERNEL_BUILD}.debug + ${_MKTARGET_INSTALL} ${INSTALL_FILE} -o root -g bin -m 444 ${.ALLSRC} ${.TARGET} .endfor
CVS commit: src/sys/conf
Module Name:src Committed By: christos Date: Thu Dec 30 03:24:50 UTC 2021 Modified Files: src/sys/conf: Makefile.kern.inc Log Message: Add ${_MKTARGET_INSTALL} To generate a diff of this commit: cvs rdiff -u -r1.287 -r1.288 src/sys/conf/Makefile.kern.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/conf
Module Name:src Committed By: christos Date: Thu Dec 30 03:23:05 UTC 2021 Modified Files: src/sys/conf: Makefile.kern.inc Log Message: use ${INSTALL_FILE} so that unpriv builds work. To generate a diff of this commit: cvs rdiff -u -r1.286 -r1.287 src/sys/conf/Makefile.kern.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/conf/Makefile.kern.inc diff -u src/sys/conf/Makefile.kern.inc:1.286 src/sys/conf/Makefile.kern.inc:1.287 --- src/sys/conf/Makefile.kern.inc:1.286 Wed Dec 29 17:22:13 2021 +++ src/sys/conf/Makefile.kern.inc Wed Dec 29 22:23:05 2021 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.kern.inc,v 1.286 2021/12/29 22:22:13 christos Exp $ +# $NetBSD: Makefile.kern.inc,v 1.287 2021/12/30 03:23:05 christos Exp $ # # This file contains common `MI' targets and definitions and it is included # at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}. @@ -263,7 +263,7 @@ debuginstall: install-kernel-debug install-kernel-debug: ${DESTDIR}${DEBUGDIR}/${k}-${KERNEL_BUILD}.debug ${DESTDIR}${DEBUGDIR}/${k}-${KERNEL_BUILD}.debug: ${k}-${KERNEL_BUILD}.debug - install -c -o root -g bin -m 444 ${.ALLSRC} ${.TARGET} + ${INSTALL_FILE} -o root -g bin -m 444 ${.ALLSRC} ${.TARGET} .endfor SYSTEM_LD_TAIL+=${SYSTEM_LD_TAIL_DEBUG}
CVS commit: src/sys/conf
Module Name:src Committed By: christos Date: Thu Dec 30 03:23:05 UTC 2021 Modified Files: src/sys/conf: Makefile.kern.inc Log Message: use ${INSTALL_FILE} so that unpriv builds work. To generate a diff of this commit: cvs rdiff -u -r1.286 -r1.287 src/sys/conf/Makefile.kern.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/conf
Module Name:src Committed By: jmcneill Date: Mon Oct 11 13:42:33 UTC 2021 Modified Files: src/sys/conf: files Log Message: add defflag for AHCISATA_EXTRA_DELAY To generate a diff of this commit: cvs rdiff -u -r1.1288 -r1.1289 src/sys/conf/files Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/conf/files diff -u src/sys/conf/files:1.1288 src/sys/conf/files:1.1289 --- src/sys/conf/files:1.1288 Mon Oct 11 03:50:45 2021 +++ src/sys/conf/files Mon Oct 11 13:42:33 2021 @@ -1,4 +1,4 @@ -# $NetBSD: files,v 1.1288 2021/10/11 03:50:45 msaitoh Exp $ +# $NetBSD: files,v 1.1289 2021/10/11 13:42:33 jmcneill Exp $ # @(#)files.newconf 7.5 (Berkeley) 5/10/93 version 20171118 @@ -1035,6 +1035,7 @@ device njata: ata, ata_piobm, wdc_common file dev/ic/ninjaata32.c njata # AHCI-compatible SATA controllers +defflag opt_ahcisata.h AHCISATA_EXTRA_DELAY define ahcisata_core file dev/ic/ahcisata_core.c ahcisata_core device ahcisata: ata, ata_dma, ata_udma, sata, sata_fis, sata_pmp, ahcisata_core
CVS commit: src/sys/conf
Module Name:src Committed By: jmcneill Date: Mon Oct 11 13:42:33 UTC 2021 Modified Files: src/sys/conf: files Log Message: add defflag for AHCISATA_EXTRA_DELAY To generate a diff of this commit: cvs rdiff -u -r1.1288 -r1.1289 src/sys/conf/files Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/conf
Module Name:src Committed By: msaitoh Date: Mon Oct 11 03:50:45 UTC 2021 Modified Files: src/sys/conf: files Log Message: defparam NMBCLUSTERS_MAX. To generate a diff of this commit: cvs rdiff -u -r1.1287 -r1.1288 src/sys/conf/files Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/conf
Module Name:src Committed By: msaitoh Date: Mon Oct 11 03:50:45 UTC 2021 Modified Files: src/sys/conf: files Log Message: defparam NMBCLUSTERS_MAX. To generate a diff of this commit: cvs rdiff -u -r1.1287 -r1.1288 src/sys/conf/files Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/conf/files diff -u src/sys/conf/files:1.1287 src/sys/conf/files:1.1288 --- src/sys/conf/files:1.1287 Wed Jul 21 23:16:09 2021 +++ src/sys/conf/files Mon Oct 11 03:50:45 2021 @@ -1,4 +1,4 @@ -# $NetBSD: files,v 1.1287 2021/07/21 23:16:09 jmcneill Exp $ +# $NetBSD: files,v 1.1288 2021/10/11 03:50:45 msaitoh Exp $ # @(#)files.newconf 7.5 (Berkeley) 5/10/93 version 20171118 @@ -301,6 +301,7 @@ defparam opt_sppp.h SPPP_KEEPALIVE_INTE # defflagGATEWAY defparam opt_nmbclusters.h NMBCLUSTERS + NMBCLUSTERS_MAX defparam SB_MAX # file system options
Re: CVS commit: src/sys/conf
"Christos Zoulas" wrote: > Module Name: src > Committed By: christos > Date: Mon Apr 5 22:52:03 UTC 2021 > > Modified Files: > > src/sys/conf: Makefile.kern.inc > > Log Message: > > Don't use /usr/bin/time (it is not portable) Oops, that bit wasn't meant to sneak in. Thanks for noticing and fixing. Cheers, Simon.
Re: CVS commit: src/sys/conf
"Valeriy E. Ushakov" wrote: > Module Name: src > Committed By: uwe > Date: Wed Jul 8 19:39:22 UTC 2020 > > Modified Files: > > src/sys/conf: assym.mk > > Log Message: > > Drop -fstack-usage* from CFLAGS passed genassym. > We don't want it to create a "-.su" file. Thanks! Cheers, Simon.
Re: CVS commit: src/sys/conf
On Sat, Mar 07, 2020 at 19:18:41 -0500, Christos Zoulas wrote: > Module Name: src > Committed By: christos > Date: Sun Mar 8 00:18:41 UTC 2020 > > Modified Files: > src/sys/conf: files > > Log Message: > undo previous since config has been fixed It's still not. Nested ifdefs are not handled correctly. -uwe
Re: CVS commit: src/sys/conf
>OK, I reproduced it, and have commited a fix for aarch64. I will also >include this in the pullup requests for -9 and -8 with sys/conf/files r1.1259, build successfully and it works fine. thanks! -- ryo shimizu
re: CVS commit: src/sys/conf
On Fri, 6 Mar 2020, matthew green wrote: Paul Goyette writes: On Thu, 5 Mar 2020, Paul Goyette wrote: also aarch64 has no EXEC_AOUT. Does aarch64 have COMPAT_NETBSD32? If so, I will adjust my fix. (I built 67 different architectures, including all of the ones that the releng build cluster is building, and did not have any problems with aarch64 or any other.) As near as I can tell, aarch64 sets MACHINE_CPU to "aarch64", so it will not try to build COMPAT_NETBSD32 due to the following tests in $SRC/sys/compat/netbsd32/netbsd32.mk .if ${MACHINE_ARCH} == "x86_64" \ || ${MACHINE_CPU} == "arm" \ || ${MACHINE_ARCH} == "sparc64" \ || (!empty(MACHINE_ARCH:Mmips64*) && !defined(BSD_MK_COMPAT_FILE)) COMPAT_USE_NETBSD32?=yes .else COMPAT_USE_NETBSD32?=no .endif Perhaps the line should be changed to "aarch64" instead of "arm" ? what <<< line? :-) arm64 should be adde here, yes. arm should remain -- it's a fake netbsd32 in that it handles the old 32 bit ABI on 32 bit arm systems, so it's still useful. we're not able to support both that and EABI on arm64 currently (not sure how it would be easy without making it possible to compile the netbsd32 code twice, since there are additional layout differences that are difficult to handle without letting the compiler do it for you.) sorry, i should have added arm64 here when i was looking at it but i missed it. Ooopppsss, forgot to tag the <<< line! Anyway, I actually fixed it differently, in sys/conf/files rev 1.1259 ++--+---+ | Paul Goyette | PGP Key fingerprint: | E-mail addresses: | | (Retired) | FA29 0E3B 35AF E8AE 6651 | p...@whooppee.com | | Software Developer | 0786 F758 55DE 53BA 7731 | pgoye...@netbsd.org | ++--+---+
re: CVS commit: src/sys/conf
Paul Goyette writes: > On Thu, 5 Mar 2020, Paul Goyette wrote: > > >> also aarch64 has no EXEC_AOUT. > > > > Does aarch64 have COMPAT_NETBSD32? If so, I will adjust my fix. (I > > built 67 different architectures, including all of the ones that the > > releng build cluster is building, and did not have any problems with > > aarch64 or any other.) > > As near as I can tell, aarch64 sets MACHINE_CPU to "aarch64", so it > will not try to build COMPAT_NETBSD32 due to the following tests in > $SRC/sys/compat/netbsd32/netbsd32.mk > > .if ${MACHINE_ARCH} == "x86_64" \ > || ${MACHINE_CPU} == "arm" \ > || ${MACHINE_ARCH} == "sparc64" \ > || (!empty(MACHINE_ARCH:Mmips64*) && !defined(BSD_MK_COMPAT_FILE)) > COMPAT_USE_NETBSD32?=yes > .else > COMPAT_USE_NETBSD32?=no > .endif > > > Perhaps the line should be changed to "aarch64" instead of "arm" ? what <<< line? :-) arm64 should be adde here, yes. arm should remain -- it's a fake netbsd32 in that it handles the old 32 bit ABI on 32 bit arm systems, so it's still useful. we're not able to support both that and EABI on arm64 currently (not sure how it would be easy without making it possible to compile the netbsd32 code twice, since there are additional layout differences that are difficult to handle without letting the compiler do it for you.) sorry, i should have added arm64 here when i was looking at it but i missed it.
Re: CVS commit: src/sys/conf
OK, I reproduced it, and have commited a fix for aarch64. I will also include this in the pullup requests for -9 and -8 On Thu, 5 Mar 2020, Paul Goyette wrote: On Fri, 6 Mar 2020, Ryo Shimizu wrote: also aarch64 has no EXEC_AOUT. Does aarch64 have COMPAT_NETBSD32? If so, I will adjust my fix. (I built 67 different architectures, including all of the ones that the releng build cluster is building, and did not have any problems with aarch64 or any other.) it seems that releng build was failed. http://releng.netbsd.org/builds/HEAD/202003050510Z/evbarm-aarch64.build.failed Hmmm, I wonder why I didn't see this. I have another build running to reproduce. Yes, optinos COMPAT_NETBSD32 is exists in sys/arch/evbarm/conf/GENERIC64. but EXEC_AOUT is not supported. (yet?) OK, I'll get this all fixed up as soon as I can. ++--+---+ | Paul Goyette | PGP Key fingerprint: | E-mail addresses: | | (Retired) | FA29 0E3B 35AF E8AE 6651 | p...@whooppee.com | | Software Developer | 0786 F758 55DE 53BA 7731 | pgoye...@netbsd.org | ++--+---+ !DSPAM:5e614c09108991373011237! ++--+---+ | Paul Goyette | PGP Key fingerprint: | E-mail addresses: | | (Retired) | FA29 0E3B 35AF E8AE 6651 | p...@whooppee.com | | Software Developer | 0786 F758 55DE 53BA 7731 | pgoye...@netbsd.org | ++--+---+
Re: CVS commit: src/sys/conf
On Fri, 6 Mar 2020, Ryo Shimizu wrote: also aarch64 has no EXEC_AOUT. Does aarch64 have COMPAT_NETBSD32? If so, I will adjust my fix. (I built 67 different architectures, including all of the ones that the releng build cluster is building, and did not have any problems with aarch64 or any other.) it seems that releng build was failed. http://releng.netbsd.org/builds/HEAD/202003050510Z/evbarm-aarch64.build.failed Hmmm, I wonder why I didn't see this. I have another build running to reproduce. Yes, optinos COMPAT_NETBSD32 is exists in sys/arch/evbarm/conf/GENERIC64. but EXEC_AOUT is not supported. (yet?) OK, I'll get this all fixed up as soon as I can. ++--+---+ | Paul Goyette | PGP Key fingerprint: | E-mail addresses: | | (Retired) | FA29 0E3B 35AF E8AE 6651 | p...@whooppee.com | | Software Developer | 0786 F758 55DE 53BA 7731 | pgoye...@netbsd.org | ++--+---+
Re: CVS commit: src/sys/conf
>> also aarch64 has no EXEC_AOUT. > >Does aarch64 have COMPAT_NETBSD32? If so, I will adjust my fix. (I >built 67 different architectures, including all of the ones that the >releng build cluster is building, and did not have any problems with >aarch64 or any other.) it seems that releng build was failed. http://releng.netbsd.org/builds/HEAD/202003050510Z/evbarm-aarch64.build.failed Yes, optinos COMPAT_NETBSD32 is exists in sys/arch/evbarm/conf/GENERIC64. but EXEC_AOUT is not supported. (yet?) -- ryo shimizu
Re: CVS commit: src/sys/conf
On Thu, 5 Mar 2020, Paul Goyette wrote: also aarch64 has no EXEC_AOUT. Does aarch64 have COMPAT_NETBSD32? If so, I will adjust my fix. (I built 67 different architectures, including all of the ones that the releng build cluster is building, and did not have any problems with aarch64 or any other.) As near as I can tell, aarch64 sets MACHINE_CPU to "aarch64", so it will not try to build COMPAT_NETBSD32 due to the following tests in $SRC/sys/compat/netbsd32/netbsd32.mk .if ${MACHINE_ARCH} == "x86_64" \ || ${MACHINE_CPU} == "arm" \ || ${MACHINE_ARCH} == "sparc64" \ || (!empty(MACHINE_ARCH:Mmips64*) && !defined(BSD_MK_COMPAT_FILE)) COMPAT_USE_NETBSD32?=yes .else COMPAT_USE_NETBSD32?=no .endif Perhaps the line should be changed to "aarch64" instead of "arm" ? ++--+---+ | Paul Goyette | PGP Key fingerprint: | E-mail addresses: | | (Retired) | FA29 0E3B 35AF E8AE 6651 | p...@whooppee.com | | Software Developer | 0786 F758 55DE 53BA 7731 | pgoye...@netbsd.org | ++--+---+
Re: CVS commit: src/sys/conf
On Thu, 5 Mar 2020, Ryo Shimizu wrote: Module Name:src Committed By: pgoyette Date: Wed Mar 4 02:20:57 UTC 2020 Modified Files: src/sys/conf: files Log Message: mips64 has compat_netbsd32 but cannot have exec_aout; all other users of compat_netbsd32 need exec_aout Addresses PR kern/55037. XXX pullup-9 also aarch64 has no EXEC_AOUT. Does aarch64 have COMPAT_NETBSD32? If so, I will adjust my fix. (I built 67 different architectures, including all of the ones that the releng build cluster is building, and did not have any problems with aarch64 or any other.) BTW, s/COMPAT_NETBSD64/COMPAT_NETBSD32/ in comment? Ooops! I just fixed that, and will add it to the pull-up requests. ++--+---+ | Paul Goyette | PGP Key fingerprint: | E-mail addresses: | | (Retired) | FA29 0E3B 35AF E8AE 6651 | p...@whooppee.com | | Software Developer | 0786 F758 55DE 53BA 7731 | pgoye...@netbsd.org | ++--+---+
re: CVS commit: src/sys/conf
Ryo Shimizu writes: > also aarch64 has no EXEC_AOUT. that's a pity -- we do have 32 bit a.out binaries from the past ;-) .mrg.
Re: CVS commit: src/sys/conf
>Module Name: src >Committed By: pgoyette >Date: Wed Mar 4 02:20:57 UTC 2020 > >Modified Files: > src/sys/conf: files > >Log Message: >mips64 has compat_netbsd32 but cannot have exec_aout; all other users >of compat_netbsd32 need exec_aout > >Addresses PR kern/55037. > >XXX pullup-9 also aarch64 has no EXEC_AOUT. BTW, s/COMPAT_NETBSD64/COMPAT_NETBSD32/ in comment? -- ryo shimizu
Re: CVS commit: src/sys/conf
On Wed, 4 Mar 2020, Paul Goyette wrote: Module Name:src Committed By: pgoyette Date: Wed Mar 4 02:20:57 UTC 2020 Modified Files: src/sys/conf: files Log Message: mips64 has compat_netbsd32 but cannot have exec_aout; all other users of compat_netbsd32 need exec_aout Addresses PR kern/55037. XXX pullup-9 Also XXX pullup-8
CVS commit: src/sys/conf
Module Name:src Committed By: maxv Date: Sun Sep 15 11:45:47 UTC 2019 Modified Files: src/sys/conf: majors Log Message: Wrong major. To generate a diff of this commit: cvs rdiff -u -r1.88 -r1.89 src/sys/conf/majors Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/conf
Module Name:src Committed By: maxv Date: Sun Sep 15 11:45:47 UTC 2019 Modified Files: src/sys/conf: majors Log Message: Wrong major. To generate a diff of this commit: cvs rdiff -u -r1.88 -r1.89 src/sys/conf/majors Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/conf/majors diff -u src/sys/conf/majors:1.88 src/sys/conf/majors:1.89 --- src/sys/conf/majors:1.88 Sat Sep 14 06:57:52 2019 +++ src/sys/conf/majors Sun Sep 15 11:45:47 2019 @@ -1,4 +1,4 @@ -# $NetBSD: majors,v 1.88 2019/09/14 06:57:52 maxv Exp $ +# $NetBSD: majors,v 1.89 2019/09/15 11:45:47 maxv Exp $ # # Device majors for Machine-Independent drivers. # @@ -86,4 +86,4 @@ device-major spi char 347 spi # Major 352 is reserved for external/cddl/osnet/dev/fbt/fbt.c # Major 353 is reserved for external/cddl/osnet/dev/sdt/sdt.c device-major ipmi char 354 ipmi -device-major vhci char 346vhci +device-major vhci char 355vhci
Re: CVS commit: src/sys/conf
Hi, chris...@zoulas.com (Christos Zoulas) writes: > On Jun 18, 9:37pm, r...@tetera.org (Ryo ONODERA) wrote: > -- Subject: Re: CVS commit: src/sys/conf > > | chris...@astron.com (Christos Zoulas) writes: > | > | > Yes, the question becomes should be part of the default GENERIC build? > | > I think not (like before). > | > | I feel that chfs should be disabled by default. > | And hopefully it should be documented that flash(4) is required > | in filesystems.config or similar place. > > Yes, I agree. Can you supply a patch (documentation)? > - there is no nand9 man page? I will try to write the man page. Thank you. > christos -- Ryo ONODERA // r...@tetera.org PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB FD1B F404 27FA C7D1 15F3
Re: CVS commit: src/sys/conf
On Jun 18, 9:37pm, r...@tetera.org (Ryo ONODERA) wrote: -- Subject: Re: CVS commit: src/sys/conf | chris...@astron.com (Christos Zoulas) writes: | | > Yes, the question becomes should be part of the default GENERIC build? | > I think not (like before). | | I feel that chfs should be disabled by default. | And hopefully it should be documented that flash(4) is required | in filesystems.config or similar place. Yes, I agree. Can you supply a patch (documentation)? - there is no nand9 man page? christos
Re: CVS commit: src/sys/conf
chris...@astron.com (Christos Zoulas) writes: > Yes, the question becomes should be part of the default GENERIC build? > I think not (like before). I feel that chfs should be disabled by default. And hopefully it should be documented that flash(4) is required in filesystems.config or similar place. Thank you. > christos > -- Ryo ONODERA // r...@tetera.org PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB FD1B F404 27FA C7D1 15F3
Re: CVS commit: src/sys/conf
In article <87muigi0qk@brownie.elements.tetera.org>, Ryo ONODERA wrote: >Hi, > >"Christos Zoulas" writes: > >> Module Name: src >> Committed By:christos >> Date:Mon Jun 17 17:06:39 UTC 2019 >> >> Modified Files: >> src/sys/conf: filesystems.config >> >> Log Message: >> comment out CHFS to fix build issues > >I have the following lines in my local kernel config file >and it fixes the build issue. > >+# Flash subsystem >+flash* at flashbus? >+ >+# NAND subsystem >+nand* at nandbus? >+ >+pseudo-device nandemulator Yes, the question becomes should be part of the default GENERIC build? I think not (like before). christos
Re: CVS commit: src/sys/conf
Hi, "Christos Zoulas" writes: > Module Name: src > Committed By: christos > Date: Mon Jun 17 17:06:39 UTC 2019 > > Modified Files: > src/sys/conf: filesystems.config > > Log Message: > comment out CHFS to fix build issues I have the following lines in my local kernel config file and it fixes the build issue. +# Flash subsystem +flash* at flashbus? + +# NAND subsystem +nand* at nandbus? + +pseudo-device nandemulator dmesg -t: nandemulator0: NAND emulator nand0 at nandemulator0: ONFI NAND Flash nand0: vendor: NETBSD, model: NANDEMULATOR nand0: manufacturer id: 0x00 (Unknown), device id: 0x00 nand0: page size: 2048 bytes, spare size: 64 bytes, block size: 131072 bytes nand0: LUN size: 256 blocks, LUNs: 1, total storage size: 32 MB nand0: column cycles: 2, row cycles: 3, width: x16 flash0 at nand0: partition, size 32 MB, offset 0 flash0: erase size 128 KB, page size 2048 bytes, write size 2048 bytes So it seems that chfs requires flash(4) device. Thank you. > To generate a diff of this commit: > cvs rdiff -u -r1.12 -r1.13 src/sys/conf/filesystems.config > > Please note that diffs are not public domain; they are subject to the > copyright notices on the relevant files. > > Modified files: > > Index: src/sys/conf/filesystems.config > diff -u src/sys/conf/filesystems.config:1.12 > src/sys/conf/filesystems.config:1.13 > --- src/sys/conf/filesystems.config:1.12 Sun Jun 16 23:34:01 2019 > +++ src/sys/conf/filesystems.config Mon Jun 17 13:06:39 2019 > @@ -1,10 +1,10 @@ > -# $NetBSD: filesystems.config,v 1.12 2019/06/17 03:34:01 christos Exp $ > +# $NetBSD: filesystems.config,v 1.13 2019/06/17 17:06:39 christos Exp $ > #file-system ADOSFS # AmigaDOS-compatible file system > #options APPLE_UFS # Apple UFS support in FFS > #file-system AUTOFS # Automounter Filesystem > #pseudo-device autofs # experimental - AUTOFS > file-system CD9660 # ISO 9660 + Rock Ridge file system > -file-system CHFS# Chip File System > +#file-system CHFS# Chip File System > file-system CODA# Coda File System; also needs vcoda (below) > pseudo-devicevcoda # coda minicache <-> venus comm. > file-system EFS # Silicon Graphics Extent File System > -- Ryo ONODERA // r...@tetera.org PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB FD1B F404 27FA C7D1 15F3
CVS commit: src/sys/conf
Module Name:src Committed By: christos Date: Mon Jun 17 17:06:39 UTC 2019 Modified Files: src/sys/conf: filesystems.config Log Message: comment out CHFS to fix build issues To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/conf/filesystems.config Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/conf/filesystems.config diff -u src/sys/conf/filesystems.config:1.12 src/sys/conf/filesystems.config:1.13 --- src/sys/conf/filesystems.config:1.12 Sun Jun 16 23:34:01 2019 +++ src/sys/conf/filesystems.config Mon Jun 17 13:06:39 2019 @@ -1,10 +1,10 @@ -# $NetBSD: filesystems.config,v 1.12 2019/06/17 03:34:01 christos Exp $ +# $NetBSD: filesystems.config,v 1.13 2019/06/17 17:06:39 christos Exp $ #file-system ADOSFS # AmigaDOS-compatible file system #options APPLE_UFS # Apple UFS support in FFS #file-system AUTOFS # Automounter Filesystem #pseudo-device autofs # experimental - AUTOFS file-system CD9660 # ISO 9660 + Rock Ridge file system -file-system CHFS # Chip File System +#file-system CHFS # Chip File System file-system CODA # Coda File System; also needs vcoda (below) pseudo-device vcoda # coda minicache <-> venus comm. file-system EFS # Silicon Graphics Extent File System
CVS commit: src/sys/conf
Module Name:src Committed By: christos Date: Mon Jun 17 17:06:39 UTC 2019 Modified Files: src/sys/conf: filesystems.config Log Message: comment out CHFS to fix build issues To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/conf/filesystems.config Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/conf
Module Name:src Committed By: christos Date: Mon Jun 17 03:34:02 UTC 2019 Modified Files: src/sys/conf: filesystems.config Log Message: Add more missing fs's To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/conf/filesystems.config Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/conf
Module Name:src Committed By: christos Date: Mon Jun 17 03:34:02 UTC 2019 Modified Files: src/sys/conf: filesystems.config Log Message: Add more missing fs's To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/conf/filesystems.config Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/conf/filesystems.config diff -u src/sys/conf/filesystems.config:1.11 src/sys/conf/filesystems.config:1.12 --- src/sys/conf/filesystems.config:1.11 Tue May 21 12:56:10 2019 +++ src/sys/conf/filesystems.config Sun Jun 16 23:34:01 2019 @@ -1,9 +1,10 @@ -# $NetBSD: filesystems.config,v 1.11 2019/05/21 16:56:10 sevan Exp $ +# $NetBSD: filesystems.config,v 1.12 2019/06/17 03:34:01 christos Exp $ #file-system ADOSFS # AmigaDOS-compatible file system #options APPLE_UFS # Apple UFS support in FFS #file-system AUTOFS # Automounter Filesystem #pseudo-device autofs # experimental - AUTOFS file-system CD9660 # ISO 9660 + Rock Ridge file system +file-system CHFS # Chip File System file-system CODA # Coda File System; also needs vcoda (below) pseudo-device vcoda # coda minicache <-> venus comm. file-system EFS # Silicon Graphics Extent File System @@ -27,8 +28,10 @@ file-system PUFFS # Userspace file syst pseudo-device putter # for puffs and pud file-system SMBFS # experimental - CIFS; also needs nsmb (below) pseudo-device nsmb # experimental - SMB requester +#file-system SYSVBFS # sysvfs file-system TMPFS # Efficient memory file-system #file-system UDF # experimental - OSTA UDF CD/DVD file-system file-system UMAPFS # NULLFS + uid and gid remapping file-system UNION # union file system #file-system V7FS # 7th Edition(V7) File System +#file-system ZFS # Solaris ZFS
CVS commit: src/sys/conf
Module Name:src Committed By: sevan Date: Tue May 21 16:56:10 UTC 2019 Modified Files: src/sys/conf: filesystems.config Log Message: Add APPLE_UFS (disabled) To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/conf/filesystems.config Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/conf/filesystems.config diff -u src/sys/conf/filesystems.config:1.10 src/sys/conf/filesystems.config:1.11 --- src/sys/conf/filesystems.config:1.10 Mon May 6 11:59:46 2019 +++ src/sys/conf/filesystems.config Tue May 21 16:56:10 2019 @@ -1,5 +1,6 @@ -# $NetBSD: filesystems.config,v 1.10 2019/05/06 11:59:46 sevan Exp $ +# $NetBSD: filesystems.config,v 1.11 2019/05/21 16:56:10 sevan Exp $ #file-system ADOSFS # AmigaDOS-compatible file system +#options APPLE_UFS # Apple UFS support in FFS #file-system AUTOFS # Automounter Filesystem #pseudo-device autofs # experimental - AUTOFS file-system CD9660 # ISO 9660 + Rock Ridge file system
CVS commit: src/sys/conf
Module Name:src Committed By: sevan Date: Tue May 21 16:56:10 UTC 2019 Modified Files: src/sys/conf: filesystems.config Log Message: Add APPLE_UFS (disabled) To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/conf/filesystems.config Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Re: CVS commit: src/sys/conf
> Module Name: src > Committed By: jnemeth > Date: Tue Jan 1 01:52:40 UTC 2019 > > Modified Files: > src/sys/conf: copyright > > Log Message: > Welcome to 2019! Could you please send pullup requests for netbsd-7 and netbsd-8? Thanks, --- Izumi Tsutsui
Re: CVS commit: src/sys/conf
In article <20171220051944.ga22...@homeworld.netbsd.org>, wrote: >On Sun, Dec 03, 2017 at 11:36:05AM -0500, Christos Zoulas wrote: >> +@ln -sf ../$S/external/gpl2/dts/dist/arch/${_arch}/boot/dts dts/${_arch} > >this is causing unclear failures in autobuilds (seems to make a link in >src and doesn't work with ro src?), but strangely I can't reproduce >this. > >Could you have a look? Yes, but it is not a failure since the command is -@ln christos
Re: CVS commit: src/sys/conf
On Sun, Dec 03, 2017 at 11:36:05AM -0500, Christos Zoulas wrote: > + @ln -sf ../$S/external/gpl2/dts/dist/arch/${_arch}/boot/dts dts/${_arch} this is causing unclear failures in autobuilds (seems to make a link in src and doesn't work with ro src?), but strangely I can't reproduce this. Could you have a look? Thanks.
Re: CVS commit: src/sys/conf
Date:Mon, 9 Oct 2017 14:37:00 +0200 From:Joerg Sonnenberger Message-ID: <20171009123700.gb7...@britannica.bec.de> | It would help if you wrote what problem you actually tried to fix :) Oh ... sorry, but it is in the b5 build log for evbarm-earmv7hf at http://releng.netbsd.org/b5reports/evbarm-earmv7hf/\ build/2017.10.08.21.33.38/build.log.tail mvsata.o: In function `mvsata_edma_setup_crqb_gen2e': mvsata.c:(.text+0x1fb4): undefined reference to `satafis_rhd_construct_bio' kre
Re: CVS commit: src/sys/conf
On Mon, Oct 09, 2017 at 10:28:33AM +, Robert Elz wrote: > Module Name: src > Committed By: kre > Date: Mon Oct 9 10:28:33 UTC 2017 > > Modified Files: > src/sys/conf: files > > Log Message: > (untested) attempt to fix b5 evbarm-earmv7hf build - please revert if this > is incorrect, or harms anything else... It would help if you wrote what problem you actually tried to fix :) Joerg
Re: CVS commit: src/sys/conf
In article <20170108175946.gb5...@britannica.bec.de>, Joerg Sonnenberger wrote: >On Sun, Jan 08, 2017 at 12:02:08AM -0500, Christos Zoulas wrote: >> Module Name: src >> Committed By:christos >> Date:Sun Jan 8 05:02:08 UTC 2017 >> >> Modified Files: >> src/sys/conf: Makefile.kern.inc >> >> Log Message: >> Add COPTS for xhci.c, since the do_command_locked causes a spurious stack >> proector warning. > >Please restrict that to GCC. We apparently have a /usr/src/sys/conf/ssp.mk; perhaps look if there are any others that are not needed for !GCC. christos
Re: CVS commit: src/sys/conf
On Sun, Jan 08, 2017 at 12:02:08AM -0500, Christos Zoulas wrote: > Module Name: src > Committed By: christos > Date: Sun Jan 8 05:02:08 UTC 2017 > > Modified Files: > src/sys/conf: Makefile.kern.inc > > Log Message: > Add COPTS for xhci.c, since the do_command_locked causes a spurious stack > proector warning. Please restrict that to GCC. Joerg
Re: CVS commit: src/sys/conf
On Dec 31, 3:23pm, "matthew green" wrote: } } Module Name: src } Committed By: mrg } Date: Thu Dec 31 15:23:07 UTC 2015 } } Modified Files: } src/sys/conf: copyright } } Log Message: } WELCOME 2016! Bad boy! That is serious cheating... Not supposed to do it until midnight UTC! }-- End of excerpt from "matthew green"
Re: CVS commit: src/sys/conf
My plan is to order objects following module dependency for kernel constructors.
Re: CVS commit: src/sys/conf
On Thu, Sep 3, 2015 at 11:32 PM, Joerg Sonnenberger wrote: > On Thu, Sep 03, 2015 at 02:56:35PM +0900, Masao Uebayashi wrote: >> Because ${OBJS} affects not only build order but also link order. > > and that's exactly why it *should* be sorted. Please don't introduce > sources of instability to the build process. config(1) outputs ${CFILES}/${SFILES} in the order it parses files.* and sees "file ...". It is stable.
Re: CVS commit: src/sys/conf
On Thu, Sep 03, 2015 at 02:56:35PM +0900, Masao Uebayashi wrote: > Because ${OBJS} affects not only build order but also link order. and that's exactly why it *should* be sorted. Please don't introduce sources of instability to the build process. Joerg
Re: CVS commit: src/sys/conf
On Thu, Sep 03, 2015 at 02:56:35PM +0900, Masao Uebayashi wrote: > Because ${OBJS} affects not only build order but also link order. And this matters why, in the absence of e.g. profile-driven function layout? (although it might be interesting to see if running ${OBJS} through lorder/tsort improves the output kernel) -- David A. Holland dholl...@netbsd.org
Re: CVS commit: src/sys/conf
I got some errors from common/lib/libc/arch/arm/features.mk. Will revisit later.
Re: CVS commit: src/sys/conf
Because ${OBJS} affects not only build order but also link order.