Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp89117lqh; Mon, 6 May 2024 12:09:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVWH4WeDql1UIvCJJpADH/RImgPThAUInYo3VWybodhlQaAw01Ri6M45l8Bu8jVowS30ZYMGyBHhabmqsGLPNStaYnyFlG18/D984Sztg== X-Google-Smtp-Source: AGHT+IE3uAZUhUjCUT/X86O8o3Qgn7NIyYIgSvFKRjT7Zg33oa7Mmo0dHq6o6f29AsohlhBp+mTv X-Received: by 2002:a05:6a20:9155:b0:1a9:c80a:c152 with SMTP id x21-20020a056a20915500b001a9c80ac152mr11549207pzc.21.1715022596375; Mon, 06 May 2024 12:09:56 -0700 (PDT) Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id c4-20020a637244000000b005dc956c2c15si8482456pgn.70.2024.05.06.12.09.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 12:09:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-170323-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=tYYu7yJS; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-170323-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170323-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 9DAA9B21BDD for ; Mon, 6 May 2024 19:09:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2BE06158DDE; Mon, 6 May 2024 19:08:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b="tYYu7yJS" Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2058.outbound.protection.outlook.com [40.107.244.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 962D7158DC4; Mon, 6 May 2024 19:08:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.244.58 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715022536; cv=fail; b=k8+1PXlZmNrNtBB48AQPFCAUH715Wd/HexNQoYW15slBD7y6+vl0ljZ0uQ3aftAikrKs3jxd82z5takQ/p3kLjSonwDoYljZ0bDJ3p8PBxovCSGRrvnlf23OJ4Rw8YZDXQ3fzKQC8a34vmtI5qBlhtceKWEvtEK/1YwLG0TclSs= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715022536; c=relaxed/simple; bh=MHFLc+wkGfCsO/IbofmyO0en7lxERUTnEmrUiVCgPGc=; h=Message-ID:Date:Subject:To:Cc:References:From:In-Reply-To: Content-Type:MIME-Version; b=nG1H8qgJaFxTkx9pxI26W0txqaG+au+7ngOxbuaHO2MwhjeE6Gd0GsrHo3niK1DecnfLOCJISxXmPl0KKtBg4oKHa1tc7hxO1XL3oOra5exPSpS5o+tdIwvx6bXzP14DYLDl9b9dlLCNHTBfgExtjSqca3/mmIl3VJDYmPTmRHk= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com; spf=fail smtp.mailfrom=nvidia.com; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b=tYYu7yJS; arc=fail smtp.client-ip=40.107.244.58 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=nvidia.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MCqkVKUPkBF6sJhP/KeSc31yjQ73/0E290L0PKnuFd4Dp02XVtEWLef4SjJRdTPOUlm6xGIa4oq9+iJ5TRG+KnGH4hyD4GpdUtR3eRxINGIOYM0UKC6jj/xyu4Ak4X17AumVKPHGZBXyd9oJCe/eoK8ElPHR2fihrU6K5UQEYiTWdVPmrHMJnOZOm0X5pbXh37CR/o4XTjba2ytRjPmo+sGFELUT9fKGQ6uehnZB4k6VHlv+h5lUlsTLX64xrSmdWtAi2yhn4gQfPmFTttLRXaBNaF1dTDl5TgfzJJwjokuCRT7Egu7tq0p3x0sWTL37Nc5o1W4Y139tLqT4ni7Mmg== 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=RF6R9Dv58rdqqR0tPk4qRq3YPuNoO3Gre6afZuMBIcw=; b=InykGEOhepajALqYQvueU+NIk/aiqqvk2OFUxSB2ssX0EdagRLmzF8JiY0okxeyYTQcTPZEcqmhi8PU7AZBRkUolk+nG3cU9V5JoQ3fXLbxYpyYHT0LgtQtFmUGQC8jE59d76zuuNOIjX90cdneT4rbvgBcfumxxNupAR/DM98JnuLOnPIM8NdyoV1hFvJD4cMGwcR3DfkK8FrGTzev5KZbDb02OjuLTINVtsTMBFLFV4ncYeQbYlmR0D0sFxQPfVFlgmNyxakgIaRrG8rYpeR6ZyowHqg6Cqh9CVuhmaeBNnsoZX+3qSvPU21G943guz/WzQmoWBQHZ58mTzKVfFw== 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=RF6R9Dv58rdqqR0tPk4qRq3YPuNoO3Gre6afZuMBIcw=; b=tYYu7yJSf11dyoJmeIFsSkEqygFUec0DapL3anxxdWlWa4obANxXXxCdBVKnPFr28ncZ1GKwRKOYoA7yZbk7URzcFE+2trWpZKaJZf6WFPV7Vk7HBH/hGlLrefa9exqV0u1pDh0NLetfgfVnUEWyCNbD7HHr1U4o2CItSpW8ohkubU1U8T1YNvI7DGFnxa14DVUwlH5nsCvWcWBzwjEQbdipTVNASoYBVUENabir1ixarh8Pr9SPk0Mm9A6qzLG3znfJxHSjCDTbDGBLAnclYeC378oJg2cicwuT3i08t7WFBmwKVnPP5K7NQVC6mzmknMAO5G1aAd+PfVt1AYRzUQ== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; Received: from BY5PR12MB4130.namprd12.prod.outlook.com (2603:10b6:a03:20b::16) by SA3PR12MB7880.namprd12.prod.outlook.com (2603:10b6:806:305::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.41; Mon, 6 May 2024 19:08:51 +0000 Received: from BY5PR12MB4130.namprd12.prod.outlook.com ([fe80::2cf4:5198:354a:cd07]) by BY5PR12MB4130.namprd12.prod.outlook.com ([fe80::2cf4:5198:354a:cd07%4]) with mapi id 15.20.7544.041; Mon, 6 May 2024 19:08:51 +0000 Message-ID: <1ff60e91-ac20-476b-a83e-8f9f2f797eb4@nvidia.com> Date: Mon, 6 May 2024 12:08:41 -0700 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] selftests/exec: build with -fPIE instead of -pie, to make clang happy To: Kees Cook Cc: Shuah Khan , Eric Biederman , Muhammad Usama Anjum , Mark Brown , linux-mm@kvack.org, Valentin Obst , linux-kselftest@vger.kernel.org, LKML , llvm@lists.linux.dev References: <20240504022301.35250-1-jhubbard@nvidia.com> <202405061007.F1A46E89@keescook> Content-Language: en-US From: John Hubbard In-Reply-To: <202405061007.F1A46E89@keescook> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SJ0PR03CA0184.namprd03.prod.outlook.com (2603:10b6:a03:2ef::9) To BY5PR12MB4130.namprd12.prod.outlook.com (2603:10b6:a03:20b::16) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BY5PR12MB4130:EE_|SA3PR12MB7880:EE_ X-MS-Office365-Filtering-Correlation-Id: 1afdc90e-200f-4de1-28e1-08dc6dfff71e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|1800799015|366007|7416005; X-Microsoft-Antispam-Message-Info: =?utf-8?B?aFc4Tk1PTjBUQU8wVTVlTDFxejhETnA4NkU3R1ZDaEorV2tnMEN0RytwdzJw?= =?utf-8?B?aW5IWG1kckxoWlNPTnBDYXpUQXBEdStuUndDTXRHVjQybGQ5VWxhbnBiODJG?= =?utf-8?B?MkdaWEM3RVdsWWZOTDU1UUgyQ1ZSemVITXh2clM0SjBVVlV4bk9iUXRkNXNR?= =?utf-8?B?TnF4RDF1SXBUOFRBOVdNd1oyNFZsazlDcDVZaFFPZnY5RVZhMlc3U2VhSnJz?= =?utf-8?B?eEFXZFJYR0xBTkhycDNHY2hyNGJwNXh5WWdwbWZUSnE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h5ZCt4QW44NWFsMHFCaHlCeXhFMlorK1F0cjRRdFpN?= =?utf-8?B?UU1xa2ZXKzZFVWVnc0YxbDRpZ0dxRkRBeEU4QmxjYWlkcXZZN0x1ZHJUcWc1?= =?utf-8?B?T0pBU3lCT1pRUGJpTEFWdTlSU1dCMmp1MWZzMk1JQ2JUMmNUS01EUlpqTjRw?= =?utf-8?B?T3FlMy8wZ0ZQTzViWGt5ODhTR2xTQ29pZUxXQVV5akdQWTBZdW1ZWnAzNUlN?= =?utf-8?B?SUFBa1JQYXdPT2NyNDRyT2I4YXRpM2NrajF1THV4SWVCYVpHRDNWb3locysv?= =?utf-8?B?cU5KdWhCeTB1NXVVWHZ5eXpza3dRdnpTVGE5bGpRRWJSZzk2M0tONVFZcmlZ?= =?utf-8?B?Vi92dmNhTVRtNWFtWXNvdGtZeHRxd2Y1NWFGN1Zsdkg4U3hxUlY0REVrZnZT?= =?utf-8?B?S1VvZEVWMUdVZjJKWU4zZ0ZlVjVtbkJNNTJ6WHJVZmh3N3ZMT2VpelEyZGFm?= =?utf-8?B?V2liYkRhRVF0UWRuM3FiM2NiWEtMZXNyVk1kYndCRU1yK09EYmtYTTYvTjVJ?= =?utf-8?B?NWpJWFJrYlZZbmNqZzFyR1dvRjh0bGsybXB2QXo3blF2T1RvcmllZmRBPT0=?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BY5PR12MB4130.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(1800799015)(366007)(7416005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?TXBYbWNUcktJelU0TkRxd0s5YzBiMnJkQ25iNmhUTHdPVHkwVEw0MmpOQk93?= =?utf-8?B?LzRKT0w2SXRZVXorYzhkTWgxVUJnSStSU3NtYXNWOFFMOHVNNFM3RmRLSzJq?= =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a0diQ1hlSkJ0YmlVQWtI?= =?utf-8?B?UzNxL25pclBIWEs0T1JDZFFiUlNqMld3cmNDak1zSVdzQWw4b0JuN2xRTTFk?= =?utf-8?B?SDUxT3VBY2lJUGxjU01rUnE4S0FMVGRJTXpNUjZmblhjSVEwTU1RMmxDbmNI?= =?utf-8?B?d1AvQzJ2NXM0eXdwTXM3U1hpMTN4NUYzcHB4OEdxVUsvUmVrYkZraThEZVNR?= =?utf-8?B?N0F1aGN2dDdVSUF1SUpKaHF6aWhFbWdXL3ZzZHRPQ2hqdG9OK2NKYW9NbXZt?= =?utf-8?B?K2c9PQ==?= X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1afdc90e-200f-4de1-28e1-08dc6dfff71e X-MS-Exchange-CrossTenant-AuthSource: BY5PR12MB4130.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 May 2024 19:08:51.0997 (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: a8e56/MZSVPSwLv2++k098BQZeh7ebFsSphCGcMUeBJlzLLVNTvlbMgdtqqO/HiyAF7Xc1xaIoeP7+j6sB+YDg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA3PR12MB7880 On 5/6/24 10:09 AM, Kees Cook wrote: > On Fri, May 03, 2024 at 07:23:01PM -0700, John Hubbard wrote: >> clang doesn't deal well with "-pie -static": it warns that -pie is an >> unused option here. Changing to "-fPIE -static" solves this problem for >> clang, while keeping the gcc results identical. >> >> The problem is visible when building via: >> >> make LLVM=1 -C tools/testing/selftests >> >> Again: gcc 13 produces identical binaries for all of these programs, >> both before and after this commit (using "-pie"), and after (using >> "-fPIE"). >> >> Also, the runtime results are the same for both clang and gcc builds. > > Thanks for this! It got solved differently here: > https://lkml.kernel.org/r/20240416152831.3199999-1-usama.anjum@collabora.com > > Does that work for you as well? > Yes it does. Please drop my patch and let's use yours instead, thanks! (As an aside, outside of the compiler sources themselves, it has proven quite difficult to find any in-depth documentation of linking options and behavior--now, and in the past.) thanks, -- John Hubbard NVIDIA