[Bug 1696710] Re: Ubuntu 16.04.02: depmod: WARNING: <module-path> needs unknown symbol .TOC.
Manoj Iyer
1696710 at bugs.launchpad.net
Tue Jul 25 18:56:02 UTC 2017
Building Zesty kernel source in Xenial series in launchpad PPA, I am
able to reproduce this bug:
many such messages:
depmod: WARNING: /<<PKGBUILDDIR>>/debian/linux-image-4.10.0-29-generic/lib/modules/4.10.0-29-generic/kernel/zfs/splat/splat.ko needs unknown symbol .TOC.
EE: Unresolved module dependencies in base package!
debian/rules.d/2-binary-arch.mk:109: recipe for target 'install-generic' failed
make: *** [install-generic] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary-arch gave error exit status 2
--------------------------------------------------------------------------------
Build finished at 20170725-1711
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to kmod in Ubuntu.
https://bugs.launchpad.net/bugs/1696710
Title:
Ubuntu 16.04.02: depmod: WARNING: <module-path> needs unknown symbol
.TOC.
Status in The Ubuntu-power-systems project:
New
Status in kmod package in Ubuntu:
Fix Released
Status in kmod source package in Xenial:
Fix Committed
Bug description:
== Comment: #0 - Douglas Miller <dougmill at us.ibm.com> - 2017-01-24 07:59:54 ==
---Problem Description---
depmod does not handle .TOC symbol on powerpc platforms
Contact Information = Douglas Miller <dougmill at linux.vnet.ibm.com>
---uname output---
Linux p8le03 4.4.0-38-generic #57-Ubuntu SMP Tue Sep 6 15:40:06 UTC 2016 ppc64le ppc64le ppc64le GNU/Linux
Machine Type = other
---Debugger---
A debugger is not configured
---Steps to Reproduce---
Compile kernel, during modules_install target the messages appear. PPC64 modules have a .TOC symbol which is required. It may be the only symbol with a period in the name, and so tools that restrict symbols based on a pattern may neglect to include .TOC.
Userspace tool common name: depmod
The userspace tool has the following bit modes: 64
Userspace rpm: libkmod2:ppc64el
Userspace tool obtained from project website: na
*Additional Instructions for Douglas Miller <dougmill at linux.vnet.ibm.com>:
-Attach ltrace and strace of userspace application.
== Comment: #3 - Douglas Miller <dougmill at us.ibm.com> - 2017-01-24 08:12:58 ==
kmod package:
# dpkg --list |grep kmod
ii kmod 22-1ubuntu4 ppc64el tools for managing Linux kernel modules
ii libkmod2:ppc64el 22-1ubuntu4 ppc64el libkmod shared library
== Comment: #7 - Douglas Miller <dougmill at us.ibm.com> - 2017-06-07 16:20:38 ==
I was doing a build of upstream origin/master on Ubuntu 16.04.2 fresh install and still getting these messages. In the "make modules_install" output I see:
...
DEPMOD 4.12.0-rc4
depmod: WARNING: /lib/modules/4.12.0-rc4/kernel/arch/powerpc/kernel/rtas_flash.ko needs unknown symb
ol .TOC.
...
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1696710/+subscriptions
More information about the foundations-bugs
mailing list