From: Cyril Hrubis <chrubis@suse.cz>
To: samir mulani <samirmulani93@gmail.com>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] LTP build failure with 5.14 on ppc64le
Date: Fri, 20 May 2022 12:58:44 +0200 [thread overview]
Message-ID: <Yod0ZMHdBbBIECVz@yuki> (raw)
In-Reply-To: <CADqa+6x0pWEC3LSZiCqBqJ1pTDfU_nPjAGCwPHjC-K=jS+gbpw@mail.gmail.com>
Hi!
> make -C /lib/modules/5.14.21-150400.19-default/build
> M=/Workspace/ltp-master/testcases/kernel/device-drivers/acpi
> CC [M] /Workspace/ltp-master/testcases/kernel/device-drivers/acpi/ltp_acpi_cmds.o
> /Workspace/ltp-master/testcases/kernel/device-drivers/acpi/ltp_acpi_cmds.c:
> In function 'get_sysfs_path':
> /Workspace/ltp-master/testcases/kernel/device-drivers/acpi/ltp_acpi_cmds.c:132:11:
> error: implicit declaration of function 'acpi_bus_get_device'; did you
> mean 'acpi_get_gpe_device'? [-Werror=implicit-function-declaration]
> status = acpi_bus_get_device(handle, &device);
> ^~~~~~~~~~~~~~~~~~~
> acpi_get_gpe_device
> /Workspace/ltp-master/testcases/kernel/device-drivers/acpi/ltp_acpi_cmds.c:134:40:
> error: dereferencing pointer to incomplete type 'struct acpi_device'
> sysfs_path = kobject_get_path(&device->dev.kobj, GFP_KERNEL);
> ^~
> /Workspace/ltp-master/testcases/kernel/device-drivers/acpi/ltp_acpi_cmds.c:
> In function 'acpi_test_bus':
> /Workspace/ltp-master/testcases/kernel/device-drivers/acpi/ltp_acpi_cmds.c:407:11:
> error: implicit declaration of function 'acpi_bus_update_power'; did
> you mean 'acpi_os_trace_point'?
> [-Werror=implicit-function-declaration]
> status = acpi_bus_update_power(device->handle, &state);
> ^~~~~~~~~~~~~~~~~~~~~
> acpi_os_trace_point
> cc1: some warnings being treated as errors
> make[7]: *** [/usr/src/linux-5.14.21-150400.19/scripts/Makefile.build:272:
> /Workspace/ltp-master/testcases/kernel/device-drivers/acpi/ltp_acpi_cmds.o]
> Error 1
> make[6]: *** [/usr/src/linux-5.14.21-150400.19/Makefile:1882:
> /Workspace/ltp-master/testcases/kernel/device-drivers/acpi] Error 2
> make[5]: *** [../../../linux-5.14.21-150400.19/Makefile:220: __sub-make] Error 2
> make[4]: [../../../../include/mk/module.mk:62: .dep_modules] Error 2 (ignored)
> rm -rf *.mod.c *.o *.ko.unsigned modules.order .tmp* .*.ko .*.cmd Module.symvers
> CC testcases/kernel/device-drivers/block/block_dev_user/block_dev
That's just a LTP kernel module build failure, the modules we have in
LTP does not support all kernel versions and may fail to build. This is
not treated as an error by the build system and when the module fails to
build the test is skipped when tests are executed.
--
Cyril Hrubis
chrubis@suse.cz
--
Mailing list info: https://lists.linux.it/listinfo/ltp
next prev parent reply other threads:[~2022-05-20 10:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-20 10:46 [LTP] LTP build failure with 5.14 on ppc64le samir mulani
2022-05-20 10:58 ` Cyril Hrubis [this message]
2022-05-20 11:00 ` samir mulani
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=Yod0ZMHdBbBIECVz@yuki \
--to=chrubis@suse.cz \
--cc=ltp@lists.linux.it \
--cc=samirmulani93@gmail.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