[asterisk-bugs] [JIRA] (DAHLIN-371) Kernel 5.2 XPP build failures
Sebastian Kemper (JIRA)
noreply at issues.asterisk.org
Sat Apr 25 02:10:25 CDT 2020
[ https://issues.asterisk.org/jira/browse/DAHLIN-371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=250533#comment-250533 ]
Sebastian Kemper commented on DAHLIN-371:
-----------------------------------------
Hello Jaco and Anthony,
I tried the attached patch and it removed two of the errors. But it did tell me what to search for :) I found a patch from PLD Linux ([1]) which fixes the errors. It does add some warnings on top, though.
We have some build failures on OpenWrt, for a select number of 32bit targets, since most targets were moved up to kernel 5.4. For instance i386 and some powerpc. I sent a pull request to package maintainer ([2]).
I don't have hardware to test the patch. But it does lead to a successful compile.
Best regards,
Seb
[1] https://github.com/pld-linux/dahdi-linux/blob/master/math64.patch
[2] https://github.com/openwrt/telephony/pull/524
> Kernel 5.2 XPP build failures
> -----------------------------
>
> Key: DAHLIN-371
> URL: https://issues.asterisk.org/jira/browse/DAHLIN-371
> Project: DAHDI-Linux
> Issue Type: Bug
> Security Level: None
> Components: Astribank (xpp)
> Affects Versions: 3.0.0, 3.1.0
> Environment: Fedora 30 x86_64
> Reporter: Anthony Messina
> Assignee: Keith Morgan
> Labels: patch
> Attachments: 05-dahdi-3.1.0-r1-div_s64-for-32-bit-arches.patch
>
>
> The following build issues prevent successful compilation for ix86 builds:
> {code}
> make[1]: Entering directory '/usr/src/kernels/5.2.8-200.fc30.i686'
> Building modules, stage 2.
> make[1]: Leaving directory '/usr/src/kernels/5.2.8-200.fc30.i686'
> MODPOST 27 modules
> BUILDSTDERR: ERROR: "__divdi3" [/builddir/build/BUILD/dahdi-linux-kmod-3.0.0/_kmod_build_5.2.8-200.fc30.i686/drivers/dahdi/xpp/xpp_usb.ko] undefined!
> BUILDSTDERR: ERROR: "__udivdi3" [/builddir/build/BUILD/dahdi-linux-kmod-3.0.0/_kmod_build_5.2.8-200.fc30.i686/drivers/dahdi/xpp/xpp_usb.ko] undefined!
> BUILDSTDERR: ERROR: "__moddi3" [/builddir/build/BUILD/dahdi-linux-kmod-3.0.0/_kmod_build_5.2.8-200.fc30.i686/drivers/dahdi/xpp/xpp.ko] undefined!
> BUILDSTDERR: ERROR: "__divdi3" [/builddir/build/BUILD/dahdi-linux-kmod-3.0.0/_kmod_build_5.2.8-200.fc30.i686/drivers/dahdi/xpp/xpp.ko] undefined!
> BUILDSTDERR: make[2]: *** [scripts/Makefile.modpost:91: __modpost] Error 1
> BUILDSTDERR: make[1]: *** [Makefile:1605: modules] Error 2
> BUILDSTDERR: make: *** [Makefile:74: modules] Error 2
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list