FAQ: [#7212] Build bf561 SMP kernel fails(2012)

Document created by Aaronwu Employee on Sep 12, 2013
Version 1Show Document
  • View in full screen mode

[#7212] Build bf561 SMP kernel fails

Submitted By: Mingquan Pan

Open Date

2012-07-26 22:35:19     Close Date

2012-08-07 05:18:14

Priority:

Medium     Assignee:

steven miao

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

ALL     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

2011r1-rc4

App binary format:

N/A     

Summary: Build bf561 SMP kernel fails

Details:

 

Build bf561 SMP kernel fails on trunk head.

 

make[1]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x'^M

make[1]: Entering directory `/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x'^M

  CHK     include/linux/version.h^M

  UPD     include/linux/version.h^M

  HOSTCC  scripts/kallsyms^M

  CC      scripts/mod/empty.o^M

  HOSTCC  scripts/mod/mk_elfconfig^M

  HOSTCC  scripts/bin2c^M

  MKELF   scripts/mod/elfconfig.h^M

  HOSTCC  scripts/mod/file2alias.o^M

  HOSTCC  scripts/mod/modpost.o^M

  HOSTCC  scripts/mod/sumversion.o^M

  HOSTLD  scripts/mod/modpost^M

  CHK     include/generated/utsrelease.h^M

  UPD     include/generated/utsrelease.h^M

  CC      kernel/bounds.s^M

  GEN     include/generated/bounds.h^M

  CC      arch/blackfin/kernel/asm-offsets.s^M

  GEN     include/generated/asm-offsets.h^M

  CALL    scripts/checksyscalls.sh^M

  CC      init/main.o^M

  HOSTCC  usr/gen_init_cpio^M

  CHK     include/generated/compile.h^M

  AS      arch/blackfin/kernel/entry.o^M

  CC      arch/blackfin/mm/sram-alloc.o^M

  CC      arch/blackfin/kernel/process.o^M

arch/blackfin/kernel/process.c: In function ‘bfin_clone’:^M

arch/blackfin/kernel/process.c:176: error: ‘struct sched_rt_entity’ has no member named ‘nr_cpus_allowed’^M

make[2]: *** [arch/blackfin/kernel/process.o] Error 1^M

make[1]: *** [arch/blackfin/kernel] Error 2^M

make[1]: *** Waiting for unfinished jobs....^M

  CC      init/do_mounts.o^M

  GEN     usr/initramfs_data.cpio^M

  AS      usr/initramfs_data.o^M

  CC      arch/blackfin/mm/isram-driver.o^M

  LD      usr/built-in.o^M

  CC      arch/blackfin/mm/init.o^M

  CC      init/do_mounts_rd.o^M

 

Follow-ups

 

--- steven miao                                              2012-07-31 05:58:46

apply missing patch and using generic smp helper

 

--- Mingquan Pan                                             2012-08-07 06:17:11

Yes, it builds now.

Close.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes