From owner-freebsd-current@FreeBSD.ORG Fri Feb 6 23:35:13 2015 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B13A53AB; Fri, 6 Feb 2015 23:35:13 +0000 (UTC) Received: from mail-pd0-f169.google.com (mail-pd0-f169.google.com [209.85.192.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 802B8F72; Fri, 6 Feb 2015 23:35:13 +0000 (UTC) Received: by pdjg10 with SMTP id g10so11595696pdj.1; Fri, 06 Feb 2015 15:35:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=5oAp4hrBVQmraJCLZrAZhDBrCN8m8RewdFhMR021hH4=; b=UwuD/gWl6q36DCT0tpnmUJJtVgBEq1cFPfsb0Sc0OJpbZVsC+N15Li5YEDv2L92J6x MHA7/B42GCBQ9CP4ST8pobfsbh1yrehvGR/rzbxzGD3mrddoPOj9ysHu4nz7wnW7IOYe JTuE7q9oqsrkIfZKNFx3WpN2JCm0bRafURLjG9F8efizyhSs6yRyQkdRA/AgUUGWEAN6 e6JS1ZJl3uQ39h+35byhPcV3RfTX3A5nCDVrH1P0LJzSwVx6lrLOYHYEf7UP7ghBwCv8 rczXAXVHH44rLDv/4g1bI+uy+SomTYID+h07FA6eRkvYyEn+VxHkK3i5hXyQGBgDcJ65 Nm3A== X-Received: by 10.66.62.229 with SMTP id b5mr9696455pas.30.1423265712714; Fri, 06 Feb 2015 15:35:12 -0800 (PST) Received: from ?IPv6:2601:8:ab80:7d6:e47d:5c02:fe5f:40fa? ([2601:8:ab80:7d6:e47d:5c02:fe5f:40fa]) by mx.google.com with ESMTPSA id pn2sm9111409pbb.42.2015.02.06.15.35.11 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 06 Feb 2015 15:35:11 -0800 (PST) Content-Type: multipart/signed; boundary="Apple-Mail=_6C251643-B355-4B5F-944B-F593FB249550"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: r278328: fails to build kernel due to /usr/src/sys/kern/subr_bus.c: undefined reference to `memchr' From: Garrett Cooper In-Reply-To: <54D53BA2.6080406@protected-networks.net> Date: Fri, 6 Feb 2015 15:35:10 -0800 Message-Id: References: <20150206210607.4a39a75d.ohartman@zedat.fu-berlin.de> <54D53BA2.6080406@protected-networks.net> To: Michael Butler X-Mailer: Apple Mail (2.1878.6) Cc: FreeBSD CURRENT , "O. Hartmann" 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 23:35:13 -0000 --Apple-Mail=_6C251643-B355-4B5F-944B-F593FB249550 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On Feb 6, 2015, at 14:09, Michael Butler = wrote: > 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 = `memchr' >> *** [kernel] Error code 1 >=20 > It seems that this function in libkern was conditionally compiled. You > might try this: >=20 >=20 > *** 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 Thank you for the report. The issue has been fixed in r278336. --Apple-Mail=_6C251643-B355-4B5F-944B-F593FB249550 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJU1U+uAAoJEMZr5QU6S73eFNIH/RYDKzjzNUM8/CKR5sx3EH6R dHkdg1hcbQUP6xURHWZAtL3yDgHQCMBMsJ4dlahGBBFHxaiTlmIxQn//Qto/xASy FDVCwmQGpWja4XWyRpknrH/ttcvlpSiNDSuou0gIKMdjXH1BFMLfvApXcvz4uYa+ gnYqa/pTo0bZb0JglYrK6yIniZUBvtfN/oys8V1K8v+do5d8Flx6asC56X5zmFbV EukDKbpMCSmtjXY4L24pY/mESZdtVx9+qMm2APGoHe/vpE8gtRNGRuUnFWyW+IJQ qFKcHKOD4L3imNU07plV438O1SDOama1Sjm55W6DOjfxJcXpW0SbiVYHVXjGTas= =ieVm -----END PGP SIGNATURE----- --Apple-Mail=_6C251643-B355-4B5F-944B-F593FB249550--