Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp826248img; Mon, 18 Mar 2019 15:24:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqxkzD24k2MllHeBzdKS4iv6+hsfSSyl+ldCDJMY1lyq0lvm/G/BPsM3gc6YSiSPRqa2pnpJ X-Received: by 2002:a17:902:a716:: with SMTP id w22mr22561418plq.280.1552947879856; Mon, 18 Mar 2019 15:24:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552947879; cv=none; d=google.com; s=arc-20160816; b=pkUABhCV9jd8MZ8yqvRoeCzSfOiSB2H+sp1cIsDc7NKniVrH57oCzasedwndQTpwch YQeWwdLALYn7cponEwP7IOl8FMcuSqFLea3stVTT286zieeaT9QzsAPaGX8U2och9vJr D9lv6qpGJqY5klnA6eGRzHPYgH0/4xZJZ0PFHrzRt+aE4TwYXMWffi5C97cSBSj50ZfB uRpcZRQ+T+QU74lbAMjncM8CXFhL6otXXXmGnzqj99AbGu8GsNm5Mp/FM9d9UsHJxqWs QYFMtvNTXAG38qBIoLj62wwi87gGmNgPBklpHgQb7wc56wNnoFACiKiOldzU9nmJFQuA ugBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=hPvuijIMtfvjLFQQ6GUWblK04RcVuWtqzWn4PIpDMvM=; b=aktxOSza6ZZxU/XokzBolhcwE9pYxDOKLY0AnAN8qsMygFf9890HcXPJwxx7w9uiiK 1ja9IvpJ8HlCOcCdIfXptwAdfIOSsVk+J4gX7b0MkzPwNcro5t3dUZ6iGPCwXa48jt1Z a8BXALAUwR2W1pDEWuJASUJ/L3cUu4GJ9MTO2A0njs7NlxHy8DkVqmicJWjg4yC0JQLN sUKvny59M6tO8vLZaNStSGZ1sOR6k/ticMW1wwcPP/ebS30JVHDGqaQKRSOwdWRmGOZg r/SUer9XwWYRlnJjbQegrjqhqkC3TVMEVw8YU4N3KPAXSRkuBACqrqKTUt1uNBxp1TRO yo6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=S5qn+oAu; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 33si10930890plg.3.2019.03.18.15.24.24; Mon, 18 Mar 2019 15:24:39 -0700 (PDT) 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=@google.com header.s=20161025 header.b=S5qn+oAu; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727304AbfCRWXf (ORCPT + 99 others); Mon, 18 Mar 2019 18:23:35 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:36894 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726743AbfCRWXf (ORCPT ); Mon, 18 Mar 2019 18:23:35 -0400 Received: by mail-pf1-f196.google.com with SMTP id 8so8830001pfr.4 for ; Mon, 18 Mar 2019 15:23:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=hPvuijIMtfvjLFQQ6GUWblK04RcVuWtqzWn4PIpDMvM=; b=S5qn+oAuWHyEyFn1XqZEUmq9jL5T+Kl3uLm1UxxkagluDLi9k2Oy/r4NufpOIsKrL4 ruqL8SR5z9+uJHmVS3cxy5JS4RfPm+yk07QWEmNlikGwIz8VnhRiDjgRDusOVyQDVUf0 jdU8JRtPQMgWrKZChjmHE5rtcdRfy9h+QhvGk05X9QvGFGfEDk9sfjN1/aeRSW6IGzMc zPF0LiNSbLWkiVHMZjRIVk53X/+Xio5dH4VtjBDi09w8ee3QBXblqTB1mnL11oT5fOle OILO7OdeJa1KxiG4S/kLpEcN/rxZ2l4v2bEYOLfUwFOvYOg2fmAZu1yy8LFkDVQnUwYG WBEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=hPvuijIMtfvjLFQQ6GUWblK04RcVuWtqzWn4PIpDMvM=; b=pNYsv0XhFyTWkpf9rG88rR/SFas6QXmMHUOX2r2HFJEfs64qNl0evPTHdpMie61hMw 3XETI94M0b3oDshPJ6sSwLWEt4oXj/MYgwA+kjEYU9Yez3qjIgcU0f+gLYLWM4LIZZEc 78HJMwS3g6nCcf7Q5k0CF0UFrGTeo6hOAVWnw92LEKgQsKQ71KNb1Sdj8mM7AmuoZ2ST wc5vhAavf8DtT4IUhgf3HoMe+sJ7+pZWafDx5MMJ6OochhFaUG006yhED7m3cfb6mA03 x/GfRPa6lW4xDkC7eNGskS1eJlokQLpjpCPuKV1Ppw3aym9U443kCjgjhbSSHCHohQhP oXYA== X-Gm-Message-State: APjAAAVWc5kfrke9FjIAfHs4tQwX42MzVXa1TcSFK2TkjTdRCEGiyNqJ JlzWDDp3S7wCUJgqoKFxAI3mjadI8XOF4kq9rHdALA== X-Received: by 2002:a62:7603:: with SMTP id r3mr7602250pfc.32.1552947814673; Mon, 18 Mar 2019 15:23:34 -0700 (PDT) MIME-Version: 1.0 References: <20190318215605.GJ112750@google.com> <0275C6DD-7F77-4D51-9C35-B25ECF61EB0F@zytor.com> In-Reply-To: <0275C6DD-7F77-4D51-9C35-B25ECF61EB0F@zytor.com> From: Nick Desaulniers Date: Mon, 18 Mar 2019 15:23:23 -0700 Message-ID: Subject: Re: [PATCH] Revert "kbuild: use -Oz instead of -Os when using clang" To: "H. Peter Anvin" Cc: Matthias Kaehlcke , Masahiro Yamada , Michal Marek , Linux Kbuild mailing list , LKML , Behan Webster , Peter Zijlstra , Manoj Gupta , Tiancong Wang , Stephen Hines , clang-built-linux@googlegroups.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 18, 2019 at 3:07 PM wrote: > > On March 18, 2019 2:56:05 PM PDT, Matthias Kaehlcke wrote: > >> > KBUILD_CFLAGS += $(call cc-disable-warning, int-in-bool-context) > >> > > >> > ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE > >> > -KBUILD_CFLAGS += $(call cc-option,-Oz,-Os) > >> > +KBUILD_CFLAGS += -Os > >> > else > >> > KBUILD_CFLAGS += -O2 > >> > endif > > Would be nice, still, to have -Ok. April fools *is* coming up. 0:-) -- Thanks, ~Nick Desaulniers