Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp177267ybg; Tue, 9 Jun 2020 20:17:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyi4K4i615q67U8Ls5M2W2pwwUEgzoKj1fFf6Jx67tvABGEGAZ1NzxmWlyZbb8zQHAOxvoX X-Received: by 2002:a17:906:f745:: with SMTP id jp5mr1436585ejb.440.1591759030133; Tue, 09 Jun 2020 20:17:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591759030; cv=none; d=google.com; s=arc-20160816; b=bmqTigceKuC1R+42ZNZEZdKp1i5GwXXM7yBOPqnImbMjbzrUcKHdMKgrAjNwOvNVpO /AT6/aW31LCy5JRsAOuaqZrAOc7c6XZUwz4rfEOR4bFk6iTEKVLYd5Jd/ohGu/ct5mBf gygj0Vo1TSGjZFa8OZfaCq4XOUZKd9gYjiGpIClMHnydFzE4fi4an6hn/wtBorYC1J78 Xz1yjOuxaYKeNc+nPROsX7keeeU7f081bZ+jWbhOuydP+s3RTixOB/3ymNMtxZC7NAwH u9mZE491GtYcZHnWIyEa0WSMqJ2bpKJ8v3kzoh7TuEtvCUt7jWH0hIec2xWtYWF901GZ di7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:date:from:dkim-signature; bh=L39uq7tgQn/Q6N8FJzDDK131LcASt6R40FcZy+Bcgco=; b=dsHor7n1mz2s/K5Ts2E4g6SgRfATrd36YodWu7KlVRw5/Rgfm7DFBzXKxcRu+G/pNm tYz0gxhGRfROkuRclVHLXXSjWgsu7M+QPfuMeK0soVR+y8Ai06Xu5JNeEUCqgPfRPALj j0AZqynJsFoXUVW3UG7ZOZMrJP2tMCyorD386joQwKUtxhg8KwU4brokwAYBBgwCddp6 y4X/oR5EjeyWb4IyRpixMtkOk2QxCf1iCVu+tG1wO0EedTWkwME2eUUpc9mjPV0EsYFI s72qOot9PS4JWS/0B55nxCM2RqJAIUGv9R04/njyxyecqKEffRk7xFiVAadI/KrLeVn7 34Qw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=dde7AdUT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m19si10827524ejr.547.2020.06.09.20.16.43; Tue, 09 Jun 2020 20:17:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=dde7AdUT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726156AbgFJDMa (ORCPT + 99 others); Tue, 9 Jun 2020 23:12:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725999AbgFJDM2 (ORCPT ); Tue, 9 Jun 2020 23:12:28 -0400 Received: from mail-qv1-xf41.google.com (mail-qv1-xf41.google.com [IPv6:2607:f8b0:4864:20::f41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 72E9BC05BD1E for ; Tue, 9 Jun 2020 20:12:28 -0700 (PDT) Received: by mail-qv1-xf41.google.com with SMTP id g7so399962qvx.11 for ; Tue, 09 Jun 2020 20:12:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:date:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=L39uq7tgQn/Q6N8FJzDDK131LcASt6R40FcZy+Bcgco=; b=dde7AdUTLSSK661bqFsPMTGrBIGq+3UodJCl5Ji1htValQRtNPmA8oFFTmmhUB8VU0 ajSIxtDI2HqtrCzRYNPQB2nDURN8E8Bayxjxd/bXrEkIFS1jhU3e5/kDnNONc210LA5t ytgJGaZvbMLf54A+aKyCb6WFWe1ZsRcWUos5LiPPbf0Xk2GXBgmMgHUXw3aNMNimtI+i t37mhL97KjIpxra0K4uRjdhF3FsxqESE0WsEixJ3huap5hw2hsTTLNsTX22Dws3cXM0F aTEFOzOEm/AicW/z2VczEjYJYUsmEjs9o00flqWkbW1Q33297P91F2bvuef0vf25XVlM MhJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:date:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to; bh=L39uq7tgQn/Q6N8FJzDDK131LcASt6R40FcZy+Bcgco=; b=sG6hFVqSTG9HtYz+aLsUADmiJlpIJ/w21+5flcAz9FdBJnTgo6dJnbQ06tljUyKhua Ehnq02CdtfJUJdN6HKL33WSdmfLi4qkMPdaujnhhILYmxVqV3aVxGmXT7vC5uqjRy0oA VFAa95RNdXhejEIAEVXeLlG8n9QahhdQz935ZEc9GrjRzA4paiYP3X4lt6wcKVowuEzb I7cAWoTeGFMP+WSCEaiqNiei/BR+/qnptLCYinQTD1yoxMkcqzICOvFpdnmw+Q/3dRBj Tjpn5/ZP2GlTK0Wnz4uNnX++oN3Z5sKytO0O7DMWYf7xw9egXHO4UFaUrlX0S9f5JXeA wJrA== X-Gm-Message-State: AOAM530KUuT3GOLGLNHeJ9m4ioTGq/etR9TZYlGzct9EuMaiSASJ340h ocotxY/BVTzNvge8NghYjk4= X-Received: by 2002:a0c:efcf:: with SMTP id a15mr1267656qvt.108.1591758747543; Tue, 09 Jun 2020 20:12:27 -0700 (PDT) Received: from rani.riverdale.lan ([2001:470:1f07:5f3::b55f]) by smtp.gmail.com with ESMTPSA id v8sm11247174qto.21.2020.06.09.20.12.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jun 2020 20:12:27 -0700 (PDT) From: Arvind Sankar X-Google-Original-From: Arvind Sankar Date: Tue, 9 Jun 2020 23:12:25 -0400 To: Rong Chen Cc: Fangrui Song , Nick Desaulniers , kernel test robot , Masahiro Yamada , kbuild-all@lists.01.org, LKML Subject: Re: [kbuild-all] Re: gcc-5: error: -gz is not supported in this configuration Message-ID: <20200610031225.GA1917869@rani.riverdale.lan> References: <202006092115.nevT7m8D%lkp@intel.com> <20200609174954.cckelwl6etwztmhv@google.com> <05c88916-7d91-ad1a-1ea6-15167a994a0b@intel.com> <20200610005830.s6gus7r3umwgzozk@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 10, 2020 at 09:49:01AM +0800, Rong Chen wrote: > > > On 6/10/20 8:58 AM, Fangrui Song wrote: > > On 2020-06-10, Rong Chen wrote: > >> > >> > >> On 6/10/20 1:49 AM, Fangrui Song wrote: > >>> On 2020-06-09, Nick Desaulniers wrote: > >>>> On Tue, Jun 9, 2020 at 6:12 AM kernel test robot > >>>> wrote: > >>>>> > >>>>> tree: > >>>>> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > >>>>> master > >>>>> head:   abfbb29297c27e3f101f348dc9e467b0fe70f919 > >>>>> commit: 10e68b02c861ccf2b3adb59d3f0c10dc6b5e3ace Makefile: support > >>>>> compressed debug info > >>>>> date:   12 days ago > >>>>> config: x86_64-randconfig-r032-20200609 (attached as .config) > >>>>> compiler: gcc-5 (Ubuntu 5.5.0-12ubuntu1) 5.5.0 20171010 > >>>>> reproduce (this is a W=1 build): > >>>>>         git checkout 10e68b02c861ccf2b3adb59d3f0c10dc6b5e3ace > >>>>>         # save the attached .config to linux build tree > >>>>>         make W=1 ARCH=x86_64 > >>>>> > >>>>> If you fix the issue, kindly add following tag as appropriate > >>>>> Reported-by: kernel test robot > >>>>> > >>>>> All errors (new ones prefixed by >>, old ones prefixed by <<): > >>>>> > >>>>>>> gcc-5: error: -gz is not supported in this configuration > >>>> > >>>> Hmm...I wonder if the feature detection is incomplete?  I suspect it's > >>>> possible to not depend on zlib. > >>>> > >>>>> make[2]: *** [scripts/Makefile.build:277: scripts/mod/empty.o] > >>>>> Error 1 > >>>>> make[2]: Target '__build' not remade because of errors. > >>>>> make[1]: *** [Makefile:1169: prepare0] Error 2 > >>>>> make[1]: Target 'prepare' not remade because of errors. > >>>>> make: *** [Makefile:185: __sub-make] Error 2 > >>> > >>> The output of gcc-5 -v --version on that machine may help. The > >>> convoluted gcc_cv_ld_compress_de logic in gcc/configure.ac may be > >>> related, but I can't find any mistake that our > >>> CONFIG_DEBUG_INFO_COMPRESSED conditions may make. > >> The output of gcc-5 -dumpspecs may also be useful. The exact Kconfig check should have been gcc-5 -Werror -gz=zlib -S -x c /dev/null -o /dev/null I can't see how that would succeed if the a.c test didn't but maybe just in case?