linux-next: build failure after merge of almost all the trees
Subsystems (2)
Hi all,
Today's linux-next build (powerpc allyesconfig) failed like this:
fs/ntfs/aops.c: In function 'ntfs_write_mst_block':fs/ntfs/aops.c:1311:1: error: the frame size of 2304 bytes is larger than 2048 bytes [-Werror=frame-larger-than=]
1311 | }
| ^
cc1: all warnings being treated as errors
I have no idea what has caused this.
I have disabled ntfs for now.
Signature · 2 lines
Cheers, Stephen Rothwell
Hi all,
Quoted 10 lines · On Thu, 28 Oct 2021 21:26:51 +1100 Stephen Rothwell <[email protected]>…
Today's linux-next build (powerpc allyesconfig) failed like this:
fs/ntfs/aops.c: In function 'ntfs_write_mst_block':fs/ntfs/aops.c:1311:1: error: the frame size of 2304 bytes is larger than 2048 bytes [-Werror=frame-larger-than=]
1311 | }| ^cc1: all warnings being treated as errors
I have no idea what has caused this.
With a nudge from Arnd, it seems the immediate case was commit
f22969a66041 ("powerpc/64s: Default to 64K pages for 64 bit book3s")
from the powerpc tree switching the allyesconfig build from 4k pages to 64k pages which expanded a few arrays on the stack in that function.
Signature · 2 lines
Cheers, Stephen Rothwell
Hi all,
Quoted 13 lines · On Thu, 28 Oct 2021 23:38:44 +1100 Stephen Rothwell <[email protected]>…
Hi all,
Quoted 9 lines · On Thu, 28 Oct 2021 21:26:51 +1100 Stephen Rothwell <[email protected]>…
Today's linux-next build (powerpc allyesconfig) failed like this:
fs/ntfs/aops.c: In function 'ntfs_write_mst_block':fs/ntfs/aops.c:1311:1: error: the frame size of 2304 bytes is larger than 2048 bytes [-Werror=frame-larger-than=]
1311 | }| ^cc1: all warnings being treated as errors
Quoted 8 lines
Quoted 1 line
I have no idea what has caused this.
With a nudge from Arnd, it seems the immediate case was commit
f22969a66041("powerpc/64s: Default to 64K pages for 64 bit book3s")from the powerpc tree switching the allyesconfig build from 4k pages to 64k pages which expanded a few arrays on the stack in that function.
Can we do something about this, please?
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 19 lines · Stephen Rothwell
Hi all,
Quoted 15 lines · On Thu, 28 Oct 2021 23:38:44 +1100 Stephen Rothwell <[email protected]>…
Hi all,
Quoted 10 lines · On Thu, 28 Oct 2021 21:26:51 +1100 Stephen Rothwell <[email protected]>…
Today's linux-next build (powerpc allyesconfig) failed like this:
fs/ntfs/aops.c: In function 'ntfs_write_mst_block':fs/ntfs/aops.c:1311:1: error: the frame size of 2304 bytes is larger than 2048 bytes [-Werror=frame-larger-than=]
1311 | }| ^cc1: all warnings being treated as errors
I have no idea what has caused this.
Quoted 8 lines
Quoted 6 lines
With a nudge from Arnd, it seems the immediate case was commit
f22969a66041("powerpc/64s: Default to 64K pages for 64 bit book3s")from the powerpc tree switching the allyesconfig build from 4k pages to 64k pages which expanded a few arrays on the stack in that function.
Can we do something about this, please?
I submitted a workaround a while ago. Anton didn't like it, but has not come up with a proper fix in ntfs either:
https://lore.kernel.org/lkml/[email protected]/
It does need to be changed a bit as I realized it depends on a rework of the Kconfig logic that I had in my randconfig build tree to have a common page size symbol across architectures. Without my other patch, it also needs to check for PPC_64K_PAGES.
Should I send an updated version of the patch?
Arnd
Hi Arnd,
Quoted 29 lines · On Tue, 2 Nov 2021 08:06:10 +0100 Arnd Bergmann <[email protected]> wrote:
Quoted 15 lines · Stephen Rothwell
Quoted 13 lines · On Thu, 28 Oct 2021 23:38:44 +1100 Stephen Rothwell <[email protected]>…
Quoted 10 lines · On Thu, 28 Oct 2021 21:26:51 +1100 Stephen Rothwell <[email protected]>…
Today's linux-next build (powerpc allyesconfig) failed like this:
fs/ntfs/aops.c: In function 'ntfs_write_mst_block':fs/ntfs/aops.c:1311:1: error: the frame size of 2304 bytes is larger than 2048 bytes [-Werror=frame-larger-than=]
1311 | }| ^cc1: all warnings being treated as errors
I have no idea what has caused this.
Quoted 8 lines
Quoted 6 lines
With a nudge from Arnd, it seems the immediate case was commit
f22969a66041("powerpc/64s: Default to 64K pages for 64 bit book3s")from the powerpc tree switching the allyesconfig build from 4k pages to 64k pages which expanded a few arrays on the stack in that function.
Can we do something about this, please?
I submitted a workaround a while ago. Anton didn't like it, but has not come up with a proper fix in ntfs either:
Quoted 8 lines
https://lore.kernel.org/lkml/[email protected]/
It does need to be changed a bit as I realized it depends on a rework of the
Kconfiglogic that I had in my randconfig build tree to have a common page size symbol across architectures. Without my other patch, it also needs to check forPPC_64K_PAGES.Should I send an updated version of the patch?
That would be good, thanks.
Even better would be to split up the function some how, but having had a bit of a look at it, that may be a much longer job. I am assuming that allocations (or their failure) are out of the question in that particular function.
Signature · 2 lines
Cheers, Stephen Rothwell
Hi all,
Quoted 38 lines · On Tue, 2 Nov 2021 23:13:07 +1100 Stephen Rothwell <[email protected]> wrote:
Quoted 36 lines · On Tue, 2 Nov 2021 08:06:10 +0100 Arnd Bergmann <[email protected]> wrote:
Quoted 15 lines · Stephen Rothwell
Quoted 13 lines · On Thu, 28 Oct 2021 23:38:44 +1100 Stephen Rothwell <[email protected]>…
Quoted 10 lines · On Thu, 28 Oct 2021 21:26:51 +1100 Stephen Rothwell <[email protected]>…
Today's linux-next build (powerpc allyesconfig) failed like this:
fs/ntfs/aops.c: In function 'ntfs_write_mst_block':fs/ntfs/aops.c:1311:1: error: the frame size of 2304 bytes is larger than 2048 bytes [-Werror=frame-larger-than=]
1311 | }| ^cc1: all warnings being treated as errors
I have no idea what has caused this.
Quoted 8 lines
Quoted 6 lines
With a nudge from Arnd, it seems the immediate case was commit
f22969a66041("powerpc/64s: Default to 64K pages for 64 bit book3s")from the powerpc tree switching the allyesconfig build from 4k pages to 64k pages which expanded a few arrays on the stack in that function.
Can we do something about this, please?
I submitted a workaround a while ago. Anton didn't like it, but has not come up with a proper fix in ntfs either:
https://lore.kernel.org/lkml/[email protected]/
It does need to be changed a bit as I realized it depends on a rework of the
Kconfiglogic that I had in my randconfig build tree to have a common page size symbol across architectures. Without my other patch, it also needs to check forPPC_64K_PAGES.
Quoted 8 lines
Quoted 1 line
Should I send an updated version of the patch?
That would be good, thanks.
Even better would be to split up the function some how, but having had a bit of a look at it, that may be a much longer job. I am assuming that allocations (or their failure) are out of the question in that particular function.
Looking again, we probably just need to disable CONFIG_NTFS_RW ...
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 9 lines · Stephen Rothwell
Quoted 8 lines · On Tue, 2 Nov 2021 23:13:07 +1100 Stephen Rothwell <[email protected]> wrote:
Quoted 7 lines · On Tue, 2 Nov 2021 08:06:10 +0100 Arnd Bergmann <[email protected]> wrote:
On Tue, Nov 2, 2021 at 7:44 AM Stephen Rothwell <[email protected]> wrote:
It does need to be changed a bit as I realized it depends on a rework of the
Kconfiglogic that I had in my randconfig build tree to have a common page size symbol across architectures. Without my other patch, it also needs to check forPPC_64K_PAGES.
Quoted 6 lines
Quoted 6 lines
Quoted 1 line
Should I send an updated version of the patch?
That would be good, thanks.
Even better would be to split up the function some how, but having had a bit of a look at it, that may be a much longer job.
Yes, that was my initial conclusion when I looked at the code trying to redo that loop.
Quoted 5 lines
Quoted 3 lines
I am assuming
that allocations (or their failure) are out of the question in that particular function.Looking again, we probably just need to disable
CONFIG_NTFS_RW...
Ah right, that would work as well. Another possibility would be to change NTFS_BLOCK_SIZE to 4096, at least in the affected configurations.
According to the documentation I linked to in my commit, file system images with smaller block sizes should be extremely rare, but I have no idea if the code would work correctly for normal images after that change.
Arnd
Hi all,
Quoted 8 lines · On Thu, 28 Oct 2021 21:26:51 +1100 Stephen Rothwell <[email protected]>…
Hi all,
Today's linux-next build (powerpc allyesconfig) failed like this:
fs/ntfs/aops.c: In function 'ntfs_write_mst_block':fs/ntfs/aops.c:1311:1: error: the frame size of 2304 bytes is larger than 2048 bytes [-Werror=frame-larger-than=]
1311 | }
Quoted 6 lines
| ^cc1: all warnings being treated as errors
I have no idea what has caused this.
I have disabled ntfs for now.
So from today, I have used this instead (i.e. disable CONFIG_NTFS_RW):
From: Stephen Rothwell <[email protected]>
Date: Wed, 3 Nov 2021 15:17:17 +1100
Subject: [PATCH] Mark NTFS_RW as BROKEN
it currently breaks the ppc allyesonfig build
--- fs/ntfs/Kconfig | 1 + 1 file changed, 1 insertion(+)
fs/ntfs/Kconfig +1 -0
@@ -52,6 +52,7 @@ config NTFS_DEBUG config NTFS_RW bool "NTFS write support" depends on NTFS_FS + depends on BROKEN help This enables the partial, but safe, write support in the NTFS driver.
Signature · 5 lines
2.33.0 -- Cheers, Stephen Rothwell