[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: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Thu, 29 Sep 2022 12:07:20 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.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=TVb9/T5Csgw7sBGxek7HE/E32HbXBuBKpU1/gKEShl0=; b=nD/iSZGDo955uRatswfnRDrKaMINS71LrdzIDwInbV+X6xe7p0yYRvUpncGIzIK+EVBy3pDiFYo0k+U7bvDgH/sXT8pb9ZktdpQ2pjBE9aLIk7Kcct33nwynjLqZs61jZl0dz1/uql3bE0zva1HS2GzSt2XdKn1lo0bS5/Sl0o59AipGAPtFMfUA1yiFoUjsjSpTu0ioufsfx1iqQ/p+JvKbNO27zem1EOvjoD4fFJQEkmastH+fyuy+/5fJNX6crnpYHP9/SRwN84BIOXjDckd85+KOsI7UPgxp3cESo+iJ58nrRRLi3eRLgYkr7MQCa5gjr0hPwlZIhTkV0gsx1Q==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VgWPxgD7KXszi3hdLbXy6NqibUB7qgpn6NbfCLY5ranUgmD4PDdxqspP10iae0IYTlmuo6kTsyY05I9GT8XwHwoOPNTsk+aPqzX+HETk14VLWtzILTbz1mnzvBz6LW8NXdoaCHUEKsEkYYxlpDFC+GgQQbL32rwsD8i95psnx1oSIOyMucyqisSRk9S1SyK3UYAxDBWFyjdXQmnsoSpp2EVAXdUxLp2XZ+n3NMW4IX9g1SIT57Nrd1apdWxrcC9RncLyXpAlsBQIccFZfwaD1orOwf1CqUIUYyMkUWaiKOYOQ0XiEG2EF6/BTsFwGlQlrKm5HwZXn1Cz2CQShpVKuQ==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: George Dunlap <George.Dunlap@xxxxxxxxxxxxx>, Roger Pau Monné <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: Thu, 29 Sep 2022 10:07:26 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

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?

Jan



 


Rackspace

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