From owner-svn-src-head@freebsd.org Fri Sep 21 18:11:14 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AE98110A0282; Fri, 21 Sep 2018 18:11:14 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from smtp-out-so.shaw.ca (smtp-out-so.shaw.ca [64.59.136.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 0C98E8A2C6; Fri, 21 Sep 2018 18:11:13 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from spqr.komquats.com ([70.67.125.17]) by shaw.ca with ESMTPA id 3PtQgutHQ5Hxq3PtRgCB9L; Fri, 21 Sep 2018 12:11:06 -0600 X-Authority-Analysis: v=2.3 cv=BMcHU2YG c=1 sm=1 tr=0 a=VFtTW3WuZNDh6VkGe7fA3g==:117 a=VFtTW3WuZNDh6VkGe7fA3g==:17 a=kj9zAlcOel0A:10 a=JBFolyDoGHsA:10 a=6I5d2MoRAAAA:8 a=YxBL1-UpAAAA:8 a=j-OfqatTNawR962LbvcA:9 a=CjuIK1q_8ugA:10 a=IjZwj45LgO3ly-622nXo:22 a=Ia-lj3WSrqcvXOmTRaiG:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTPS id 2E0207A7; Fri, 21 Sep 2018 11:12:24 -0700 (PDT) Received: from slippy.cwsent.com (localhost [127.0.0.1]) by slippy.cwsent.com (8.15.2/8.15.2) with ESMTP id w8LIB3wk071103; Fri, 21 Sep 2018 11:11:03 -0700 (PDT) (envelope-from Cy.Schubert@cschubert.com) Received: from slippy (cy@localhost) by slippy.cwsent.com (8.15.2/8.15.2/Submit) with ESMTP id w8LIB3Oq071100; Fri, 21 Sep 2018 11:11:03 -0700 (PDT) (envelope-from Cy.Schubert@cschubert.com) Message-Id: <201809211811.w8LIB3Oq071100@slippy.cwsent.com> X-Authentication-Warning: slippy.cwsent.com: cy owned process doing -bs X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.7.1 Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Ed Maste cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r338861 - head/lib/libc In-Reply-To: Message from Ed Maste of "Fri, 21 Sep 2018 17:49:37 -0000." <201809211749.w8LHnbap091466@repo.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 21 Sep 2018 11:11:02 -0700 X-CMAE-Envelope: MS4wfNvW4OYGTXXNpJPL9Kj4ESNzmFDGYy6a3gHQwvFByJJZit7OgAlyvAd9O3Wgs8i9O132rBgIN3hBBJJXroJz0W44cfBFi0ScecXyDt7y8BQqfK9aegCG xrlCYVEkCeGwZwbSXuT7pCYVTpFoi+a2NWw2aR7TGCJcZvHtC7yG79McJSYxY2+4ymYJ9BVzUdl0oBdo0Xu82a55nLUzgk2Nb1jo73Yt8nq4uYrHoaWwe+dK kVJc5k7YjOV1bbGbLgR6v2f8IO9a/3G2RHSqd/0JHzwEScRHZ+r16AS3isQIKMLL X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Sep 2018 18:11:14 -0000 In message <201809211749.w8LHnbap091466@repo.freebsd.org>, Ed Maste writes: > Author: emaste > Date: Fri Sep 21 17:49:37 2018 > New Revision: 338861 > URL: https://svnweb.freebsd.org/changeset/base/338861 > > Log: > libc: require ifunc-capable linker for amd64/i386 > > We expect to introduce optimized libc routines in the near future, > which requires use of a linker that supports ifuncs. > > Approved by: re (gjb, kib) > Sponsored by: The FreeBSD Foundation > > Modified: > head/lib/libc/Makefile > > Modified: head/lib/libc/Makefile > ============================================================================= > = > --- head/lib/libc/Makefile Fri Sep 21 17:44:05 2018 (r338860) > +++ head/lib/libc/Makefile Fri Sep 21 17:49:37 2018 (r338861) > @@ -21,6 +21,11 @@ LIBC_ARCH=${MACHINE_ARCH} > LIBC_ARCH=${MACHINE_CPUARCH} > .endif > > +.if (${LIBC_ARCH} == amd64 || ${LIBC_ARCH} == i386) && \ > + defined(LINKER_FEATURES) && ${LINKER_FEATURES:Mifunc} == "" > +.error ${LIBC_ARCH} libc requires linker ifunc support > +.endif > + > # All library objects contain FreeBSD revision strings by default; they may > be > # excluded as a space-saving measure. To produce a library that does > # not contain these strings, add -DSTRIP_FBSDID (see ) to CFLAG > S > Should this require bumping __FreeBSD_version? -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few.