From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, URI_HEX autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 28C64C433FE for ; Sun, 5 Sep 2021 14:58:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 08B3C60F3A for ; Sun, 5 Sep 2021 14:58:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236771AbhIEO73 (ORCPT ); Sun, 5 Sep 2021 10:59:29 -0400 Received: from mail.kernel.org ([198.145.29.99]:59042 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229566AbhIEO72 (ORCPT ); Sun, 5 Sep 2021 10:59:28 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id B7AE460F21; Sun, 5 Sep 2021 14:58:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1630853905; bh=SeJvBDee3vFwppG4vfbpy5vB8AIiGc4i7mvYhrqC8gk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CwGMOq5W+rOKPNQiYHZ1PGK0Q6vvWs2qEfwtNUBrw/QO45ONvfQmkHn82DQhKTbq1 MQnnCd8FO98fwMbS9HMiROI3aScX5bz34fjT7AdRMiexmVdf5l6cX9FmQjSPZO2pYq 1KhcYaKJF9KixK7LQ8Pw1wZWvEwVTM0WE0QqSibo= Date: Sun, 5 Sep 2021 16:58:23 +0200 From: Greg Kroah-Hartman To: Naresh Kamboju Cc: Eric Biederman , kexec@lists.infradead.org, open list , linux-stable , Sasha Levin , lkft-triage@lists.linaro.org Subject: Re: kernel/kexec_file.o: failed: Cannot find symbol for section 10: .text.unlikely. Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Sep 05, 2021 at 07:28:35PM +0530, Naresh Kamboju wrote: > Following build errors noticed while building stable rc Linux 5.13.14 > with gcc-11 for powerpc architecture. > > # to reproduce this build locally: > tuxmake --target-arch=powerpc --kconfig=defconfig --toolchain=gcc-11 > --wrapper=sccache --environment=KBUILD_BUILD_TIMESTAMP=@1630691419 > --environment=KBUILD_BUILD_USER=tuxmake > --environment=KBUILD_BUILD_HOST=tuxmake > --environment=SCCACHE_BUCKET=sccache.tuxbuild.com --runtime=podman > --image=855116176053.dkr.ecr.us-east-1.amazonaws.com/tuxmake/powerpc_gcc-11 > config default kernel xipkernel modules dtbs dtbs-legacy debugkernel > headers > > make --silent --keep-going --jobs=8 > O=/home/tuxbuild/.cache/tuxmake/builds/current ARCH=powerpc > CROSS_COMPILE=powerpc64le-linux-gnu- 'CC=sccache > powerpc64le-linux-gnu-gcc' 'HOSTCC=sccache gcc' defconfig > > make --silent --keep-going --jobs=8 > O=/home/tuxbuild/.cache/tuxmake/builds/current ARCH=powerpc > CROSS_COMPILE=powerpc64le-linux-gnu- 'CC=sccache > powerpc64le-linux-gnu-gcc' 'HOSTCC=sccache gcc' > Cannot find symbol for section 10: .text.unlikely. > kernel/kexec_file.o: failed > make[2]: *** [/builds/linux/scripts/Makefile.build:273: > kernel/kexec_file.o] Error 1 > make[2]: *** Deleting file 'kernel/kexec_file.o' > > > Build config: > https://builds.tuxbuild.com/1xdiIZVZuLCW3X1WO2YT6Fsl19w/config > > Reported-by: Linux Kernel Functional Testing > > meta data: > ----------- > git_repo: https://gitlab.com/Linaro/lkft/mirrors/stable/linux-stable-rc > git_sha: a603798fb16829e56f80f57879611e67bba4910d > git_short_log: a603798fb168 (\Linux 5.13.14\) > kconfig: defconfig > kernel_version: 5.13.14 > target_arch: powerpc > toolchain: gcc-11 > > steps to reproduce: > https://builds.tuxbuild.com/1xdiIZVZuLCW3X1WO2YT6Fsl19w/tuxmake_reproducer.sh > > -- > Linaro LKFT > https://lkft.linaro.org Is this a regression? Has this compiler ever been able to build this arch like this? thanks, greg k-h