Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1189697ybb; Wed, 8 Apr 2020 19:03:54 -0700 (PDT) X-Google-Smtp-Source: APiQypIiRWIDwJU5QV3uLe+0PlwIHl5hGty/xtawaLnhLmA3+/bqEuwpINjmDV/mG3CLwWzPW2/K X-Received: by 2002:a05:6808:24c:: with SMTP id m12mr2104512oie.100.1586397834233; Wed, 08 Apr 2020 19:03:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586397834; cv=none; d=google.com; s=arc-20160816; b=PwvAbV0x2OcQ2mLsQHFwhg+uV+G6yUfe3MUhK9hL34BmO97lMxglpWYSeSFzWKPP4D IZFWwp7x1MtYee1Gr893Phw/ZfuZ6ENizRIeE9N67JqHFuopH/iN9hswQxk6KIjQYqxn 0ClP9RFDQeMgD7wScFBpu/jbKi873HveT58An2swpJDcC49cA8KwUzMoMv3HRE7mSwtw unlOh34J2EepJkFRjbB2nM9XoiDWhDlamPpqMpaX+b33VqhXU015sJRu7TtvrDQ3w6v7 vxCRygSUXyWQXaO8bWxfpEdlg12DzHrYFxJn5l1JIFKDVR/URLsA8PfgeISN7T85xDdO KoRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:to:subject :message-id:date:from:references:in-reply-to:mime-version :dkim-signature; bh=BV0RwnCaNmgxzA1hCBYYOULfJvjeOLI/tY/1za+ygYI=; b=0UzndBu3rGtjCd4Vu2A6DJQHtYbPApHEjFxpE5IoytJyrWtMuNjUToyOUlASaOdIuO +9wpavUYUoJ5n13T5/xBFF3slRRlKJyQa5Ja6cBPf8kwKrEJXCxOXB+nAiACgfZzN1gU tDZ+F8wE9tnrQy/qPFz76IF+zMlfvXVb3u36e+eJQogVvvhEcbZkPhl2EA6O5TxGPini eKF7Z7tZZvqZyaRzPITxYdexRxJs8h2nCyIDH5Yn4ck1ocbaiX1rGtHkpKf+mKSxaHcd 8mIIEHKPwJRcOfuiMmzouQZJgHurP1zIR4tFOR7/QVG2t1VoLdbLhj95VoQXtxR//7sx B9BA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=t2gGyoUd; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i22si942928ots.37.2020.04.08.19.03.39; Wed, 08 Apr 2020 19:03:54 -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=@gmail.com header.s=20161025 header.b=t2gGyoUd; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726638AbgDICA5 (ORCPT + 99 others); Wed, 8 Apr 2020 22:00:57 -0400 Received: from mail-io1-f48.google.com ([209.85.166.48]:43977 "EHLO mail-io1-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726523AbgDICA5 (ORCPT ); Wed, 8 Apr 2020 22:00:57 -0400 Received: by mail-io1-f48.google.com with SMTP id u2so2266522iop.10 for ; Wed, 08 Apr 2020 19:00:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-transfer-encoding; bh=BV0RwnCaNmgxzA1hCBYYOULfJvjeOLI/tY/1za+ygYI=; b=t2gGyoUdXHaLNExZO5uBjJ3GqFqREcWOs2ajNei0CD5Df4FhsRJ2O23n5o/wGUjfeJ kqM0zxoVnrMfd0BHGhlWpGJcLDDckTVGlTozrYkttIeo+KWkTeVe7DPTUjgMdGU2ASkk nWFpc4p7H7o7jLRSpHRT9ghzBur2lVE0cbYE1N6EuIXJEITFsiUt01fLrKEI9ig7WwUB ZgY7oAI3h+/HoePBJxusSGPLuwVuQYGR0+XeoBGGgNi+ShpZAGa6UPR6PJOBvB3SmDA3 9k2AO8mPvzJ0PvvGxZIAfdfun6y3kOvpbvz0o1rlecqK+KG6xB55N1GKagDzDx/oAKtW UWMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-transfer-encoding; bh=BV0RwnCaNmgxzA1hCBYYOULfJvjeOLI/tY/1za+ygYI=; b=R1QZ8PGTlh4Np5hJrx6qW8xxuEikjpOoVz22fpiMYurqfyb6TiIrH8SNnniW+CV9Kc 94hglqj8W6J/G0bZ+kAMbQ2hfS7NPzNpGC2xgxX8QruEHs6Pj0CtXbjGrHuD/fsx4xZk aZ/y/n2o5ThSWTPucVO7RBOMx7f1rv54T3qAlRhZ7a8KYAq/M4lp/Qq/dSbspAUfUv6j Qy8kpgLcT/qTxn8EZWjEAVpQ4EeExWXgAw7tEZZ4lJF28oTvBJ19x5CRE5QC9Ws2w5yp G1wcqrLWgf55a2mwYEoClZuLLmNaUhf1ICT/cnTGpdZL6z2NgEGDrDgYisUWIH8a0T6G CqDA== X-Gm-Message-State: AGi0PubhEyYse7OS9J2ExmJ5GeiLV0g2LQaYkVZsL8ifRMLjsh9Q7uOu ZhF0Oom+fOlg7Fmd3938k5HPyOOxoriO11Vw7qLuCA== X-Received: by 2002:a6b:cd4a:: with SMTP id d71mr9928757iog.5.1586397654498; Wed, 08 Apr 2020 19:00:54 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ac0:a58b:0:0:0:0:0 with HTTP; Wed, 8 Apr 2020 19:00:53 -0700 (PDT) In-Reply-To: References: From: youling 257 Date: Thu, 9 Apr 2020 10:00:53 +0800 Message-ID: Subject: Re: Merge branch 'core-objtool-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip To: viro@zeniv.linux.org.uk, peterz@infradead.org, jpoimboe@redhat.com, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org d937a6dfc9428f470c3ce4d459c390944ddef538 caused 64bit kernel build failed on 32bit userspace. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?= id=3Dd937a6dfc9428f470c3ce4d459c390944ddef538 2020-04-08 16:13 GMT+08:00, youling 257 : > after this merge branch, build 64bit kernel failed on 32bit userspace. > > > CC tools/objtool/builtin-check.o > CC tools/objtool/builtin-orc.o > In file included from check.h:10, > from builtin-check.c:18: > elf.h: In function =E2=80=98sec_offset_hash=E2=80=99: > elf.h:102:14: error: right shift count >=3D width of type > [-Werror=3Dshift-count-overflow] > 102 | oh =3D offset >> 32; > | ^~ > cc1: all warnings being treated as errors > mv: =E6=97=A0=E6=B3=95=E8=8E=B7=E5=8F=96'tools/objtool/.builtin-check.o.t= mp' =E7=9A=84=E6=96=87=E4=BB=B6=E7=8A=B6=E6=80=81(stat): =E6=B2=A1=E6=9C=89= =E9=82=A3=E4=B8=AA=E6=96=87=E4=BB=B6=E6=88=96=E7=9B=AE=E5=BD=95 > make[6]: *** [/tools/build/Makefile.build:97=EF=BC=9Atools/objtool/builti= n-check.o] > =E9=94=99=E8=AF=AF 1 > make[6]: *** =E6=AD=A3=E5=9C=A8=E7=AD=89=E5=BE=85=E6=9C=AA=E5=AE=8C=E6=88= =90=E7=9A=84=E4=BB=BB=E5=8A=A1.... > HOSTCC scripts/kallsyms > In file included from check.h:10, > from builtin-orc.c:17: > elf.h: In function =E2=80=98sec_offset_hash=E2=80=99: > elf.h:102:14: error: right shift count >=3D width of type > [-Werror=3Dshift-count-overflow] > 102 | oh =3D offset >> 32; > | ^~ > In file included from arch/x86/decode.c:14: > arch/x86/../../elf.h: In function =E2=80=98sec_offset_hash=E2=80=99: > arch/x86/../../elf.h:102:14: error: right shift count >=3D width of type > [-Werror=3Dshift-count-overflow] > 102 | oh =3D offset >> 32; > | ^~ > cc1: all warnings being treated as errors > mv: =E6=97=A0=E6=B3=95=E8=8E=B7=E5=8F=96'tools/objtool/.builtin-orc.o.tmp= ' =E7=9A=84=E6=96=87=E4=BB=B6=E7=8A=B6=E6=80=81(stat) CC > tools/objtool/help.o > : =E6=B2=A1=E6=9C=89=E9=82=A3=E4=B8=AA=E6=96=87=E4=BB=B6=E6=88=96=E7=9B= =AE=E5=BD=95 > make[6]: *** [/tools/build/Makefile.build:97=EF=BC=9Atools/objtool/builti= n-orc.o] =E9=94=99=E8=AF=AF > 1 > CC tools/objtool/pager.o > CC tools/objtool/parse-options.o > CC tools/objtool/run-command.o > CC tools/objtool/sigchain.o > HOSTCC scripts/recordmcount > CC tools/objtool/subcmd-config.o > HOSTCC scripts/sorttable > HOSTCC scripts/asn1_compiler > HOSTCC scripts/extract-cert > HOSTLD scripts/genksyms/genksyms > cc1: all warnings being treated as errors > mv: =E6=97=A0=E6=B3=95=E8=8E=B7=E5=8F=96'tools/objtool/arch/x86/.decode.o= .tmp' =E7=9A=84=E6=96=87=E4=BB=B6=E7=8A=B6=E6=80=81(stat): =E6=B2=A1=E6=9C= =89=E9=82=A3=E4=B8=AA=E6=96=87=E4=BB=B6=E6=88=96=E7=9B=AE=E5=BD=95 > make[7]: *** > [/tools/build/Makefile.build:97=EF=BC=9Atools/objtool/arch/x86/decode.o] > =E9=94=99=E8=AF=AF 1 > make[6]: *** [/tools/build/Makefile.build:139=EF=BC=9Aarch/x86] =E9=94=99= =E8=AF=AF 2 > make[5]: *** [Makefile:46=EF=BC=9Atools/objtool/objtool-in.o] =E9=94=99= =E8=AF=AF 2 > make[5]: *** =E6=AD=A3=E5=9C=A8=E7=AD=89=E5=BE=85=E6=9C=AA=E5=AE=8C=E6=88= =90=E7=9A=84=E4=BB=BB=E5=8A=A1.... >