[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v1 3/4] livepatch-gcc: Ignore buildid.o
- To: Mihails Strasuns <mstrasun@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Ross Lagerwall <ross.lagerwall@xxxxxxxxxx>
- Date: Tue, 14 Feb 2023 11:31:50 +0000
- Accept-language: 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=fEX09fzVnZGqu5Ho97SVYzx65sIOveKJBv+xWIb5Trg=; b=D0WdWPCSZoIvRJXqvFwhexgqEu7LjCjQEhvV0Gbv06eBSyXj3Hov0vWqt0o750dn47hyJ4/r0zDEUjvgL+IoOqLE2nrntwB7vFYs5go7W283ba+1CW8vLmpKUXdXUhvTToxOlEaA1WsIV9iOfMdPHbALI6kOx9FVliQvenjn63GfdeLF11itZS8MDlpD1gzwMFTr6VqATY+EjiHRzoVvMdWE05BATmexdRnvII36gdlKalDhfmkEevbM3AVzvgTHDeu+fWx4q2yMLuCJdK1j26OKUEO3wAkzq3p1y0GG1qjt4wiV3wEsHZG7paY/ZSHkPITahqEpodhYf2FDW0pYVA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LOZYiR52uNQwiq2tEirwu9gy01ue7Q88XcG9qPKE2vYmlb1JDXuIMg8gjoKLD/v+JlE7dRTYLDQTUI2tUBapwSRJVyFSJZ2OwaGTwZv43F7iRp9UKuOPuQRjLgcaIeru0lI0Wa75vL+HWzFCK3UKDsxesjeGCA0vMDJTcdmcQsA3m26sCayX89Ol7m856PDqaqWsnrJHLA0hlv0M7JV1K+iad6LTMqxrs65YDTdJJDWpVeDvsmxSIzTLQK0rGzkpRJHaFrkCAXEqZ/FQnedWsUUhIqpoadZb2zH8MxFEqMRYvJ+VIN0jkXtwo2Y6rXr5x5PidsbSgW7yfejZTK8aGA==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
- Cc: Raphael Ning <raphning@xxxxxxxxxx>, Bjoern Doebel <doebel@xxxxxxxxx>, Martin Pohlack <mpohlack@xxxxxxxxx>
- Delivery-date: Tue, 14 Feb 2023 11:32:17 +0000
- Ironport-data: A9a23:FHM6TatJBYLUliIfeS0qLXzNzufnVItfMUV32f8akzHdYApBsoF/q tZmKWuHaP+Camakedolb96y9U5X68fWmNE1SVNp+3g3H3gU+JbJXdiXEBz9bniYRiHhoOCLz O1FM4Wdc5pkJpP4jk3wWlQ0hSAkjclkfpKlVKiffHg3HVQ+IMsYoUoLs/YjhYJ1isSODQqIu Nfjy+XSI1bg0DNvWo4uw/vrRChH4bKj51v0gnRkPaoQ5AWHyyFMZH4iDfrZw0XQE9E88tGSH 44v/JnhlkvF8hEkDM+Sk7qTWiXmlZaLYGBiIlIPM0STqkAqSh4ai87XB9JFAatjsB2bnsgZ9 Tl4ncfYpTHFnEH7sL91vxFwS0mSNEDdkVPNCSDXXce7lyUqf5ZwqhnH4Y5f0YAwo45K7W9yG fMwA2wuPg+/veaKy6OadsttjM8IEpeoI9ZK0p1g5Wmx4fcOZ7nmGv2Pz/kHmTA6i4ZJAOrUY NcfZXx3dhPcbhZTO1ARTpUjgOOvgXq5eDpdwL6XjfNvvy6Pk0ouiP60aIK9lt+iHK25mm6Co XnduWDwDRwAK9WbzRKO8262h/+JliT+MG4XPOzmraMw3wXJroAVIAwvFgK3iMmWsVyFAe4AM GIIxwUH9pFnoSRHSfG4BXVUukWsuwUAQdNLDusS4QSE2K3SpQ2eAwAsXjNHLdArqsIybTgrz UOS2cPkAyR1t7+YQm7b8a2bxRuoMDAVK24EagcNSAIX5N+lq4Y25jrDSdtpHaqdh9j8Czb2h TyHxAA7n7ITiccA1I2y+FnVhDTqqpWhc+IuzgDeX2bg5AUmYoegPtSs8QKCta4GK5uFRF6cu nRCg9KZ8O0FEZCKkmqKXfkJG7aqof2CNVUwnGJSInXozBz1k1bLQGyayGgWyJtBWircRQLUX Q==
- Ironport-hdrordr: A9a23:+0nZa6sgaaD2cBxiPR4DBNSj7skDzdV00zEX/kB9WHVpmwKj9v xG+85rsyMc6QxhP03I/OrrBEDuex7hHPJOjbX5eI3SPzUPVgOTXf1fBMjZskDd8xSXzJ8j6U 4YSdkBNDSTNzhHZLfBkW2F+o0bsaC6GcmT7I+0854ud3AJV0gH1WhE422gYyhLrWd9a6bRPa Dsl/Zvln6PeWk3cs/+PXUMRe7Fzue77q7OUFopBwMH9ALLtj+j6Kf7Hx+Ety1uKA9n8PMN8X Xljwe83amos+i6xhjAk0ff4o9bgsGJ8KoyOOW8zuYUNxTxgUKTaINtV6bqhkFMnN2S
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Msip_labels:
- Thread-index: AQHZK+7vqwIB+XQ8EUuEjmznQnPAUa7Od5Ne
- Thread-topic: [PATCH v1 3/4] livepatch-gcc: Ignore buildid.o
> From: Xen-devel <xen-devel-bounces@xxxxxxxxxxxxxxxxxxxx> on behalf of Mihails
> Strasuns <mstrasun@xxxxxxxxxx>
> Sent: Thursday, January 19, 2023 10:13 AM
> To: xen-devel@xxxxxxxxxxxxxxxxxxxx <xen-devel@xxxxxxxxxxxxxxxxxxxx>
> Cc: mstrasun@xxxxxxxxxx <mstrasun@xxxxxxxxxx>; Raphael Ning
> <raphning@xxxxxxxxxx>; Bjoern Doebel <doebel@xxxxxxxxx>; Martin Pohlack
> <mpohlack@xxxxxxxxx>
> Subject: [PATCH v1 3/4] livepatch-gcc: Ignore buildid.o
>
> From: Raphael Ning <raphning@xxxxxxxxxx>
>
> Not all .o files generated by the Xen build need to be passed to
> create-diff-object for analysis. The latest example is:
>
> Run create-diff-object on xen/arch/x86/efi/buildid.o
> Open base
> /usr/libexec/livepatch-build-tools/create-diff-object: ERROR: buildid.o:
> kpatch_create_section_list: 77: elf_getshdrnum
>
> This file is special, as it does not contain any sections. It is
> generated by objcopy from a magic string of bytes (see Xen commit
> eee5909e9d1e x86/EFI: use less crude a way of generating the build ID),
> which probably will never change. Therefore, livepatch-gcc should not
> copy it to the output directory.
>
> Signed-off-by: Raphael Ning <raphning@xxxxxxxxxx>
> Reviewed-by: Bjoern Doebel <doebel@xxxxxxxxx>
> Reviewed-by: Martin Pohlack <mpohlack@xxxxxxxxx>
>
Reviewed-by: Ross Lagerwall <ross.lagerwall@xxxxxxxxxx>
|