From patchwork Tue Nov 28 16:23:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 119891 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp1918975qgn; Tue, 28 Nov 2017 08:24:02 -0800 (PST) X-Google-Smtp-Source: AGs4zMZE/yoV7XaLWM70u+xmsIsbNiYrD9FpWi1AKfoKa1bFmTC0k07fc+ogkUIcPmCEHwmDLeds X-Received: by 10.159.198.1 with SMTP id f1mr4824677plo.450.1511886242335; Tue, 28 Nov 2017 08:24:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511886242; cv=none; d=google.com; s=arc-20160816; b=Armtdz5Lct2b/D3V6ZSUjR07zttVqkteQiAp0a5poPUkRlfPMytg0djt/Xz1L+m+kM CXqIV23aky5mqZdmtE0dH61ldiKbLDaWpnjjZQtX/mX3K0ENIRMTliL/VS24S4QZFXC4 4yC+d7jz2Uy0OCY+g6d3fqqw+o7rYIWkju/w/NaiLFNBV2f67aWVlSjbtyjNsSD1p6c4 Io0KXCha9d2Ug61dV7AQ+boK3EMpUppSkg6OPwk4bvNco4e6Y13OQtAoOWlA5JpVENjv gTQcAnTJoNeivEl5kJJp8ytOcLS8mONbsnbAKttv4hf7SsVszB5egtQ1yoniSpVzo047 DtWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=L2777DYwrKbQe2br0TIwUw1lqT0fU+CDooivdepcVyk=; b=wMVY0dp3weUDeI6Xggy8rvkO+lwBJERvH6lWF9F6i/jJEWgSQZVUP151f0uTBTb1Ks ITQlDUgvukzJJ+c5iw49qHnF4hWqc9ffpne6O/fix9+BS9nqR3Itnf7KmdbtcmJTFJEM zXi3rRuzgEDmmOQ3tiLKF2oRVosdZjl5GVxCcQpmOS2S1Jfme+ts0u/kezVeZK6pg8/8 L6x0GtZspWoLoHMmTMTliMvidZmwFBgZyq0XRz9ytDM1WBDiaggH/bqpJTBI8WPjdINY oJQrTiL6ce4Qenb2hg/K7Z04tGHE0TPuqif5hopfZ8FBnbGR70BixaQI8WpPjGgCQRUT iqKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=O3bkykF4; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id n17si24867170pgv.72.2017.11.28.08.24.01; Tue, 28 Nov 2017 08:24:02 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=O3bkykF4; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 820F6780BD; Tue, 28 Nov 2017 16:23:58 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wr0-f196.google.com (mail-wr0-f196.google.com [209.85.128.196]) by mail.openembedded.org (Postfix) with ESMTP id F21E56093D for ; Tue, 28 Nov 2017 16:23:54 +0000 (UTC) Received: by mail-wr0-f196.google.com with SMTP id s66so591815wrc.9 for ; Tue, 28 Nov 2017 08:23:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id; bh=ixs4InwVn75caEwJdweZoyIdlWKP5I5mYLRQrhCcIGg=; b=O3bkykF4vsoyYOMiqmwEiGABR6ca8H/XANMpSSHBJsYSH1IHSs3A1Q5196s06I81Q7 s0QUnU1MiaoV4J62jWz7UmLJKG0Eo63yMkeeBU8OoMPb8/4I8Y7kYg4sx7Dn78cWH4Wu l8aYV+aDYc6FLrX1KmnSdrWVx0b3KmdsgSC+srs1cV4WYlbsEf2sVkNfE+mU+0jHWGtN iCArZhAT+eQymoagivG22I3rlLW6B0rPbUqkiyEk8KXbbB+bqmf3BbSiRJGCWyRPSaog 4rBj0ul4EYb5j4C4gjawIzuw3wesPX1CVE5O+drGpnPP6+WKEOzIlDIjz28+H7ReC/E7 cZ5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=ixs4InwVn75caEwJdweZoyIdlWKP5I5mYLRQrhCcIGg=; b=n8CwujbAaLLOPo2z8GaJOMn1U5RsGJvGfbHX/apU7XFcW+4BTklg0i4+/4JGQAf4pG zUnZpqg0wdlKpFZOFACyrI00IbsZ5MHCbzjACMOZmheJ4sruTqI4T33TyUTLSrNtB3AO //VLNoqs0Fvk+9oraCBLqv/pYRs8PJ2qVqWD+XRju7lPdMlCEo3q1ypAbah9NFq4FwAO rtyp9bLI2Dgz9QJApui7zJkRC6KFo0QDyhCQ+hxKSIfGCB7NOYd/5riatLt9drX0GMRk Ux1QFXabXVDNz7gqdDObaLM1mlmqoFTHdFTPTS6LFdCcKcpC0fJYFZVSdm7tPPN3Z/T5 xGZg== X-Gm-Message-State: AJaThX7Oqh8NoWKC/kjAWHlURVKVQhkK6ISkhRPP6N9nBdBvgdd7Dych LkpkV8SeJpXx+Cp3OdlPEQtJMDFk X-Received: by 10.223.153.162 with SMTP id y31mr35054682wrb.216.1511886235715; Tue, 28 Nov 2017 08:23:55 -0800 (PST) Received: from flashheart.burtonini.com (home.burtonini.com. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id l31sm55479775wrc.50.2017.11.28.08.23.54 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Nov 2017 08:23:54 -0800 (PST) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Tue, 28 Nov 2017 16:23:52 +0000 Message-Id: <20171128162352.25156-1-ross.burton@intel.com> X-Mailer: git-send-email 2.11.0 Subject: [OE-core] [PATCH] site: consolidate ac_cv_func_mmap_fixed_mapped definitions X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org This is the cache variable used by AC_FUNC_MMAP, which is possibly one of the worst autoconf macros to exist. Apart from being a runtime test which silently claims that mmap() is broken when cross-compiling, this is basically to verify that mmap() actually works, because SVR4.0 (released 1988) was broken. Thirty years later, everyone has a working mmap(). common-glibc already has an assignment, so add a corresponding assignment to common-musl and remove it from the machine-specific files. Signed-off-by: Ross Burton --- meta/site/arm-linux | 1 - meta/site/common-musl | 1 + meta/site/ix86-common | 1 - meta/site/nios2-linux | 1 - meta/site/sh-common | 1 - 5 files changed, 1 insertion(+), 4 deletions(-) -- 2.11.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/site/arm-linux b/meta/site/arm-linux index e6b9a726fb0..7bf073eb779 100644 --- a/meta/site/arm-linux +++ b/meta/site/arm-linux @@ -142,7 +142,6 @@ samba_cv_LINUX_LFS_SUPPORT=${samba_cv_LINUX_LFS_SUPPORT=yes} clamav_av_func_working_snprintf_long=${clamav_av_func_working_snprintf_long=yes} clamav_av_have_in_port_t=${clamav_av_have_in_port_t=yes} clamav_av_have_in_addr_t=${clamav_av_have_in_addr_t=yes} -ac_cv_func_mmap_fixed_mapped=${ac_cv_func_mmap_fixed_mapped=yes} #dbus ac_cv_have_abstract_sockets=${ac_cv_have_abstract_sockets=yes} diff --git a/meta/site/common-musl b/meta/site/common-musl index 26fc1033191..1b4fc321353 100644 --- a/meta/site/common-musl +++ b/meta/site/common-musl @@ -12,6 +12,7 @@ ac_cv_func_getpwuid_r=${ac_cv_func_getpwuid_r=yes} ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes} ac_cv_func_getaddrinfo=${ac_cv_func_getaddrinfo=yes} +ac_cv_func_mmap_fixed_mapped=${ac_cv_func_mmap_fixed_mapped=yes} # glib glib_cv_strlcpy=${glib_cv_strlcpy=no} diff --git a/meta/site/ix86-common b/meta/site/ix86-common index 4fbf58c0cfd..c5e354c073a 100644 --- a/meta/site/ix86-common +++ b/meta/site/ix86-common @@ -53,7 +53,6 @@ bash_cv_func_sigsetjmp=${bash_cv_func_sigsetjmp=missing} clamav_av_func_working_snprintf_long=${clamav_av_func_working_snprintf_long=yes} clamav_av_have_in_port_t=${clamav_av_have_in_port_t=yes} clamav_av_have_in_addr_t=${clamav_av_have_in_addr_t=yes} -ac_cv_func_mmap_fixed_mapped=${ac_cv_func_mmap_fixed_mapped=yes} # cvs cvs_cv_func_printf_ptr=${cvs_cv_func_printf_ptr=yes} diff --git a/meta/site/nios2-linux b/meta/site/nios2-linux index 5bae7484346..24bc5b033a1 100644 --- a/meta/site/nios2-linux +++ b/meta/site/nios2-linux @@ -372,7 +372,6 @@ samba_cv_LINUX_LFS_SUPPORT=${samba_cv_LINUX_LFS_SUPPORT=yes} clamav_av_func_working_snprintf_long=${clamav_av_func_working_snprintf_long=yes} clamav_av_have_in_port_t=${clamav_av_have_in_port_t=yes} clamav_av_have_in_addr_t=${clamav_av_have_in_addr_t=yes} -ac_cv_func_mmap_fixed_mapped=${ac_cv_func_mmap_fixed_mapped=yes} #dbus ac_cv_have_abstract_sockets=${ac_cv_have_abstract_sockets=yes} diff --git a/meta/site/sh-common b/meta/site/sh-common index fc4d6ad792d..97c96934d71 100644 --- a/meta/site/sh-common +++ b/meta/site/sh-common @@ -227,7 +227,6 @@ with_broken_putenv=${with_broken_putenv=no} clamav_av_func_working_snprintf_long=${clamav_av_func_working_snprintf_long=yes} clamav_av_have_in_port_t=${clamav_av_have_in_port_t=yes} clamav_av_have_in_addr_t=${clamav_av_have_in_addr_t=yes} -ac_cv_func_mmap_fixed_mapped=${ac_cv_func_mmap_fixed_mapped=yes} # libnet ac_cv_lbl_unaligned_fail=${ac_cv_lbl_unaligned_fail=no}