Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp35672289rwd; Mon, 10 Jul 2023 10:43:21 -0700 (PDT) X-Google-Smtp-Source: APBJJlECQC8tqZVwazFgQoT10lxS/qc0yOo4SYnmphijp0lHr/G4N+CGVRUm6W9d246TeX7n2ag7 X-Received: by 2002:a17:902:904a:b0:1b9:de67:286f with SMTP id w10-20020a170902904a00b001b9de67286fmr4272631plz.49.1689011000691; Mon, 10 Jul 2023 10:43:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689011000; cv=none; d=google.com; s=arc-20160816; b=mrfh5y9Nlve0F3AO8GEX/lIiQYN+jd2uOH8vyVOqL3t0i8ks+LNY4WWuMiSi8UkTDb rg3mDy6T/R0kH91xjVNdtvJqSnkMk9FXC7Iq2HtxNtfZQxpZOGM9kww4oHW5YhbHvmfj V/i3XOe5V8NUpThDceX0/8hnY3dkyy01ZGY4TnqeKvgwFlgDLBCgAExbPGhDG2Lu1nLg TKHE+WNuiH5XA1tKBEZzco57ti53C6zl1AmLxarVuRD2DFBJnm3Cg2Dpg1JGuHhue6px vT9Q5AvhSt+3ON6LxKXsX/nMngLdrLOFIAXM/egOI+vVDsQJHfuhm0V7gF61+Bf708eQ lm4Q== 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=8c/iae7el85BxbPgBQAkUn16uAYLClD5+h8TwWVoGm0=; fh=UTP7QQIstQ9U7ycxgBqrpzdaCGuFPU4n6h6n1IrEOAA=; b=qZ3d7jcJfv9LqKhn0jjCvdjutU116C6YJVPYTgKZBMIKDECD02eYuTaCt/bLdEECvs jVvXwtv4CtmTuVykBS4aNa24LogKvNVhlPzV8BS5Hxu2KlQdSuQyEdkmBK+CWgXOaDF3 QsnIRHm3g5xiOIMwR+t2CEPFUpDSs9Fq05DGgFj86q+FfcSt5adbI9xv61SjzUrqFToo gA3XNoBQkMOXzRP8FQYSx7RUXByp1F64TMRfQP2M+PMZIBzf6Nf55+9y86oNjy7wjUFa jk4ainMGC0oDnJ8v55yWFJztUt+YdwALKcXNo2LSrlpWW8mIln8jdKGArz+RZcs8U+TA i9wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MEaEjmNh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e13-20020a17090301cd00b001b53dfb85c4si139035plh.606.2023.07.10.10.43.07; Mon, 10 Jul 2023 10:43:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MEaEjmNh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230195AbjGJRQd (ORCPT + 99 others); Mon, 10 Jul 2023 13:16:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38346 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229451AbjGJRQc (ORCPT ); Mon, 10 Jul 2023 13:16:32 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5CE4F10D for ; Mon, 10 Jul 2023 10:16:31 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id EF3B261121 for ; Mon, 10 Jul 2023 17:16:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2B4D9C433C7; Mon, 10 Jul 2023 17:16:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689009390; bh=MqOW2M+FkW5a5sgAu73T5iHV7N8UuHF3eSn9x4ulp9o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MEaEjmNhYsi1socPRthS6VwOPYNayJ6S3042CdPxkBlblz4MxVSIchN9a4A9uIeSw xTpSvo8HbaF2QOMpzAmWXdqt9bSsLZAsI8eR06fY67EM1XCwK+76SHcm0z73V8MR7Q 5TVQR0AEbcxZSwVaWxwIHcXA7ecQwmpwa8/N51C6J2hTe583ofrv2vH2IIqqVqbidm XtBpCteBl5EFeG1exU2FEIGqaBGGDf8z7YxTr5cG+k6yNkrKbsq7v3zFOjU4IJOeOf UwXmqiYdbbaWK4JUp2Jq8JVUzwJlZjULQDDIkFQwIMjzH1BSs26pQZQ4ocJrVi7oWS 0FuQ8UfFW82Jw== Date: Mon, 10 Jul 2023 10:16:28 -0700 From: Josh Poimboeuf To: Michal Kubecek Cc: Linux regressions mailing list , Peter Zijlstra , linux-kernel@vger.kernel.org Subject: Re: build failure after commit eb0481bbc4ce ("objtool: Fix reloc_hash size") Message-ID: <20230710171628.vo4azoabe26kepij@treble> References: <20230628115825.ahqejf5y4hgxhyqj@lion.mk-sys.cz> <20230709140929.5sdcvyqquotkn752@carpenter> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20230709140929.5sdcvyqquotkn752@carpenter> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jul 09, 2023 at 05:09:29PM +0300, Michal Kubecek wrote: > On Sat, Jul 08, 2023 at 03:40:50PM +0200, Linux regression tracking (Thorsten Leemhuis) wrote: > > On 28.06.23 13:58, Michal Kubecek wrote: > > > > > > this morning, mainline kernel builds started to fail on my desktop like > > > this: > > > > > > mike@lion:~/work/git/kernel-upstream> mkdir /srv/ram/kobj > > > mike@lion:~/work/git/kernel-upstream> make -j24 CC=gcc-13 O=/srv/ram/kobj defconfig >/dev/null > > > mike@lion:~/work/git/kernel-upstream> make -j24 CC=gcc-13 O=/srv/ram/kobj all >/dev/null > > > net/ipv4/netfilter/iptable_nat.o: warning: objtool: mmap fail reloc > > > net/netfilter/xt_mark.o: warning: objtool: mmap fail reloc > > > net/netfilter/xt_nat.o: warning: objtool: mmap fail reloc > > > net/netfilter/xt_LOG.o: warning: objtool: mmap fail reloc > > > net/netfilter/xt_MASQUERADE.o: warning: objtool: mmap fail reloc > > > net/netfilter/nf_log_syslog.o: warning: objtool: mmap fail reloc > > > net/netfilter/xt_addrtype.o: warning: objtool: mmap fail reloc > > > fs/efivarfs/efivarfs.o: warning: objtool: mmap fail reloc > > > drivers/thermal/intel/x86_pkg_temp_thermal.o: warning: objtool: mmap fail reloc > > > vmlinux.o: warning: objtool: mmap fail reloc > > > incomplete ORC unwind tables in file: vmlinux > > > Failed to sort kernel tables > > > make[2]: *** [/home/mike/work/git/kernel-upstream/scripts/Makefile.vmlinux:35: vmlinux] Error 1 > > > make[2]: *** Deleting file 'vmlinux' > > > make[1]: *** [/home/mike/work/git/kernel-upstream/Makefile:1256: vmlinux] Error 2 > > > make: *** [Makefile:226: __sub-make] Error 2 > > > > > > I bisected the failure to commit > > > > > > eb0481bbc4ce ("objtool: Fix reloc_hash size") > > > > > > I also tried gcc11 and building on a normal filesystem (rather than > > > tmpfs) but the result is still the same. Different configurations (e.g. > > > allmodconfig) only show more modules with "mmap fail reloc". The machine > > > has 64 GB of RAM and both ulimit -m and ulimit -v show "unlimited". > > > Anything idea what else I should try? > > > > Michal, thx for the report. Please correct me if I'm wrong: this as of > > now is unfixed, as your patch to fix is afaics wasn't merged yet (at > > least I can't see it even in next, but I might be missing something). > > Yes, the fix has not been merged yet and current master (commit > 1c7873e33645) still shows the issue. Should be fixed in the tip tree with the following patch: https://lkml.kernel.org/lkml/168897683429.404.6801969953192508868.tip-bot2@tip-bot2 > > Michal > > > Hence adding it to the regression tracking now that the end of the merge > > window is near: > > > > #regzbot ^introduced eb0481bbc4ce > > #regzbot title objtool: build failure > > #regzbot monitor: > > https://lore.kernel.org/all/20230629102051.42E8360467@lion.mk-sys.cz/ > > #regzbot fix: objtool: initialize all of struct elf > > #regzbot ignore-activity -- Josh