Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp6940067ybl; Mon, 23 Dec 2019 15:09:52 -0800 (PST) X-Google-Smtp-Source: APXvYqwH++cMD//t8iaNCvU9Oj2CgjOKIlUeMu2TmGWgeeMPUJbs5k2wAEouuOYRJIfhnK9JKSzL X-Received: by 2002:a05:6808:191:: with SMTP id w17mr392746oic.29.1577142592254; Mon, 23 Dec 2019 15:09:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577142592; cv=none; d=google.com; s=arc-20160816; b=oZF8oM8B7Rlwud6XoMJJwfS4XTkUb9/WZA6yeTry3s7WBx7PntNg4wcJTEIGJxeLVx faAFGkzDoyjlCAlgqsZpxqU8k35jLDOeqJTmqxnzn7sqieENELDTKS5etPDGLbfdkDow pK/AoabmDyU7BZg9rja9Qu4VnY+JZngwj+Ysqhqz2YuvMVdr07sRUv/J0MdOS2AE3rB2 8UP1GS1h0btfyNib0D0v4yj+oEGrwH/GQe8XcF8lKf9JBxj3lKcHmL0z8Rh6IkR4NHOO aLhk8oQOgT5nvdjjHisHNW1C/cFswxHbItdN/wArsRi3r6kU3ulIG3ddNopbcwah4RSo JFyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=dJj8UD70GwxXWa9YUhL0bVthLy3tnHrg0xwCxYlzeBs=; b=S7mblEoeVb4/XAGcz94hHJLc9Kbr8DC+ZHlE7SZ5YsV7r3EvxMLKFfIOV0MCza6MZh bM/hEbUeLt1dep4ztQ/z8KEFh8FPbgZ9LpLwexkqnoxCfYYjP4vXYui6AxziUpaENfcj GhYO+YWaIdFuFJFSJatLylewCW4w83Z2KmJjWsBKyguzxlKaKhJDVry73XZq0fY5EwbZ uHDiDXktMC7oSwGEg8hrPX9vYFdTod8IDxbdmTkUjMAJsJH/loIcItDCOd1bXz3+JSCN U9Hxo2tyad0ora71pNAkOAwT1urgcdRklDPpBscDN7D5BTYvtZMomyUMnDVvgZrfpSIb oQgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@shutemov-name.20150623.gappssmtp.com header.s=20150623 header.b=ENaOhOXp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u127si4089085oig.71.2019.12.23.15.09.39; Mon, 23 Dec 2019 15:09:52 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@shutemov-name.20150623.gappssmtp.com header.s=20150623 header.b=ENaOhOXp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726861AbfLWXIz (ORCPT + 99 others); Mon, 23 Dec 2019 18:08:55 -0500 Received: from mail-lf1-f67.google.com ([209.85.167.67]:39039 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726512AbfLWXIz (ORCPT ); Mon, 23 Dec 2019 18:08:55 -0500 Received: by mail-lf1-f67.google.com with SMTP id y1so13779398lfb.6 for ; Mon, 23 Dec 2019 15:08:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shutemov-name.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=dJj8UD70GwxXWa9YUhL0bVthLy3tnHrg0xwCxYlzeBs=; b=ENaOhOXpvnq2cr59bvyj3Km0bdwCcxWo+oRmMYTBpSrjglnFZ0Ti5zOO3vGxMhxk40 wA5kN/0JV/7pVqYYwC5NNQ/OuvcjVTKgiu9iXm5hCIfVH4j+T2upWB7lFy0Ruzml/RH4 CEScneRodaA73kLb2zVz4swAcK8vasGBrJd2BscziCVYPv+jOorQZzZpWFsTPWteSzjV IdRXeCKHHPCR3q5fRuwvAsV02Dzp5wSQyb6zn2pNHOvbH7AtZRNFsvqDleUzOeY5uegg 2EvwQMOWcr23VXKFRB+H19vpzq2pt2OA3P/26PRCy7Y4PVv0/CN+0AhZNSjpTwHvgPUD 89/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=dJj8UD70GwxXWa9YUhL0bVthLy3tnHrg0xwCxYlzeBs=; b=iMutp9pGN87sGv6dNumgP4jJR+oh6cv6B5SuSOYk2wF7ldhZFh/GqyNWDWoo+5OKdI NaXn8YKk22s/rFgrqezD65fGyONs0wPfIpM0LcvZWUBdtVDooquQc2VxxydaYbcy/nFz c80orPqSI0FOaWfaXBosKxvIScY2ZUiY8j05zlaInIfNpjyEQi/ZU5Zba6HjluDBxjt5 imwP7o15BROzvtPl8gVib0Ov3Kx2ziSMn420sDHoXf7hWwHWllgA5OXR8WVk/omyBLtA tPrRKoj7yLfaoBgo9rLrrhY9+o80icyoh9WLC/L8zD+o4wXPlo19ov3YzeFOr2Cib8eS puiA== X-Gm-Message-State: APjAAAXwd+LFlRJJceCgrPHrfas8KcsJ9mk88fuSosgjoyoEBX5kd/29 nX5n4NoJpa0A3aNhJYKCGXFopg== X-Received: by 2002:ac2:41c8:: with SMTP id d8mr17863821lfi.65.1577142533486; Mon, 23 Dec 2019 15:08:53 -0800 (PST) Received: from box.localdomain ([86.57.175.117]) by smtp.gmail.com with ESMTPSA id l64sm9013758lfd.30.2019.12.23.15.08.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Dec 2019 15:08:52 -0800 (PST) Received: by box.localdomain (Postfix, from userid 1000) id 9CD0B10133D; Tue, 24 Dec 2019 02:08:57 +0300 (+03) Date: Tue, 24 Dec 2019 02:08:57 +0300 From: "Kirill A. Shutemov" To: Khem Raj Cc: linux-kernel@vger.kernel.org, "Kirill A . Shutemov" , Kees Cook , "H. Peter Anvin" , Ingo Molnar , Thomas Gleixner , x86-ml , Arnd Bergmann Subject: Re: [PATCH] x86/boot/compressed/64: Define __force_order only when CONFIG_RANDOMIZE_BASE is unset Message-ID: <20191223230857.eafab52y5erfmgab@box> References: <20191221151813.1573450-1-raj.khem@gmail.com> <20191223171043.g54secptjtqkhuve@box> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 23, 2019 at 02:25:02PM -0800, Khem Raj wrote: > On Mon, Dec 23, 2019 at 9:10 AM Kirill A. Shutemov wrote: > > > > On Sat, Dec 21, 2019 at 07:18:13AM -0800, Khem Raj wrote: > > > Since arch/x86/boot/compressed/Makefile overrides global CFLAGS it loses > > > -fno-common option which would have caught this > > > > If this doesn't cause any visible problems, why bother? > > > > it does break builds with gcc trunk as of now e.g. > > > Hopefully, we will be able to drop it altogether once we ditch GCC 4.X > > support. > > > > gcc10 is switching defaults to -fno-common so we need to solve this one way or > other, I am not sure if gcc 4.x will be dropped before gcc10 release > which would be > in mid of 2020 Okay, it makes sense then. Please include this info into the commit message. Also, I wounder if it would be cleaner to define both of them as __weak? -- Kirill A. Shutemov