From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2080.outbound.protection.outlook.com [40.107.93.80]) by sourceware.org (Postfix) with ESMTPS id 81660386103B for ; Tue, 9 Mar 2021 13:26:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 81660386103B ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=F/Zkb0nH4R+r3TJMBzobg4gOAOCK2QuDjSy3zoL3HwSebIjRfyOiZ5/DP0OQotrkEgEmOB6Y3sae2Ol2rWylTgG3qUqXLj4GnWZhTqUa8z3pRk3+TXzRjfLteI02jHt5/nbIjog/8R/XY8njB7JlV3AI3MUMZLzgTiMp9oTN42fUBp3mYsMJUX9JKtAEn38x2s/iWlx+yP8jFyTVW/8UzoddUxbuiXaMHtc7HCwMarEvr4Ir3oP+ohWGoCSN9trXgVs4eKzby7gOAqtbJ6QmkZECDPTnpIAWjiNosHo9XYdUFYOl/Y9765N9V+72cg6tGoMaPVlZHpSwopKNYKNPEQ== 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-SenderADCheck; bh=RqPX7QAtJYqkPwpfnrc5m3a2ryatT5Iv3IniSdiFznQ=; b=VXVJBPXZCZYp7czCiI7I6F+XeTaJGITTidZTbemUF6tfY+zuBX0T5a0iaoPVihu8Ocy16OrcqszBQvBSbkEjSPoNiVhiD0i2XWG0YINqLGoQtx3qTytJWJVMcD3DHQXHs5RAiZPuvfcaaNsEgcYeH9LLoJpFpZpMye7EVJ5HhX1hI6IihjfP31iFSi7hYVsJrcUiNNfaajlghrpP7BIuMImUGnWuLat8Ks7XyPQuwQJjNHDpYnuBZ3ON06Zhb+eQGRKiRYL2ylrucpD28mYRGrIP8wjUqoX73DM5J5uzMO08W2vWCLuow83UanKqR+foDB743lM85Tnl7yDhb4FXRA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none Received: from MN2PR12MB3278.namprd12.prod.outlook.com (2603:10b6:208:ac::19) by MN2PR12MB3374.namprd12.prod.outlook.com (2603:10b6:208:c9::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3912.17; Tue, 9 Mar 2021 13:26:30 +0000 Received: from MN2PR12MB3278.namprd12.prod.outlook.com ([fe80::bc9f:2909:934c:3584]) by MN2PR12MB3278.namprd12.prod.outlook.com ([fe80::bc9f:2909:934c:3584%3]) with mapi id 15.20.3912.029; Tue, 9 Mar 2021 13:26:29 +0000 From: Sachin Nikam To: Matthias Maennich CC: Android Kernel Team , Ketan Patil , Nicolin Chen , Bharat Nihalani , Bryan Huntsman , "libabigail@sourceware.org" , "dodji@redhat.com" Subject: RE: libabigail tool - Android vs. Sourceware Thread-Topic: libabigail tool - Android vs. Sourceware Thread-Index: AdcRz34gEsYQ7AfUTvGHBH50TFrXMgABkr2AAMRT1DA= Date: Tue, 9 Mar 2021 13:26:28 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_6b558183-044c-4105-8d9c-cea02a2a3d86_Enabled=True; MSIP_Label_6b558183-044c-4105-8d9c-cea02a2a3d86_SiteId=43083d15-7273-40c1-b7db-39efd9ccc17a; MSIP_Label_6b558183-044c-4105-8d9c-cea02a2a3d86_Owner=SNIKAM@nvidia.com; MSIP_Label_6b558183-044c-4105-8d9c-cea02a2a3d86_SetDate=2021-03-09T13:24:09.7291964Z; MSIP_Label_6b558183-044c-4105-8d9c-cea02a2a3d86_Name=Unrestricted; MSIP_Label_6b558183-044c-4105-8d9c-cea02a2a3d86_Application=Microsoft Azure Information Protection; MSIP_Label_6b558183-044c-4105-8d9c-cea02a2a3d86_ActionId=65a39646-e16e-40ee-ab87-4d23b7ec9c5c; MSIP_Label_6b558183-044c-4105-8d9c-cea02a2a3d86_Extended_MSFT_Method=Automatic x-originating-ip: [115.114.90.35] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 1f37742e-88f0-4a54-087e-08d8e2fef2fe x-ms-traffictypediagnostic: MN2PR12MB3374: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: G+azC9Uwv7E0R77BDhWgjwSzZbJkT46izibr01c4n9wLi+MQ/gOpYQ3lYX7gUvuYApdpmKJeX/K0DbSw6PkX7N7F/+DH5LTtry5rWT/cp34CndlJaUiUCOEv8JmQkAmUGiaUSiTrsUIK9dePV3gIdIvpHvo/DgUB1ekTqr1u8eD+tqA7rYwlgMATaQnDLEyD9QQ7WlFmt0ZgVQ8So/lyoqqr8US0M5X05UZ+LmzBPWeBRRtLpnB0iGUXbxK89YL2ClgOcurTMcqYiwEeF0Jwrn5/lrTzYH3F+ZKcWbAMpcx0rLtHpyhRht+mG71bmW/e/FZQ0jeCdYkjlH5wN4blfaZPgPmAmxQ0t2eNXlSG6xdj+tE+n7z0GczeUh1bSjvSYstRbacdEo8fENuTxyOcBoBpiyoWRNzDX/Ga2LchAcWt2+Z+HlbHaGCvfrYC09sBj4eZbzaVOzOp2b3y0uY5WMWK2Lkjqf23Gh2RVoW8QrGvx5zhBqkSMYluIRVTlO0llX8iEy+J+LUGkgLzwu85jqZks1w49E3Rwc7McKTzjc/lJ/kyt13o9uf/3Zm+wYE/8BdTZntA1sjCXc8YgYbboYRIiOG03AwaVNZst3Ik6X4= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR12MB3278.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(366004)(396003)(376002)(136003)(346002)(6506007)(66446008)(9686003)(83380400001)(966005)(6916009)(71200400001)(64756008)(66946007)(66476007)(66556008)(76116006)(33656002)(316002)(186003)(86362001)(478600001)(54906003)(26005)(52536014)(55236004)(4326008)(8936002)(55016002)(7696005)(8676002)(2906002)(5660300002)(53546011); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?/B9kU6V+9kOXw6xO2ANQQldmELxUNgCD5ztLOGeYY+RSbjTlONu/BjoMpRfy?= =?us-ascii?Q?32EMvn7OKrGxH68PVvINXrdWGRUloYOHvwFzvrYksLUyTHMnqWqSKHjk/VK0?= =?us-ascii?Q?xBqWBHnWKRw3vblloy2o9QuBS/A5FtDBhWK9yFpZsR7n+4XZtmW0g+efx0X0?= =?us-ascii?Q?FcG7BCAieh9RViPYJsbh43AZiFiYejctATKQXdVI/L7DNhWfVVNNJzT/dzIk?= =?us-ascii?Q?AHCLD1JP8nkA5OoQs2/6n9dI7hsqDlIn5rPh1ioC+SMJVcNDc0MZ6ar6ui//?= =?us-ascii?Q?kADcylUROo9VOfFX8n9OmdS5W19SBab+s1NMBH+KNtkthhdNzv+H0ltZ6ZzM?= =?us-ascii?Q?7T3SeXniSXB8R58vZGXbfV8X2EMIvlhZRc/8EUKqZX7aDyLIm4kybtNbj26P?= =?us-ascii?Q?xykD5zXAX0PJHqcIPLOCJopcoeLv1lnbyZqj+aeILor2JVJEq2wXe+HX8pJ0?= =?us-ascii?Q?P3Wb+Qc0u/1ltDe//sNU2Q2J1D5kCHUf2pEhV8CMBmuNJpv/XIufWCPuJaSh?= =?us-ascii?Q?7SLV4urg02i2xrNitI91dqxxggdQqL5hw+Hy+5ExUsnPRS+1BvB1WkvuMUsF?= =?us-ascii?Q?9tQRJhggNIDUH5P3YTdJfyTP7IrYZVtCoJ/QyM1V1JiaW57ilSWAc1rBWqTt?= =?us-ascii?Q?Bxpha8qeFIPyyEIayvRsh/ij3/ZBRgvXE5jE7wsLmM145GJqs+2wyvg9R7xZ?= =?us-ascii?Q?CAWbhXTomWiR/vr0QYRRYdCcO4lkEcJnciJpcwYs4Pu3pfktj8Ur/1+DBNsN?= =?us-ascii?Q?dPhRiF10csKCrimXoKYSEilsc1qUQtcvyT7clrnBrtPsSIQc4ySr85uVhSLl?= =?us-ascii?Q?hjkYKaj0R6EwFy8mq5SrSbTfxUdaQzv6Pk1UXbQbCVzWrtjF0sRZyrttVrMh?= =?us-ascii?Q?TSqokoGqtKqoDoZtIxOKlCzmiYTv6wEVm/ESbCRN9TcenVfJc2fOcDxCjW0u?= =?us-ascii?Q?5M/yOdV/kpxm9wu3sv9giw3E7+CQPnfVJtBu1qqc40/rjWQgWxeqO3ewBMzA?= =?us-ascii?Q?TYV8mXFkzkoWgo8e9ard7zGcI5tdW59WuoROWfEgtg/JBnV2jb5ne0j26wU9?= =?us-ascii?Q?JofOByJkv+rdQRpUXU5mIdn2SMmRoDBdVSBH7V7aBgD/DaDZ7rF6fcGYR7JK?= =?us-ascii?Q?v/RJ+oEwf4qkdmKvSKsQ9vZ82Hop4TWFWRgEJQbjo4/c2kImtXSOw55AUv9m?= =?us-ascii?Q?V5Rjc+dk2X24oHGdoKfhc3arPxIRbCO5FPkqI/ulEylyN+KpJ0Sd5TN5oXag?= =?us-ascii?Q?wGNbWRS4jc3N/C7yI1IXPjYNBtX2lKzJ7+516m2c2Q+68+RiGlwrSPG+j1g4?= =?us-ascii?Q?FmYyo737ELCuuZpE6fuJDo7C?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN2PR12MB3278.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1f37742e-88f0-4a54-087e-08d8e2fef2fe X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Mar 2021 13:26:29.2074 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: w1IDQ2Zzj5YV2bg6Owl3XyyxTfP3Qoq2gbLeJIzhkH0Hdc0JgfpsDJ7xgVEbaDN2W/VicPC5TtRNMonAnWxWXw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB3374 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libabigail@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list of the Libabigail project List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Mar 2021 13:26:38 -0000 Which libabigail tool do you recommend us to use to monitor and enforce ABI= : from https://android.googlesource.com/ or https://www.sourceware.org/libab= igail/ ? -----Original Message----- From: Matthias Maennich =20 Sent: Friday, March 5, 2021 9:10 PM To: Sachin Nikam Cc: Android Kernel Team ; Ketan Patil ; Nicolin Chen ; Bharat Nihalani ; Bryan Huntsman ; libabigail@sourceware.org;= dodji@redhat.com Subject: Re: libabigail tool - Android vs. Sourceware External email: Use caution opening links or attachments Hi, Cc: libabigail@sourceware.org, since you asked there first. On Fri, Mar 05, 2021 at 02:57:49PM +0000, Sachin Nikam wrote: >Hi, > >I want to know how much android=20 >libabigailaster/abi/README.md> tool is diverged from=20 >https://www.sourceware.org/libabigail/wiki > >What are the enhancements or bug fixes done in android libabigail to= ol from sourceware tool? It is not too much different actually. The biggest chunk is the replaced sy= mtab reader implementation. For the clang-built Android kernels with LTO/CF= I and some more interesting features, we needed to rework the (k)symtab rea= der. The patch series has been posted and is currently up for review, see h= ttps://sourceware.org/pipermail/libabigail/2021q1/003089.html. Those are alone 20 patches. Here is roughly what we have on top in https://android.googlesource.com/platform/external/libabigail/: Android specific patches for integration, compliance, build: 3e7ace7f4dce Initial empty repository # empty 7d03a8db4b76 Add metadata files c4c81432a780 Add support for external_updater automatic updates a1a321d23b91 Add soong build description for building abidiff and abidw 03dcda4bebc0 fix build for abidw a28258465e4c Limit to 64-bit binaries. 4d5ac23a458d Disable libabigail for darwin. 16afa280a204 Drop unnecessary upstream files that impose RESTRICTED lice= nsing 6b3d6ad6fa31 Add LOCAL_LICENSE_KINDS to external/libabigail Alternative Symtab reader: 5f49f81f2850 abg-cxx-compat: add simplified version of std::optional 204eaf651a17 abg-ir: elf_symbol: add is_in_ksymtab field bda7f9443f09 abg-ir: elf_symbol: add is_suppressed field 8adb9b8ee052 dwarf-reader split: create abg-symtab-reader.{h,cc} and tes= t case 66d2bede37c6 Refactor ELF symbol table reading by adding a new symtab re= ader 5a745592194d Integrate new symtab reader into corpus and read_context 97308e77a945 corpus: make get_(undefined_)?_(var|fun)_symbols use the ne= w symtab cb24effa3948 corpus: make get_unreferenced_(function|variable)_symbols u= se the new symtab 4b5a95c4a5f3 abg-reader: avoid using the (var|function)_symbol_map ab9401599724 dwarf-reader: read_context: use new symtab in *_symbols_is_= exported 4d7075fd0b22 Switch kernel stuff over to new symtab and drop unused code 76e19dbc66c8 abg-elf-helpers: migrate ppc64 specific helpers 96872a3abb46 symtab_reader: add support for ppc64 ELFv1 binaries ede9a107a71f abg-corpus: remove symbol maps and their setters 4dcbf6520983 dwarf reader: drop (now) unused code related symbol table r= eading a4015cf2f9ef test-symtab: add tests for whitelisted functions a82212c4152f symtab/dwarf-reader: allow hinting of main symbols for alia= ses 51bac872c0bb dwarf-reader/writer: consider aliases when dealing with sup= pressions 7ac9bb8f1181 symtab: Add support for MODVERSIONS (CRC checksums) 1b4e95ec43c2 abg-writer.cc: fix write_elf_symbol_reference loop c1db8a7be692 abidiff: better whitespace in symbol diff report Misc additions and fixes: 7e7a9979bc8a KMI Whitelists: allow alternative section suffix 'symbol_li= st' 3b707b3e8e13 abidiff: Flag indirect struct/union changes. Cheers, Matthias > >Best Regards, >Sachin Nikam. > >-- >To unsubscribe from this group and stop receiving emails from it, send an = email to kernel-team+unsubscribe@android.com.