Re: arch/parisc/mm/init.c:534:29: error: invalid application of 'sizeof' to incomplete type 'struct shmid64_ds'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 19 Dec 2023 at 16:02, Naresh Kamboju <naresh.kamboju@xxxxxxxxxx> wrote:
>
> Following build failures noticed on parisc on Linux next-20231219 tag.
>
> parisc:
>   build:
>     * gcc-11-defconfig - Failed
>     * gcc-11-allnoconfig - Failed
>     * gcc-11-tinyconfig - Failed
>
> Build error:
> arch/parisc/mm/init.c: In function 'mem_init':
> arch/parisc/mm/init.c:534:29: error: invalid application of 'sizeof'
> to incomplete type 'struct shmid64_ds'
>   534 |         BUILD_BUG_ON(sizeof(struct shmid64_ds) != 104);
>       |                             ^~~~~~
>
> Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx>
>
> Steps to reproduce:
>
>  tuxmake --runtime podman --target-arch parisc --toolchain gcc-11
> --kconfig defconfig

A bisection showed this patch as the faulty 1e462c05f65b ("shm: Slim
down dependencies")
Revering this patch made it build.

$ git bisect start next-20231219 next/stable && git bisect run tuxmake
--runtime podman --target-arch parisc --toolchain gcc-11 --kconfig
tinyconfig

Biseclog:
# bad: [aa4db8324c4d0e67aa4670356df4e9fae14b4d37] Add linux-next
specific files for 20231219
# good: [2cf4f94d8e8646803f8fb0facf134b0cd7fb691a] Merge tag
'scsi-fixes' of
git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
git bisect start 'next-20231219' 'next/stable'
# good: [0762a5de2bd30a12821e519cbe722df9914da98a] Merge branch 'main'
of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git
git bisect good 0762a5de2bd30a12821e519cbe722df9914da98a
# good: [19ac9eb1d925e26d8828f8ab1525696bad1b54c3] Merge branch 'next'
of git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd.git
git bisect good 19ac9eb1d925e26d8828f8ab1525696bad1b54c3
# good: [bf9602022c6726f0f8f888ba244d408661be5337] Merge branch
'char-misc-next' of
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git
git bisect good bf9602022c6726f0f8f888ba244d408661be5337
# good: [9c6484cc7a133a7c54b8a1e195ec9083489e485b] Merge branch
'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux.git
git bisect good 9c6484cc7a133a7c54b8a1e195ec9083489e485b
# good: [b3f7f46b85e7c1339cf2e55f1061a666147ccfe6] Merge branch
'rtc-next' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.git
git bisect good b3f7f46b85e7c1339cf2e55f1061a666147ccfe6
# good: [db2aea8e313f69f90beadbba97f400fe255168d4] Merge branch
'bitmap-for-next' of https://github.com/norov/linux.git
git bisect good db2aea8e313f69f90beadbba97f400fe255168d4
# good: [14a3e64715ea0a5853dd6a6876737c845f8aafb0] Merge branch
'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git
git bisect good 14a3e64715ea0a5853dd6a6876737c845f8aafb0
# good: [b5759b6b16cb2b34e909d74f7b7f0b9e9a7590a9] rslib: kill bogus
dependency on list.h
git bisect good b5759b6b16cb2b34e909d74f7b7f0b9e9a7590a9
# bad: [f0a0cf5525892479795a5d1e1b81115a12915dee] seccomp: Split out
seccomp_types.h
git bisect bad f0a0cf5525892479795a5d1e1b81115a12915dee
# bad: [ea42bc1b4b8f04b8467e38f3e44e71cce372f1ab] ipc: Kill bogus
dependency on spinlock.h
git bisect bad ea42bc1b4b8f04b8467e38f3e44e71cce372f1ab
# good: [cd862cb689a09e55debd107df26744027a5fff8b] timers: Split out
timer_types.h
git bisect good cd862cb689a09e55debd107df26744027a5fff8b
# bad: [1e462c05f65b452f0e2e996ec97484dba9e95358] shm: Slim down dependencies
git bisect bad 1e462c05f65b452f0e2e996ec97484dba9e95358
# good: [840b9d9bfcfdc5ca12ce1af35a3ea10f05fda799] workqueue: Split
out workqueue_types.h
git bisect good 840b9d9bfcfdc5ca12ce1af35a3ea10f05fda799
# first bad commit: [1e462c05f65b452f0e2e996ec97484dba9e95358] shm:
Slim down dependencies


Cheers,
Anders

>
>
>
> Links:
> - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20231219/testrun/21768759/suite/build/test/gcc-11-defconfig/log
>  - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20231219/testrun/21768759/suite/build/tests/
>
>
>
> --
> Linaro LKFT
> https://lkft.linaro.org




[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux