[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH for-4.17] Build: Drop -no-pie from EMBEDDED_EXTRA_CFLAGS


  • To: Jan Beulich <jbeulich@xxxxxxxx>
  • From: Andrew Cooper <Andrew.Cooper3@xxxxxxxxxx>
  • Date: Mon, 3 Oct 2022 11:20:06 +0000
  • Accept-language: en-GB, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ZElAJ2dOaE3bi1kjESNtokaqE9uVSLzHW8SawOBAA1k=; b=RZ1Wk1agYlvkt9qxuLjoz1y4DuaFBIBvEgNwGPxgGMtFl7XbPPxt1cj9PDYvhjjdkXYTIsVR92OB054kSwyvVaHgpE36onroEm6HPbgR+BX0KgzBNP8+DFEb3krtoP1xA41/q2yAT1YN31y7I3cXvZAsc3TO2L5nM4qdiFFy9g6yX+UO3Hfns2sDeZWoVwO4PhakzCKIviwqGiQmEkVeoN5TEY/L+XPmR3B3XgtvhyiQ52Rjb9sgezQvV07VQvBt6Uc6U9YKmPbSOYU5aX7Nie1AJgXgDs1dkFCcXR4/7Vhq5Emi1UFafh7SuNAROXEyVeOmy5QuDOUjy7JR1x8zaw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GxqA51IIl0cIHF1VG6H89F8YFYF4D1inYXYdTUtp2Rg42JldkAdCPO+yMjWuO8/AWTLX03tnPE/uyOQlw33AY1/xibjA7p9Nlkfp+8G9IYhOwWr1UFVIC1pudVdY8//h+bQZFSBGEbwkPeGH9YuBFGd8lk+npkXm4gLqnC5Lz0nJwTBxnggLNbGuu06YxVPvy5DuN3yl3Wc56sV+cEoLvyxKaMTIHJaArXmOwfLKPclQht868gshAOs2r3JbcPwLuD0zZHJNoaJfOnQut898p4Bqf4SQpCrwQLVhfGyXGyoWvulbyeFbCr+2vUgf7sduPkQl/r3TCqpNdghnKbcfkw==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
  • Cc: George Dunlap <George.Dunlap@xxxxxxxxxx>, Roger Pau Monne <roger.pau@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Julien Grall <julien@xxxxxxx>, Henry Wang <Henry.Wang@xxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Mon, 03 Oct 2022 11:20:36 +0000
  • Ironport-data: A9a23:KWNELqC5UCWS/BVW//Piw5YqxClBgxIJ4kV8jS/XYbTApDIj0zEGm GQWWmmGbvmCNGD9KN9wPdm/pEIBvJ+EytNrQQY4rX1jcSlH+JHPbTi7wuUcHAvJd5GeExg3h yk6QoOdRCzhZiaE/n9BCpC48T8mk/ngqoPUUIbsIjp2SRJvVBAvgBdin/9RqoNziJ2yDhjlV ena+qUzA3f4nW8vWo4ow/jb8kk25Kyp4GpwUmEWPpingnePzxH5M7pHTU2BByOQapVZGOe8W 9HCwNmRlo8O105wYj8Nuu+TnnwiGtY+DyDX4pZlc/HKbix5jj4zys4G2M80Mi+7vdkrc+dZk 72hvbToIesg0zaldO41C3G0GAkmVUFKFSOuzdFSfqV/wmWfG0YAzcmCA2kaHrQz8PZpGV1gq +whMRU2TByxjruPlefTpulE3qzPLeHNFaZG4jRF8mucCvwrB5feX6/N+NlUmi8qgdxDFurfY MxfbidzaBPHYFtEPVJ/5JAWxb/0wCWgNWAF7gvN/MLb4ECKpOB1+JHrPMDYZZqhQsJNk1zDj mnH4374ElcRM9n3JT+toivw17aXwHqTtIQ6FoK11tR6vlKqn1c5IycuV3ibotOrlRvrMz5YA wlOksY0loAw/kG2Stj2XzWjvWWJ+BUbXrJ4CPYm4QuAzq7V5QexBWUeSDNFLts8u6ceWjgCx lKP2dTzClRHsqCRSH+b3qeZq3W1Iyd9BU8PYzUVCzQM5dbLqZs2yBnIS75LAKOzy9H4Bzz06 zSLtzQlwaUei9YR0Ke29kyBhCijzqUlVSYw7wTTG2e6tAVwYdf9Y5TysACCq/FdMIyeU1+N+ mAenNST5/wPCpfLkzGRROIKH/ei4PPt3CDgvGOD1qIJr1yFk0NPt6gJiN2iDC+F6vo5RAI=
  • Ironport-hdrordr: A9a23:3hAjNaPFxoKIucBcT2L155DYdb4zR+YMi2TDiHoddfUFSKalfp 6V98jzjSWE8wr4WBkb6LO90DHpewKQyXcH2/hqAV7EZnirhILIFvAp0WKG+VHd8kLFh4lgPM tbEpSWTeeAdWSS7vyKrzVQcexQpuVvmZrA7Yix854ud3ASV0gK1XYaNu/vKDwTeOAwP+tdKH Pz3Kp6jgvlXU5SQtWwB3EDUeSGjcbMjojabRkPAANiwBWSjBuzgYSKUiSw71M7aXdi0L0i+W /Kn0jS/aO4qcy2zRfayiv684lWot380dFObfb8yvT9aw+cyTpAVr4RHoFqjwpF5N1HL2xa1+ Ukli1QffibLUmhOF1d7yGdgjUImwxelkMKgWXo/UcL5/aJCg7SQvAx+76wOHHimjUdlcA536 RR022DsZ1LSRvGgSTm/tDNEwpnj0yuvBMZ4KcuZlFkIPwjgYVq3Poi1VIQFI1FEDPx6YghHu UrBMbA5OxOeVffa3zCpGFgzNGlQ3x2R369MwM/k93Q1yITkGFyzkMeysBalnAc9IglQ50B4+ jfKKxnmLxHU8dTZ6NgA+UKR9exFwX2MFrxGXPXJU6iGLAMOnrLpZKy6LIp5PuycJhN15c2kI SpaiItiYfzQTOaNSSj5uw5zvmWehTNYd3E8LAv27Fp/rvhWbHsLSqPDFgzjsrImYRsPvHm
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHY0oiAaGzY0Q9w4UWHsGMrupWMzq32MXQAgAZdp4A=
  • Thread-topic: [PATCH for-4.17] Build: Drop -no-pie from EMBEDDED_EXTRA_CFLAGS

On 29/09/2022 11:07, Jan Beulich wrote:
> On 27.09.2022 17:47, Andrew Cooper wrote:
>> This breaks all Clang builds, as demostrated by Gitlab CI.
>>
>> Contrary to the description in ecd6b9759919, -no-pie is not even an option
>> passed to the linker.  GCC's actual behaviour is to inhibit the passing of
>> -pie to the linker, as well as selecting different cr0 artefacts to be 
>> linked.
>>
>> EMBEDDED_EXTRA_CFLAGS is not used for $(CC)-doing-linking, and not liable to
>> gain such a usecase.
> Since it was largely unavoidable for me to notice this while putting
> together the two XTF patches just sent - isn't the current way of using
> -no-pie there bogus then as well?

Hmm, it is now.  In the past, XTF did use $(CC) for linking, but that is
not the case now.  I'll drop it.

~Andrew

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.