From nobody Sat Sep 21 02:43:21 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+79467+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+79467+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1629265348; cv=none; d=zohomail.com; s=zohoarc; b=DLkeQdq0FqxamDS0yvLrop8IlbgRJ+ECTpu/j1G1W5xyjslvLT0ptCfqqKKm/oNVfKiOqKTcz5c8uQElIyv/0yqLPVMngBLf+LdjR+fhAresMqrJMc3mJ3dUe4h3CgyXIP+V3HMz8XOIJod1pBvTcqqqWV3ivwGrwVxC2Wufvqc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1629265348; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=XIT6CPWcE28l/zka5kXn2BqEPr4NK+OIujoDUb/DqOs=; b=fD6Le4WxO0vCgoymxuWZGmni2MEgKQSwaXLJ2cRJkP9jv5MqWEXjZh07cGInbt9FZanZegJxKOCS72T8EBi/DEbuErkbMSQmSvQ/51llfXwZ0hBLZzwiHANGAusYZWpa/Ha/NXrY04fQWOnv9Hd7YgKzKeHPSei23Yu8/XwNL00= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+79467+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1629265348302494.79043309151086; Tue, 17 Aug 2021 22:42:28 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id NsviYY1788612xIFotql2FnT; Tue, 17 Aug 2021 22:42:28 -0700 X-Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mx.groups.io with SMTP id smtpd.web08.50435.1629265341708850809 for ; Tue, 17 Aug 2021 22:42:24 -0700 X-IronPort-AV: E=McAfee;i="6200,9189,10079"; a="277283652" X-IronPort-AV: E=Sophos;i="5.84,330,1620716400"; d="scan'208";a="277283652" X-Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Aug 2021 22:42:22 -0700 X-IronPort-AV: E=Sophos;i="5.84,330,1620716400"; d="scan'208";a="676909208" X-Received: from mdkinney-mobl2.amr.corp.intel.com ([10.209.89.84]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Aug 2021 22:42:22 -0700 From: "Michael D Kinney" To: devel@edk2.groups.io Cc: Rebecca Cran Subject: [edk2-devel] [edk2-libc Patch 8/9] AppPkg/Applications/Python: Enable HAVE_COPYSIGN define Date: Tue, 17 Aug 2021 22:42:05 -0700 Message-Id: <20210818054206.1223-9-michael.d.kinney@intel.com> In-Reply-To: <20210818054206.1223-1-michael.d.kinney@intel.com> References: <20210818054206.1223-1-michael.d.kinney@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,michael.d.kinney@intel.com X-Gm-Message-State: sIhB0gogpHE39DVVzfjkUJmSx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1629265348; bh=gdwxJRHGuMEYF8trh8zCWeVhfKMWwsQftKj3zR+nUYA=; h=Cc:Date:From:Reply-To:Subject:To; b=SEMc4w0L2rMHBJkD/fzr7fFRpeRrLyygJFDN0TZwAj7hIv5imE5Fq0Z8bR3JgRHY8hM 7wW+UMpsnBEvPicfjSSbhh/LqWRHN7OnawvCE9K9W2Y/1BBcmC0gSthKC4hMLCu6Zd9B/ Ka7YIUw8zEifHw5N+0DZHugStIg/1UuIgTA= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1629265349942100004 Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3549 Update Python configuration to enable the HAVE_COPYSIGN define to prevent multiple defined symbols link failure for copysign(). Cc: Rebecca Cran Signed-off-by: Michael D Kinney --- AppPkg/Applications/Python/Ia32/pyconfig.h | 2 +- AppPkg/Applications/Python/Python-2.7.10/Ia32/pyconfig.h | 2 +- AppPkg/Applications/Python/Python-2.7.10/X64/pyconfig.h | 2 +- AppPkg/Applications/Python/X64/pyconfig.h | 3 +-- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/AppPkg/Applications/Python/Ia32/pyconfig.h b/AppPkg/Applicatio= ns/Python/Ia32/pyconfig.h index ef241a9..2d73346 100644 --- a/AppPkg/Applications/Python/Ia32/pyconfig.h +++ b/AppPkg/Applications/Python/Ia32/pyconfig.h @@ -125,7 +125,7 @@ #undef HAVE_CONIO_H =20 /* Define to 1 if you have the 'copysign' function. */ -#undef HAVE_COPYSIGN +#define HAVE_COPYSIGN 1 =20 /* Define to 1 if you have the 'ctermid' function. */ #undef HAVE_CTERMID diff --git a/AppPkg/Applications/Python/Python-2.7.10/Ia32/pyconfig.h b/App= Pkg/Applications/Python/Python-2.7.10/Ia32/pyconfig.h index 5aa936c..5a86ec3 100644 --- a/AppPkg/Applications/Python/Python-2.7.10/Ia32/pyconfig.h +++ b/AppPkg/Applications/Python/Python-2.7.10/Ia32/pyconfig.h @@ -138,7 +138,7 @@ #undef HAVE_CONIO_H =20 /* Define to 1 if you have the 'copysign' function. */ -#undef HAVE_COPYSIGN +#define HAVE_COPYSIGN 1 =20 /* Define to 1 if you have the 'ctermid' function. */ #undef HAVE_CTERMID diff --git a/AppPkg/Applications/Python/Python-2.7.10/X64/pyconfig.h b/AppP= kg/Applications/Python/Python-2.7.10/X64/pyconfig.h index 92731f7..f07db09 100644 --- a/AppPkg/Applications/Python/Python-2.7.10/X64/pyconfig.h +++ b/AppPkg/Applications/Python/Python-2.7.10/X64/pyconfig.h @@ -138,7 +138,7 @@ #undef HAVE_CONIO_H =20 /* Define to 1 if you have the 'copysign' function. */ -#undef HAVE_COPYSIGN +#define HAVE_COPYSIGN 1 =20 /* Define to 1 if you have the 'ctermid' function. */ #undef HAVE_CTERMID diff --git a/AppPkg/Applications/Python/X64/pyconfig.h b/AppPkg/Application= s/Python/X64/pyconfig.h index 81dbada..00ff4f9 100644 --- a/AppPkg/Applications/Python/X64/pyconfig.h +++ b/AppPkg/Applications/Python/X64/pyconfig.h @@ -132,7 +132,7 @@ #undef HAVE_CONIO_H =20 /* Define to 1 if you have the 'copysign' function. */ -#undef HAVE_COPYSIGN +#define HAVE_COPYSIGN 1 =20 /* Define to 1 if you have the 'ctermid' function. */ #undef HAVE_CTERMID @@ -1299,4 +1299,3 @@ //#undef volatile =20 #endif /*Py_PYCONFIG_H*/ - --=20 2.32.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#79467): https://edk2.groups.io/g/devel/message/79467 Mute This Topic: https://groups.io/mt/84966619/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-