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

Re: HAS_CC_CET_IBT misdetected


  • To: Olaf Hering <olaf@xxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Tue, 2 May 2023 09:34:34 +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=GQnUS/XI/DAbV78nBE3hwMbN1l5XLfaE3ZjQSab4SE0=; b=cfJMZsdXRomUyD1lXSGxYqt4y96W7hGV/6QhU2DJA3mKn0Blt2AsMqa/UhdmYlH0/OAIeS5yJzSDRZgrxLjcswlAmnhN3Ohz4A50v6uzMrPseozC/w1C6y5ROsFj/Jf4HIvdWfRh8VdwBjW+V9UTPxn+bSj2PqeuupldlUORARVY17iQizdeMzV9FF/P5tCnvdhzae1ChrCwXgdZTecQyEQQrEv7AIlAfOGxXi/jFkC5AxCSdZm4zVNnP2USB5rnSSlQd303MjGiolbmco+ej9eU78IwLD05XmL0k1AaygmWTX+Ws2lTQqgAXs3V1/bbd3/p418gK7EWVJiJdRq/vg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=f7l6SR0ZPOs+u3/kb3E0YxSfxQW8inxOhqW6x23N2JC26Lw/DUAOig7CJ0PH+qwSzIhezzm6FhNP4byfIQl/pz4zJ4XrfQ7vIdAueczcRiwYiHlNVKDj9QOlOvDb+thQz45jhdScBYpnNxarEoQiRcAwkX1Hnw4XfQ/mVjib9e19GjUWW1bFK+rK6r9mIbgV+8qq2JbNN7sYdiNgAOlcr8RGY0MFVCyW71f9oU8hVsL6MpFgmbxGTUzV9RIiAgb7s+fXM0KEbPJh7dkDij8CsPWRq+0XQh80xjOFTaztMUr7yVDyQKV35c5TziA9Cnej9vx/Rpyd6+H+rVCpimIOQQ==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 02 May 2023 07:34:37 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 02.05.2023 09:31, Jan Beulich wrote:
> On 02.05.2023 07:48, Olaf Hering wrote:
>> The next push to xen.git#staging will trigger a build failure in the 
>> refreshed Leap docker image.
>>
>> For some reason HAS_CC_CET_IBT will evaluate to true. I think the 
>> significant change is the binutils upgrade from 2.37 to 2.39 in November 
>> 2022.
>>
>> The comment indicates the combination of gcc7 and binutils 2.39 is supposed 
>> to evaluate HAS_CC_CET_IBT to false.
> 
> How does 2.37 vs 2.39 matter? CET-IBT support is present in gas as of 2.29.
> IOW I think it all ought to be tied to gcc being 7.x when 9.x is the
> supposed minimum. Did you / could you check which of the three options
> (-fcf-protection=branch -mmanual-endbr -mindirect-branch=thunk-extern)
> is/are possibly recognized by the (likely also updated) gcc7 there? That
> may provide a hint at what's going wrong ...

Oh, it might further be relevant that Kconfig's cc-option passes -E to the
compiler, yet none of the options actually affect pre-processing (and hence
might not tried to be evaluated with -E).

Jan



 


Rackspace

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