From owner-freebsd-current@FreeBSD.ORG Fri Feb 6 22:09:45 2015 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EC30C4D8 for ; Fri, 6 Feb 2015 22:09:45 +0000 (UTC) Received: from mail.auburn.protected-networks.net (mail.auburn.protected-networks.net [IPv6:2001:470:1f07:4e1::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.auburn.protected-networks.net", Issuer "Protected Networks Certificate Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B02425F7 for ; Fri, 6 Feb 2015 22:09:45 +0000 (UTC) Received: from toshi.auburn.protected-networks.net (toshi.auburn.protected-networks.net [192.168.1.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "Iain Butler", Issuer "RSA Class 2 Personal CA v2" (verified OK)) (Authenticated sender: imb@mail.auburn.protected-networks.net) by mail.auburn.protected-networks.net (Postfix) with ESMTPSA id 514B460; Fri, 6 Feb 2015 17:09:43 -0500 (EST) Message-ID: <54D53BA2.6080406@protected-networks.net> Date: Fri, 06 Feb 2015 17:09:38 -0500 From: Michael Butler User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: "O. Hartmann" , FreeBSD CURRENT Subject: Re: r278328: fails to build kernel due to /usr/src/sys/kern/subr_bus.c: undefined reference to `memchr' References: <20150206210607.4a39a75d.ohartman@zedat.fu-berlin.de> In-Reply-To: <20150206210607.4a39a75d.ohartman@zedat.fu-berlin.de> OpenPGP: id=0442D492 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="t2Aehhc4ptI2qBSt5CKIrc5DHjRMAgx61" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2015 22:09:46 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --t2Aehhc4ptI2qBSt5CKIrc5DHjRMAgx61 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 02/06/15 15:06, O. Hartmann wrote: > Recent sources seem to fail in buildkernel with >=20 > [...] > --- kernel --- > linking kernel > subr_bus.o: In function `devctl2_ioctl': > /usr/src/sys/kern/subr_bus.c:(.text+0x6284): undefined reference to `me= mchr' > *** [kernel] Error code 1 It seems that this function in libkern was conditionally compiled. You might try this: *** sys/conf/files~ Sat Jan 31 10:44:44 2015 --- sys/conf/files Fri Feb 6 17:05:37 2015 *************** *** 3193,3199 **** libkern/murmur3_32.c standard libkern/mcount.c optional profiling-routine libkern/memcchr.c standard ! libkern/memchr.c optional fdt | gdb libkern/memcmp.c standard libkern/memmem.c optional gdb libkern/qsort.c standard --- 3193,3199 ---- libkern/murmur3_32.c standard libkern/mcount.c optional profiling-routine libkern/memcchr.c standard ! libkern/memchr.c standard libkern/memcmp.c standard libkern/memmem.c optional gdb libkern/qsort.c standard --t2Aehhc4ptI2qBSt5CKIrc5DHjRMAgx61 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlTVO6UACgkQQv9rrgRC1JJbUwCguzUYH+pZ+TR57budqrZm1q9I fY4AniGua0K/ACe5VJEQ+Vn1SWIa9goX =7rEF -----END PGP SIGNATURE----- --t2Aehhc4ptI2qBSt5CKIrc5DHjRMAgx61--