← Back to team overview

kernel-packages team mailing list archive

[Bug 1318848] Re: [ppc64el] external kernel module builds fail looking for missing crtsavres.o

 

I've verified this was fixed in 3.13.0-29.53. Thanks!

** Tags removed: verification-needed-trusty
** Tags added: verification-done-trusty

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1318848

Title:
  [ppc64el] external kernel module builds fail looking for missing
  crtsavres.o

Status in “linux” package in Ubuntu:
  Fix Released
Status in “linux” source package in Trusty:
  Fix Released
Status in “linux” source package in Utopic:
  Fix Released

Bug description:
  Attempting build even a simple hello world kernel on ppc64el fails
  with the following error:

    /usr/bin/ld.bfd.real: cannot find arch/powerpc/lib/crtsavres.o: No
  such file or directory

  To reproduce, the Hello World kernel module from
  http://tldp.org/LDP/lkmpg/2.6/html/x121.html#AEN128 , using it and the
  Makefile at http://tldp.org/LDP/lkmpg/2.6/html/x181.html#AEN189 ,
  gives the following result:

    $ make
    make -C /lib/modules/3.13.0-24-generic/build M=/home/sbeattie/tmp/hello modules
    make[1]: Entering directory `/usr/src/linux-headers-3.13.0-24-generic'
      CC [M]  /home/sbeattie/tmp/hello/hello-1.o
      Building modules, stage 2.
      MODPOST 1 modules
      CC      /home/sbeattie/tmp/hello/hello-1.mod.o
      LD [M]  /home/sbeattie/tmp/hello/hello-1.ko
    /usr/bin/ld.bfd.real: cannot find arch/powerpc/lib/crtsavres.o: No such file or directory
    make[2]: *** [/home/sbeattie/tmp/hello/hello-1.ko] Error 1
    make[1]: *** [modules] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-24-generic'
    make: *** [all] Error 2

  A similar build failure is reproduced with the test-kernel-
  security.py:test_072_strict_devmem() test failure from the lp:qa-
  regression-testing tree.

  Seen with 3.13.0-24.46 and 3.13.0-24.47.

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


References