Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp2341455rdb; Tue, 3 Oct 2023 19:51:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGmIlG7Es0xVmBHFbCbF6zJ9pfcSHxD5mNqe+GgusH0UxrOG5JcPA1PRc2usLf8aHA5RZeb X-Received: by 2002:a05:6a21:181:b0:13a:6bca:7a84 with SMTP id le1-20020a056a21018100b0013a6bca7a84mr1432739pzb.44.1696387874242; Tue, 03 Oct 2023 19:51:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696387874; cv=none; d=google.com; s=arc-20160816; b=ztVPB2pwVHtYSSUM4LkQzbHNtwYUpV/S0OqnZWnhr7bxGvPHsJ31JPlqAheASm7Bt+ SRXpGYgI4yqgSrr22ayWR1PpilNOd/EtWiM0bUWCtinngjTSiWXkGet++vLxw9DDvYGs ZKZjJdEFUr3o0uZgzrx8z73L6TgP9PUuMO9zZz99EG9v0y83N+q00YU1/cjVQkhnahYG SodckBOc8/odmftIpeSn1b1d/cFxFQSHyXXcjUYdZJEdhOLCf1f7UpWg1veg99CZ+dxz t7Onx1h6/3JOLRdamKIpkSrvBG8gPTUSBFIvPwiXrd04gMjHywu9w3TrCPLNomDR8gVD 8t+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=BOKVkRIlUClvH6h3CIZ9FG68iZnhspFEEi3dJ7aEfBQ=; fh=Nxm2TJfTR2fjMbIiy8QSLwg2vYEvE1GOHTDozrGtUyg=; b=BwvMYC/ffJY5gE7qDHVmki6o/L343eoAenyNYPEjnR/o+DJzkk2icA0LgrrkjKvqgi OV9BdU8gOOzdm45SiLRFbmgqNbIOZ7tlGIMd7wHIov3fS+bOZSo47OWVUyEBtbUqGA66 s2iqE+Ico4a3uPWMXAHLw9ZSMBhlXoH+Cw1MO3Q8nx7a9CdVL1NiotnhCn9iWTxHEKpp qEsM0aQJZYPShSbQMdTCXNj9sfBoJnUEi71PbykHzfnxN+uqVn4mNR81BQ2zkpRY5r3E 4Eu8YgUAUPZuF87zkKKxgt9HuXdcafbF31P8ZAp1UAvm4FBQAKELdO85xBee2dLkqFAf Ndmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=W9+GdKXG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id a18-20020a056a000c9200b0069347c30c86si2981823pfv.253.2023.10.03.19.51.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 19:51:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=W9+GdKXG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 28A5C81C527C; Tue, 3 Oct 2023 19:51:12 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230447AbjJDCuk (ORCPT + 99 others); Tue, 3 Oct 2023 22:50:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241056AbjJDCue (ORCPT ); Tue, 3 Oct 2023 22:50:34 -0400 Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0DA51B0 for ; Tue, 3 Oct 2023 19:50:31 -0700 (PDT) Received: by mail-pl1-x634.google.com with SMTP id d9443c01a7336-1c61bde0b4bso13834205ad.3 for ; Tue, 03 Oct 2023 19:50:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1696387830; x=1696992630; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=BOKVkRIlUClvH6h3CIZ9FG68iZnhspFEEi3dJ7aEfBQ=; b=W9+GdKXGbiPLPbfqZZoL6XVKh1yFhaXDa/Md5Nht2t+nYIK1Q+CwkkwooLsXIMp624 URJCKtT4VRXCphDcdPAaDFIRZK3MDL0ywWyrGIPWbFwA4IcsAKtTNCjLQ9TTh5Xe6Wd+ GZ3bEMpmf/k4r/8IAU3ZTMwWyRRYNjm1iy9hI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696387830; x=1696992630; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=BOKVkRIlUClvH6h3CIZ9FG68iZnhspFEEi3dJ7aEfBQ=; b=qm0rOZ7AvC53REhNslFXflk+fd4oU46urANP3JCM0hwD6TDOUEa2cprfocM0KS8Xn7 Goz0Mc7H4XPhndC39KPgfHoHdXMjM3aSgmRVJDwwuxvgDoH6JzOR5IU0iy4wAMGvPexf b/cs+cRFdxdzPDcoLYJyXt2ZWfLufQC0tFOkljMDK8ZgrabjRQ67Ei5gE7zATjdQslCY VlxJg6X1FbjXITyiab+t/o6Orr6rtk4B0YOQIw2TXzijIlhWasTe2a8EIJPyk9eA2cq6 ohWw4YUG8FvE+24ppHD9twd+1dUPzifSvw4/sEfWAEdjCl1O+RQLnPnMiqJ9ZXvqzSeQ VcYw== X-Gm-Message-State: AOJu0YwWTJ4ZfHVt4wSM74KwbwRXDbPsmBLtR3eSKIl0Tb08Ww2UmFPL JLnGxxibbTF+gtqnZgTg+pilYg== X-Received: by 2002:a17:903:4284:b0:1ab:11c8:777a with SMTP id ju4-20020a170903428400b001ab11c8777amr1325242plb.13.1696387830493; Tue, 03 Oct 2023 19:50:30 -0700 (PDT) Received: from www.outflux.net (198-0-35-241-static.hfc.comcastbusiness.net. [198.0.35.241]) by smtp.gmail.com with ESMTPSA id c3-20020a170902d90300b001c731b62403sm2349948plz.218.2023.10.03.19.50.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 19:50:29 -0700 (PDT) Date: Tue, 3 Oct 2023 19:50:28 -0700 From: Kees Cook To: Stephen Rothwell Cc: Sebastian Ott , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: build failure after merge of the execve tree Message-ID: <202310031950.E698038489@keescook> References: <20231003133522.310bda60@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231003133522.310bda60@canb.auug.org.au> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Tue, 03 Oct 2023 19:51:12 -0700 (PDT) On Tue, Oct 03, 2023 at 01:35:22PM +1100, Stephen Rothwell wrote: > Hi all, > > After merging the execve tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > fs/binfmt_elf.c: In function 'load_elf_library': > fs/binfmt_elf.c:1323:37: error: unused variable 'len' [-Werror=unused-variable] > 1323 | unsigned long elf_bss, bss, len; > | ^~~ > fs/binfmt_elf.c:1323:32: error: unused variable 'bss' [-Werror=unused-variable] > 1323 | unsigned long elf_bss, bss, len; > | ^~~ > fs/binfmt_elf.c:1323:23: error: unused variable 'elf_bss' [-Werror=unused-variable] > 1323 | unsigned long elf_bss, bss, len; > | ^~~~~~~ > cc1: all warnings being treated as errors > > Caused by commit > > f2a1e5fab9ae ("binfmt_elf: Use elf_load() for library") > > I have used the execve tree from next-20230929 for today. Whoops! Fixed now. Thanks. :) -- Kees Cook