[opensuse-factory] xtables-addons-kmp: stripping debug info fails randomly during build
I'm stumped by the bug below: https://bugzilla.opensuse.org/show_bug.cgi?id=1076650 Despite the sources not having been changed in over 2 months, building this package fails to build some kernel modules. With every change of the kernel, several modules will fail to build with the below messages. There doesn't seem to be a pattern here. Previously failing modules may build successfully after a kernel update (and vice versa). [ 82s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/xtables-addons-2.14-1.31.x86_64/lib/modules/4.14.15-2-default/extra/xt_ECHO.ko [ 82s] objcopy: /home/abuild/rpmbuild/BUILDROOT/xtables-addons-2.14-1.31.x86_64/lib/modules/4.14.15-2-default/extra/compat_xtables.ko: invalid string offset 82388 >= 246 for section `ymtab' and [ 82s] objcopy: /home/abuild/rpmbuild/BUILDROOT/xtables-addons-2.14-1.31.x86_64/lib/modules/4.14.15-2-default/extra/compat_xtables.ko: invalid relocation type 106 [ 82s] objcopy: BFD (GNU Binutils; openSUSE Tumbleweed) 2.29.1 assertion fail ../../bfd/elf64-x86-64.c:351 and [ 87s] (GNU Binutils; openSUSE Tumbleweed) 2.29.1objcopy: assertion fail BFD ../../bfd/elf64-x86-64.c(GNU Binutils; openSUSE Tumbleweed) 2.29.1: assertion fail 351../../bfd/elf64-x86-64.c [ 87s] :objcopy: 351 [ 87s] /home/abuild/rpmbuild/BUILDROOT/xtables-addons-2.14-1.31.x86_64/lib/modules/4.14.15-2-default/extra/xt_ACCOUNT.ko: invalid relocation type objcopy: 99/home/abuild/rpmbuild/BUILDROOT/xtables-addons-2.14-1.31.x86_64/lib/modules/4.14.15-2-default/extra/xt_pknock.ko [ 87s] : invalid relocation type objcopy: 49BFD As a result, the modules that show this during build emit errors during installation/upgrade of the xtables-addons-kmp package (see bugreport for full log). depmod: WARNING: //lib/modules/4.14.15-1-default/extra/xt_iface.ko needs unknown symbol (null) depmod: WARNING: //lib/modules/4.14.15-1-default/extra/xt_iface.ko needs unknown symbol 4.14.15-1-default SMP preempt mod_unload modversions retpoline depmod: WARNING: //lib/modules/4.14.15-1-default/extra/xt_iface.ko needs unknown symbol depmod: WARNING: //lib/modules/4.14.15-1-default/extra/xt_iface.ko needs unknown symbol depmod: WARNING: //lib/modules/4.14.15-1-default/extra/xt_iface.ko needs unknown symbol � What the heck is going on here? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Thu, 1 Feb 2018, Arjen de Korte wrote:
I'm stumped by the bug below:
https://bugzilla.opensuse.org/show_bug.cgi?id=1076650
Despite the sources not having been changed in over 2 months, building this package fails to build some kernel modules. With every change of the kernel, several modules will fail to build with the below messages. There doesn't seem to be a pattern here. Previously failing modules may build successfully after a kernel update (and vice versa).
[ 82s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/xtables-addons-2.14-1.31.x86_64/lib/modules/4.14.15-2-default/extra/xt_ECHO.ko [ 82s] objcopy: /home/abuild/rpmbuild/BUILDROOT/xtables-addons-2.14-1.31.x86_64/lib/modules/4.14.15-2-default/extra/compat_xtables.ko: invalid string offset 82388 >= 246 for section `ymtab'
Looks like boo#1076819 which was fixed recently.
and
[ 82s] objcopy: /home/abuild/rpmbuild/BUILDROOT/xtables-addons-2.14-1.31.x86_64/lib/modules/4.14.15-2-default/extra/compat_xtables.ko: invalid relocation type 106 [ 82s] objcopy: BFD (GNU Binutils; openSUSE Tumbleweed) 2.29.1 assertion fail ../../bfd/elf64-x86-64.c:351
and
[ 87s] (GNU Binutils; openSUSE Tumbleweed) 2.29.1objcopy: assertion fail BFD ../../bfd/elf64-x86-64.c(GNU Binutils; openSUSE Tumbleweed) 2.29.1: assertion fail 351../../bfd/elf64-x86-64.c [ 87s] :objcopy: 351 [ 87s] /home/abuild/rpmbuild/BUILDROOT/xtables-addons-2.14-1.31.x86_64/lib/modules/4.14.15-2-default/extra/xt_ACCOUNT.ko: invalid relocation type objcopy: 99/home/abuild/rpmbuild/BUILDROOT/xtables-addons-2.14-1.31.x86_64/lib/modules/4.14.15-2-default/extra/xt_pknock.ko [ 87s] : invalid relocation type objcopy: 49BFD
As a result, the modules that show this during build emit errors during installation/upgrade of the xtables-addons-kmp package (see bugreport for full log).
depmod: WARNING: //lib/modules/4.14.15-1-default/extra/xt_iface.ko needs unknown symbol (null) depmod: WARNING: //lib/modules/4.14.15-1-default/extra/xt_iface.ko needs unknown symbol 4.14.15-1-default SMP preempt mod_unload modversions retpoline depmod: WARNING: //lib/modules/4.14.15-1-default/extra/xt_iface.ko needs unknown symbol depmod: WARNING: //lib/modules/4.14.15-1-default/extra/xt_iface.ko needs unknown symbol depmod: WARNING: //lib/modules/4.14.15-1-default/extra/xt_iface.ko needs unknown symbol �
What the heck is going on here?
-- Richard Biener <rguenther@suse.de> SUSE LINUX GmbH, GF: Felix Imendoerffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nuernberg)
participants (2)
-
Arjen de Korte
-
Richard Biener