Bug 1205870 - s390x: Kernel module fails to build due to missing object file
Summary: s390x: Kernel module fails to build due to missing object file
Status: NEW
Alias: None
Product: openSUSE.org
Classification: openSUSE
Component: BuildService (show other bugs)
Version: unspecified
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: openSUSE Kernel Bugs
QA Contact: Adrian Schröter
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-30 07:01 UTC by Stephan Müller
Modified: 2022-12-29 06:46 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Müller 2022-11-30 07:01:33 UTC
The build of a kernel module fails on s390x using OBS. Building on other architectures succeeds. The error is:

[ 1213s] ld: cannot find arch/s390/lib/expoline/expoline.o: No such file or directory
[ 1213s] make[3]: *** [/usr/src/linux-6.0.8-1/scripts/Makefile.modfinal:59: /home/abuild/rpmbuild/BUILD/leancrypto-0.5.0/obj/default/linux_kernel/leancrypto.ko] Error 1
[ 1213s] make[2]: *** [/usr/src/linux-6.0.8-1/scripts/Makefile.modpost:140: __modpost] Error 2
[ 1213s] make[1]: *** [../../../linux-6.0.8-1/Makefile:1780: modules] Error 2
[ 1213s] make[1]: Leaving directory '/usr/src/linux-6.0.8-1-obj/s390x/default'

See [1] for the complete build and error log.

[1] https://build.opensuse.org/project/show/home:smuellerDD
Comment 1 Stephan Müller 2022-12-04 18:52:56 UTC
I think the solution is found in the following patch:

https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1756/diffs?commit_id=d6074e34ae5027baedb474b9269173650171c0da