Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2150698iof; Tue, 7 Jun 2022 21:26:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJznJwX8heqzuBPqzSMcQHVppHLejObcoLR/jOjCcUSYTRidbc3MdLW6CjkiMl7ZSrGslFQ9 X-Received: by 2002:a17:90b:1b46:b0:1e6:83fe:1bb7 with SMTP id nv6-20020a17090b1b4600b001e683fe1bb7mr34516453pjb.0.1654662404282; Tue, 07 Jun 2022 21:26:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1654662404; cv=pass; d=google.com; s=arc-20160816; b=ZJQgZqE/lo/cdxVelLwKR2TDXZ1js3rer2MDPa+d7xOzLjOYavS/6/eCkmQ6qLh0KY SvEDT7eNNPwrQ7BWvq53HRimZl++DlrmxZz4WRbydmqHo9u8FfTgqrCD9zZH8FskB8Mc e/X53fW9QXQLxi2P+Lx91+NGOXMDUc2hsrb0vrjWsG30pLlp8qE7x5UMljRmnUS2P7hI NafyK8cqInav4Ankrm30HfNBaqKqadlwFBfrkgn6p0F5805qijOZAOhOoqiDdC5sNr/O ijk4ad6bNDwucQpAykaEIyFC/p9SIlqTfNm9Y4uIY26X/zKkpYckJq95t7hwz2rOn2IB mtig== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=ps+FaLi0vTvZSBlMABCzNkT4Y9HsONlF3qAtsnX0xBE=; b=Mp7T3hZ1m9qyEaWLOfFLmY/+9rlTYXLiGK168v6V0HYQ2Qs+zefqxC5WVxbAv7/ZOI 5HU8GviQ3/wCnrklibD2xzmpuy22egA2XVrnGgUc0Cn4csUB6QIWlSQXgBxGnIg306dy 51PFn2gR50KytYbRWblMYEu72FcfmUiHjBnJd42wHtKawYfP+forcQuezL8SyLeGu33M u88pNLqt1mYPISlBatR4yhN7+efBMQkHe8uS/wLQOl/5AznpY7q7CxkJefaONic/tSc6 tKtwmAlefTwR9k1iTuSQSXHYHCW0PBoNBbx/6QrzvjTqEi8c3p23eeRL+yPQikRwwOUc XbSA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=KR2RWHWs; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id w2-20020aa79542000000b0051bac3bbca0si25766743pfq.174.2022.06.07.21.26.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 21:26:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=KR2RWHWs; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B263C235B15; Tue, 7 Jun 2022 20:56:43 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245585AbiFGOeZ (ORCPT + 99 others); Tue, 7 Jun 2022 10:34:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35198 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245575AbiFGOeS (ORCPT ); Tue, 7 Jun 2022 10:34:18 -0400 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2075.outbound.protection.outlook.com [40.107.220.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD1267665; Tue, 7 Jun 2022 07:34:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nolqmJiOtunHCuRs8kRUOJlMA5si3cOvCaCyg67zDn8UzW/TF2Hl6Qut+kZs4Wn1vg+JA5HwIrmmI1SJwvKOkQ1O1qxtttlCJ9F87QNXD7ePezYCI+2kWTM/FMvgfh8pUHqJE7pnWjFRscSd5s7bHXHHG8kK+wuuZBWsiLN2WMfSiCELU2N9b4j4Dp6I0VzBKGw5k5viwpNbJaY0ad8KDyKXTd2RhCQYLO9Fq/e6gZRGuoUns4NuJwFNfxpMc5xXk21bAhnZQh5xFVQgNhQfd0g3ZGaKmUzPCNjp0mqeJXQR56lNHX5o5+H8lsXSuMa23b2YkGeJ1FeIgyz6anMOPg== 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=ps+FaLi0vTvZSBlMABCzNkT4Y9HsONlF3qAtsnX0xBE=; b=jrEl1RACEFE/4xQss1JNePegVZLpte7oqgyZH17BtZQAjPDqO6VIM8Gn66SVn6QVR1o46JHLGlY0Qo3xnm7VKsai9414+bwRghjbCpEdcJ1IsPr8wETbNy9W7RWEWnbByVfh5dG5tpCW6lstRBnhjjVx5TJVQsmpDRp20PqB5e9n84mVT1mdnrJd8TwqHvdj2GI9meIb6WmNZEs2bgj6QMYpG74H1mSDrU3ODjjuv0Nk2h8/+g63VjA52m2KqM5SzExRHlTW6ZRe6Y9ZBMqNeHFoVBrp7f+ukTWCmWIw/TO9CpTCWNaNt0TsReZmX+QP5YXr4FD5zgwVrcius5gLPQ== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ps+FaLi0vTvZSBlMABCzNkT4Y9HsONlF3qAtsnX0xBE=; b=KR2RWHWsu0VRr8PC3l3PSaA4oYs8sw6Ov+9ONuSsxJpwFi7I9+cEMQXbccG04gFNMXo6XBM59hA8TP2a6Fo7kjTaPg9vdCLp5CDMh9+6bUolFw0yhawECmGiux2lrmSwKobtTHd+Wp9+HwYo+3bvbMqEpgGqYcJD/PRPIZr5jWZS0yUxyb7FCBeaiz88pO5UD5f1GEr3O1upF0qcPQlQV4oZAlBmX0XUVeVCSij/ztel6lGYsASdugq3TW+ImPfZBk8xPc/pNZ/Wdzyra1CLmxMH5p1bWkG853FB5PHGAby9ifJhqf7m1UxKqwGE7De4eHHOBy6RRRPwuhrjcG6TIw== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; Received: from CO6PR12MB5444.namprd12.prod.outlook.com (2603:10b6:5:35e::8) by BYAPR12MB2725.namprd12.prod.outlook.com (2603:10b6:a03:6b::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5314.18; Tue, 7 Jun 2022 14:34:13 +0000 Received: from CO6PR12MB5444.namprd12.prod.outlook.com ([fe80::f954:6840:ce82:c54f]) by CO6PR12MB5444.namprd12.prod.outlook.com ([fe80::f954:6840:ce82:c54f%4]) with mapi id 15.20.5314.019; Tue, 7 Jun 2022 14:34:13 +0000 Message-ID: <4ed1d46f-9fd7-5db5-57f8-69d75d8020e9@nvidia.com> Date: Tue, 7 Jun 2022 15:34:06 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH v6 06/10] kbuild: check static EXPORT_SYMBOL* by script instead of modpost Content-Language: en-US To: Nathan Chancellor Cc: Masahiro Yamada , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Nick Desaulniers , Nicolas Schier , Peter Zijlstra , linux-modules@vger.kernel.org, llvm@lists.linux.dev, Ard Biesheuvel , Sami Tolvanen , "linux-tegra@vger.kernel.org" References: <20220513113930.10488-1-masahiroy@kernel.org> <20220513113930.10488-7-masahiroy@kernel.org> From: Jon Hunter In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P265CA0011.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:2ad::19) To CO6PR12MB5444.namprd12.prod.outlook.com (2603:10b6:5:35e::8) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c6580ebc-117c-40f5-62e5-08da4892caf9 X-MS-TrafficTypeDiagnostic: BYAPR12MB2725:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: napM/rB5JvZcQIvzHciKxaTWL56ueibnmtLwdtvPRvtqY8StztIBnEe06fs+UbpNBCNbaToH7BgMvPLXTXQ341G8Cd4KGEFuphNAupU7F9GCwCXMS7ENyD+/E2GVuMjkB6eE29E9s1gjJZ6WBItd2zjkfwm7F/FJjn8J5GDfhgzPA/So99lptatsPUB/5webD8RfpizSnRZVK4WbH5MvYt2efG9t2IeFN2ofBf/hlZj6q2N6sMUXH+CgIYlpBPF/gGfWFuyEKl0rXdBkphF1okL6ShYYx212vbio824PRufkF3nbTjv/VDAOSHgubj5FKLKYagWF8QxlVTNL+a+0dSwHwpMW6FMs/+1uK99OHyj7KACxGFyAl9sBdl3BsnR/eQzyLe6sVW5JP0pNq+JGKjgwsegGOTwT2d5ivb6/iu8lj/NfbI2Rw5dWItuMNJxjPUm6VTCdVlMJE4g+6R3RllRzyY1nV6Rbek4HecC5WUMGsQ9rtMN8f0bp7QRgkeyom878MpPcx6Myx1IhiLrS4WOvVsWV4vvtfbiU0qO3Yfo7c0rxAz+3z3YgYyZrrFSkZEKkPxEH9mVNO8uYqoTKYSbL0pfS5cpBtMWy1JYC7bcxniAd1Tr7pZZMxUe9HY5I8q7aaCRCeksRJ/czf6uJSE9xycwPhrn7CtXxqapq+PL3AnbDSb9krFF67c3UbvTgQpYaaSGLg1iS1lUnnMWi8otMVHCInN4rSKXlo/HJM2IJPG7TEn8yCrVXsT1S8GNBd6hw2urEKT5lKVtqvgZmL4eh1W3AO3j6t77OqjWqiJtBzQq/HhCWkgTEnP/7wYXzEbLUrWeQqq+0a/8ZTjrBAA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CO6PR12MB5444.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(36756003)(55236004)(83380400001)(86362001)(31696002)(8936002)(38100700002)(508600001)(8676002)(6666004)(31686004)(6486002)(4326008)(66476007)(66946007)(66556008)(7416002)(5660300002)(54906003)(6916009)(2906002)(26005)(316002)(186003)(6512007)(2616005)(53546011)(966005)(6506007)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?dm05UlVUc2pjUVMvZ3E4UmE4Q1FyQ0dIM3pieFZWdHRHSXg5aDVzRnMyNHRX?= =?ut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wOElmQkdKWVJYRThjRTlWS2RRd2crWjVmVHdl?= =?utf-8?B?OFY4UWdzMU03VS92UVNuV2o2cWZobmdKcXVOeE9FOG5heHRrYjc4WE1KdHds?= =?utf-8?B?bzFQcGVSMVp4c3BTZlBtVFZnL20xVjlZaWZzZ3RvMElJRDhXV2dvb2c0QWZC?= =?utf-8?B?VHIxMXQ5YUFyeFNCKzQrSEFCT3BQdUlZR2VSTm1HS0lwekZkVEFPMFNRQ1Aw?= =?utf-8?B?cXZKdTROYXhjaU56V29GTXdVeWcwb2huZ01wd1ZyT2pQZm9UeGU1SzNsYTNK?= =?utf-8?B?MVV5YmtIb0NNSXJCeGc0bnM2eVJBUlZGWElKUWo5M0xmRmRzekNIcGMrL2g1?= =?utf-8?B?SjIyRkFoUzhxS0swcFVBU2UzUlB2NnA3TDdvdXdmTHk3STd0bkROTXg0c3A4?= =?utf-8?B?T3R1ZVVnS3hLcG9qeS9EV2pSR2NiRW53UzdnOGZQWmJ4UHRkL0tGYXltdzVO?= =?utf-8?B?N1ZPMFJtOFBNcUdMeFVaVlZVOENHdDhzOEZCeXprRTVVL3VIVnhYNmoxMk0w?= =?utf-8?Q?aS8ZM+yKLcq1hKdg=3D?= X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: c6580ebc-117c-40f5-62e5-08da4892caf9 X-MS-Exchange-CrossTenant-AuthSource: CO6PR12MB5444.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jun 2022 14:34:13.6684 (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: fiMQO4B0dgEIeaXUTY44jlZBNkp+IpvH1yVD0GMBnLUFwRDs+9GiZlAeu5znclFQ3vRls2UmKxJO5Z+hgsUkFw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR12MB2725 X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/06/2022 15:25, Nathan Chancellor wrote: > On Tue, Jun 07, 2022 at 03:22:21PM +0100, Jon Hunter wrote: >> >> On 13/05/2022 12:39, Masahiro Yamada wrote: >>> The 'static' specifier and EXPORT_SYMBOL() are an odd combination. >>> >>> Commit 15bfc2348d54 ("modpost: check for static EXPORT_SYMBOL* >>> functions") tried to detect it, but this check has false negatives. >>> >>> Here is the sample code. >>> >>> Makefile: >>> >>> obj-y += foo1.o foo2.o >>> >>> foo1.c: >>> >>> #include >>> static void foo(void) {} >>> EXPORT_SYMBOL(foo); >>> >>> foo2.c: >>> >>> void foo(void) {} >>> >>> foo1.c exports the static symbol 'foo', but modpost cannot catch it >>> because it is fooled by foo2.c, which has a global symbol with the >>> same name. >>> >>> s->is_static is cleared if a global symbol with the same name is found >>> somewhere, but EXPORT_SYMBOL() and the global symbol do not necessarily >>> belong to the same compilation unit. >>> >>> This check should be done per compilation unit, but I do not know how >>> to do it in modpost. modpost runs against vmlinux.o or modules, which >>> merges multiple objects, then forgets their origin. >>> >>> It is true modpost gets access to the lists of all the member objects >>> (.vmlinux.objs and *.mod), but modpost cannot parse individual objects >>> because they may not be ELF but LLVM IR when CONFIG_LTO_CLANG=y. >>> >>> Add a simple bash script to parse the output from ${NM}. This works for >>> CONFIG_LTO_CLANG=y because llvm-nm can dump symbols of LLVM IR files. >>> >>> Revert 15bfc2348d54. >>> >>> Signed-off-by: Masahiro Yamada >>> Reviewed-by: Nick Desaulniers >>> Tested-by: Nathan Chancellor >> >> >> One some older build machines this is causing some builds (ARM/ARM64) >> to fail ... >> >> /dvs/git/dirty/git-master_l4t-upstream/kernel/scripts/check-local-export: line 54: wait: pid 48433 is not a child of this shell >> /dvs/git/dirty/git-master_l4t-upstream/kernel/scripts/Makefile.build:250: recipe for target 'scripts/mod/empty.o' failed >> make[2]: *** [scripts/mod/empty.o] Error 127 >> make[2]: *** Deleting file 'scripts/mod/empty.o' >> make[2]: *** Waiting for unfinished jobs.... >> /dvs/git/dirty/git-master_l4t-upstream/kernel/Makefile:1285: recipe for target 'prepare0' failed >> make[1]: *** [prepare0] Error 2 >> make[1]: Leaving directory '/dvs/git/dirty/git-master_l4t-upstream/artifacts/linux/arm64-defconfig-jetson' >> Makefile:228: recipe for target '__sub-make' failed >> make: *** [__sub-make] Error 2 >> >> Any ideas? > > https://lore.kernel.org/20220607084317.211785-1-masahiroy@kernel.org/ > should resolve it if you wanted to give it a test. Thanks! Works for me. Tested-by: Jon Hunter Cheers Jon -- nvpublic