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

Re: HAS_CC_CET_IBT misdetected


  • To: Olaf Hering <olaf@xxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>
  • From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • Date: Tue, 2 May 2023 13:01:01 +0100
  • 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=MO9YZe9mZayTlgGSpnI5uZXpludFlQY/Ro+jZvMe6yE=; b=mkgTl/uH3ccqFUk3Gd/H22GN6i4SPsQVzlVGHPIvTFYlLaFux5WTNTlAX5zbeuE4FSinafJajwbfaLbnWU4PG2fb4oOSTKLNYQqlsYwND/M0DqzLh7RcnYHYxBx4fYoDLnoR4z0SBk/rek1Ir7J9xNt2wSlrWPbGh/OLPhAQZm2vOW7hLOVYvDhoCU7kcFAJsih5lOEaDcoOp9eGzs3uT2cgGhEjkdHbbevRkCexBpEyEwW8V3/Dci/uc3SkiASt9wFtrX+e2ovbMQfdE19MzqF+MguC/SvJ4+8o64lFma63DWKqh+1tS9Sq2BKaSrnKIuunbMls4TRgtCdGBZMDwg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WjiK3cgwVFpZFETyuqsDf7Z4ZhTFX3IPoKJen1lTGoe0Dar8CTtcTZGY8CsZypQUs2JmAVNje0tG9hBdWl1ymFBB68+jrdRmS8CfRtFDGzuvXgoPd1h019eKmbTJkOzjBc2lTbL9Ny3C65el3K4M3jvPP2PAxF8y8OjvKB8tf+pHvIUoe3bdAPaUFRyT5vab1hZKCUUq0v5EJ290J/fzSf7o9USCvZW6OhzfzKL2uTsMfoZje+/YPxM5UAhDfVvEiy8czuFHLjKMoZsyoxrLl4BdoqIQrhJSMn6MRvUu/PhRM/2khbuI2wmeAnvSfH0ByS5NmVOv49VxvZ58RiU80Q==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 02 May 2023 12:01:34 +0000
  • Ironport-data: A9a23://jsZ6CgJ4uPCRVW/wDiw5YqxClBgxIJ4kV8jS/XYbTApDJx0D1Uz mRLDD2BOq6NZ2D8eNgjOtzl/RsGsJOAzNBqQQY4rX1jcSlH+JHPbTi7wuUcHAvJd5GeExg3h yk6QoOdRCzhZiaE/n9BCpC48T8nk/nOHuGmYAL9EngZbRd+Tys8gg5Ulec8g4p56fC0GArIs t7pyyHlEAbNNwVcbyRFuspvlDs15K6p4G5A5ARkDRx2lAS2e0c9Xcp3yZ6ZdxMUcqEMdsamS uDKyq2O/2+x13/B3fv8z94X2mVTKlLjFVDmZkh+AsBOsTAbzsAG6Y4pNeJ0VKtio27hc+ada jl6ncfYpQ8BZsUgkQmGOvVSO3kW0aZuoNcrLZUj2CA6IoKvn3bEmp1T4E8K0YIw3el5WUAS3 t0iKikzcEC9q8uLy5ehRbw57igjBJGD0II3nFhFlGicIdN4BJfJTuPN+MNS2yo2ioZWB/HCa sEFaD1pKhPdfxlIPVRRA5U79AuqriCnL3sE9xTI+uxuvDC7IA9ZidABNPL8fNCQSNoTtUGfv m/cpEzyAw0ANczZwj2Amp6prraXwnKkAdhMT9VU8NZBkFSyxWBICiQkXEu+neuztxOaQOt2f hl8Fi0G6PJaGFaQZt75VhOQqXOcsBoRHdZde8U44gyQzqvf4y6CG3MJCDVGbbQOpMIwADAny FKNt9foHiB09q2YT2qH8bWZpi/0PjIaRVLufgcBRAoBptXm/oc6i0uWSs45SfHtyNroBTv33 jaG6jAkgKkehtIK0KP9+k3bhzWrpd7CSQtdChjrY19JJzhRPOaND7FEI3CAhRqcBO51lmW8g UU=
  • Ironport-hdrordr: A9a23:kpM9jqyLK1sJV/MNO26yKrPwyb1zdoMgy1knxilNoH1uH/Bw+P rOoB1273/JYVUqKRUdcLK7Scq9qBrnnPYfjeZ+AV7IZniChILHFvAB0aLShxfnHDLz7fNQ2J pnV6h7BLTLfD9HpNe/5BOnV9UtxNTC96y3n+LT0mpgVmhRGthdxhY8DhyEVk57QAQDHpY3FJ f03Ls+mxOwPXAMcIC5Cn0JG/LIr9rNlJXpJQQNAQUq8mC1/FWVwa+/CRKfxRcYXXdEyaov/2 7fg2XCjJmejw==
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 02/05/2023 12:33 pm, Olaf Hering wrote:
> Tue, 2 May 2023 09:31:56 +0200 Jan Beulich <jbeulich@xxxxxxxx>:
>
>> How does 2.37 vs 2.39 matter? CET-IBT support is present in gas as of 2.29.
> I have no idea. It turned out, the previous Leap image was based on 15.3, 
> while the current one will be 15.4.
>
> If I run this manually, it appears the error is produced properly:
>
> gcc -Wall -fcf-protection=branch -mmanual-endbr 
> -mindirect-branch=thunk-extern -c -x assembler -o /dev/null - ; echo $?
> gcc: error: unrecognized command line option ‘-fcf-protection=branch’; did 
> you mean ‘-fno-protect-parens’?
> gcc: error: unrecognized command line option ‘-mmanual-endbr’
> 1
>
> An for some reason there is no failure with the refreshed image on gitlab:
>
> https://gitlab.com/xen-project/xen/-/jobs/4210269545/artifacts/external_file/build.log
>
> I will investigate why it failed to build for me.

CET-IBT is far more dependent on the compiler, than it is on binutils.

The minimum version of GCC necessary is 9, but if you've backported the
requisite options then an older GCC will work too.

~Andrew



 


Rackspace

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