[Bug 1695093] Re: arm64: "unsupported RELA relocation: 275" loading certain modules

dann frazier dann.frazier at canonical.com
Tue Nov 14 15:29:02 UTC 2017


I've verified that this is resolved in both linux_4.4.0-101.124 and
linux-hwe_4.10.0-40.44~16.04.1.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-5 in Ubuntu.
https://bugs.launchpad.net/bugs/1695093

Title:
  arm64: "unsupported RELA relocation: 275" loading certain modules

Status in Linux:
  In Progress
Status in gcc-5 package in Ubuntu:
  Fix Released
Status in gcc-6 package in Ubuntu:
  Fix Released
Status in linux package in Ubuntu:
  Triaged
Status in gcc-5 source package in Xenial:
  Fix Released
Status in gcc-6 source package in Xenial:
  Invalid
Status in linux source package in Xenial:
  Fix Committed
Status in gcc-5 source package in Yakkety:
  Won't Fix
Status in gcc-6 source package in Yakkety:
  Won't Fix
Status in linux source package in Yakkety:
  Won't Fix
Status in gcc-5 source package in Zesty:
  Triaged
Status in gcc-6 source package in Zesty:
  Triaged
Status in linux source package in Zesty:
  Fix Committed

Bug description:
  [Impact]
  Certain kernel modules are unloadable (libceph & scsi_debug) due to the compiler generating unsupported relocations.

  This symptom is similar to LP: #1533009 but, in that case it impacted
  all modules, and the fix for that appears to remain in place.

  [Test Case]

  With the hwe-z kernel:

  ubuntu at grotian:~$ sudo modprobe libceph
  modprobe: ERROR: could not insert 'libceph': Exec format error
  ubuntu at grotian:~$ dmesg
  [66988.470307] module libceph: unsupported RELA relocation: 275

  [Regression Risk]
  The scope of the fix is restricted to aarch64, so regressions should only impact the arm64 port of Ubuntu. Regressions could impact when literal loads are used - which may have performance impacts or possibly cause software to fail to build/run where it previously did. This is somewhat mitigated by the fact that this has been fixed in artful gcc-5/gcc-6 and used on our buildds for some time. Only "somewhat", because gcc-7 is now the default.

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1695093/+subscriptions



More information about the foundations-bugs mailing list