From: Jan Kara <jack@suse.cz>
To: Naresh Kamboju <naresh.kamboju@linaro.org>
Cc: linux- stable <stable@vger.kernel.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Sasha Levin <sashal@kernel.org>,
Jiang Ying <jiangying8582@126.com>,
open list <linux-kernel@vger.kernel.org>,
lkft-triage@lists.linaro.org,
linux-ext4 <linux-ext4@vger.kernel.org>,
Theodore Ts'o <tytso@mit.edu>,
Andreas Dilger <adilger.kernel@dilger.ca>,
Jan Kara <jack@suse.cz>,
wanglong19@meituan.com
Subject: Re: stable rc 4.4 - v4.4.232-33-g0b3898baf614 - build breaks on arm64, arm, x86_64 and i386.
Date: Thu, 6 Aug 2020 11:29:59 +0200 [thread overview]
Message-ID: <20200806092959.GB1313@quack2.suse.cz> (raw)
In-Reply-To: <CA+G9fYtpsT23+xXkOfhBt3RP6MeHKjQCrmgF921mDdwQ+wZu2g@mail.gmail.com>
On Wed 05-08-20 22:42:08, Naresh Kamboju wrote:
> stable rc 4.4 build breaks on arm64, arm, x86_64 and i386.
>
> Here are the build log failures on arm64.
> git_repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
> target_arch: arm64
> toolchain: gcc-9
> git_short_log: 0b3898baf614 (\Linux 4.4.233-rc1\)
> git_sha: 0b3898baf61459e1f963dcf893b4683174668975
> git_describe: v4.4.232-33-g0b3898baf614
> kernel_version: 4.4.233-rc1
>
> make -sk KBUILD_BUILD_USER=TuxBuild -C/linux -j16 ARCH=arm64
> CROSS_COMPILE=aarch64-linux-gnu- HOSTCC=gcc CC="sccache
> aarch64-linux-gnu-gcc" O=build Image
> #
> ../arch/arm64/kernel/hw_breakpoint.c: In function ‘arch_bp_generic_fields’:
> ../arch/arm64/kernel/hw_breakpoint.c:348:5: note: parameter passing
> for argument of type ‘struct arch_hw_breakpoint_ctrl’ changed in GCC
> 9.1
> 348 | int arch_bp_generic_fields(struct arch_hw_breakpoint_ctrl ctrl,
> | ^~~~~~~~~~~~~~~~~~~~~~
> ../fs/ext4/inode.c: In function ‘ext4_direct_IO’:
> ../fs/ext4/inode.c:3355:9: error: ‘offset’ redeclared as different
> kind of symbol
> 3355 | loff_t offset = iocb->ki_pos;
> | ^~~~~~
> ../fs/ext4/inode.c:3349:17: note: previous definition of ‘offset’ was here
> 3349 | loff_t offset)
> | ~~~~~~~^~~~~~
This looks like a breakage from "ext4: fix direct I/O read error" where for
4.4 the patch needs to be updated (addition of the line
"loff_t offset = iocb->ki_pos;" needs to be removed from the patch because
'offset' is already passed from the caller. Jiang, will you update the patch
for 4.4 kernels please?
Honza
> make[3]: *** [../scripts/Makefile.build:277: fs/ext4/inode.o] Error 1
> make[3]: Target '__build' not remade because of errors.
> make[2]: *** [../scripts/Makefile.build:484: fs/ext4] Error 2
> ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:32:36: warning:
> array ‘xgene_enet_acpi_match’ assumed to have one element
> 32 | static const struct acpi_device_id xgene_enet_acpi_match[];
> | ^~~~~~~~~~~~~~~~~~~~~
> make[2]: Target '__build' not remade because of errors.
> make[1]: *** [/linux/Makefile:1006: fs] Error 2
> make[1]: Target 'Image' not remade because of errors.
> make: *** [Makefile:152: sub-make] Error 2
> make: Target 'Image' not remade because of errors.
>
> --
> Linaro LKFT
> https://lkft.linaro.org
--
Jan Kara <jack@suse.com>
SUSE Labs, CR
prev parent reply other threads:[~2020-08-06 11:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-05 17:12 stable rc 4.4 - v4.4.232-33-g0b3898baf614 - build breaks on arm64, arm, x86_64 and i386 Naresh Kamboju
2020-08-06 9:29 ` Jan Kara [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200806092959.GB1313@quack2.suse.cz \
--to=jack@suse.cz \
--cc=adilger.kernel@dilger.ca \
--cc=gregkh@linuxfoundation.org \
--cc=jiangying8582@126.com \
--cc=linux-ext4@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lkft-triage@lists.linaro.org \
--cc=naresh.kamboju@linaro.org \
--cc=sashal@kernel.org \
--cc=stable@vger.kernel.org \
--cc=tytso@mit.edu \
--cc=wanglong19@meituan.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).