← Back to team overview

kernel-packages team mailing list archive

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

 

This bug was fixed in the package linux - 3.15.0-1.5

---------------
linux (3.15.0-1.5) utopic; urgency=low

  [ Tim Gardner ]

  * [Config] Add apm-mustang.dtb to kernel-image udeb
 -- Tim Gardner <tim.gardner@xxxxxxxxxxxxx>   Mon, 19 May 2014 14:47:42 -0700

** Changed in: linux (Ubuntu Utopic)
       Status: Fix Committed => Fix Released

-- 
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:
  Confirmed
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