[#5491] Build bf561 smp kernel failed at mem_map.h

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

[#5491] Build bf561 smp kernel failed at mem_map.h

Submitted By: Vivi Li

Open Date

2009-09-03 19:13:05     Close Date

2009-09-23 02:15:44

Priority:

Medium     Assignee:

Graf Yang

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2010R1     Release:

Category:

Make Errors     Board:

N/A

Processor:

BF561     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

gcc4.1-09r1-rc9

App binary format:

N/A     

Summary: Build bf561 smp kernel failed at mem_map.h

Details:

 

Build bf561 smp kernel failed at mem_map.h in trunk.

 

--

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

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h: Assembler messages:^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:179: Error: syntax error. Input text was static.^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:179: Error: ^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:180: Error: syntax error. Input text was {.^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:180: Error: ^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:181: Error: syntax error. Input text was return.^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:181: Error: ^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:182: Error: syntax error. Input text was }.^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:182: Error: ^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:183: Error: syntax error. Input text was static.^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:183: Error: ^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:184: Error: syntax error. Input text was {.^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:184: Error: ^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:185: Error: syntax error. Input text was return.^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:185: Error: ^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:186: Error: syntax error. Input text was }.^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:186: Error: ^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:187: Error: syntax error. Input text was static.^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:187: Error: ^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:188: Error: syntax error. Input text was {.^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:188: Error: ^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:189: Error: syntax error. Input text was return.^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:189: Error: ^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:190: Error: syntax error. Input text was }.^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:190: Error: ^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:191: Error: syntax error. Input text was static.^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:191: Error: ^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:192: Error: syntax error. Input text was {.^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:192: Error: ^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:193: Error: syntax error. Input text was return.^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:193: Error: ^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:194: Error: syntax error. Input text was }.^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:194: Error: ^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:196: Error: syntax error. Input text was static.^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:196: Error: ^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:197: Error: syntax error. Input text was {.^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:197: Error: ^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:198: Error: syntax error. Input text was return.^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:198: Error: ^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:199: Error: syntax error. Input text was }.^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:199: Error: ^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:200: Error: syntax error. Input text was static.^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:200: Error: ^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:201: Error: syntax error. Input text was {.^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:201: Error: ^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:202: Error: syntax error. Input text was return.^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:202: Error: ^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:203: Error: syntax error. Input text was }.^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:203: Error: ^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:204: Error: syntax error. Input text was static.^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:204: Error: ^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:205: Error: syntax error. Input text was {.^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:205: Error: ^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:206: Error: syntax error. Input text was return.^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:206: Error: ^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:207: Error: syntax error. Input text was }.^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:207: Error: ^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:208: Error: syntax error. Input text was static.^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:208: Error: ^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:209: Error: syntax error. Input text was {.^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:209: Error: ^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:210: Error: syntax error. Input text was return.^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:210: Error: ^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:211: Error: syntax error. Input text was }.^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf561/include/mach/mem_map.h:211: Error: ^M

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

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

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

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

make: *** [linux] Error 1^M

--

 

Follow-ups

 

--- Vivi Li                                                  2009-09-15 05:24:09

For the latest trunk, it fails with bellow message:

--

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

In file included from

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/bitops.h:84,^M

                 from include/linux/bitops.h:17,^M

                 from include/linux/kernel.h:15,^M

                 from include/linux/sched.h:52,^M

                 from arch/blackfin/kernel/asm-offsets.c:31:^M

include/asm-generic/bitops/non-atomic.h:104: error: redefinition of

‘test_bit’^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/bitops.h:55:

error: previous definition of ‘test_bit’ was here^M

make[2]: *** [arch/blackfin/kernel/asm-offsets.s] Error 1^M

--

 

--- Graf Yang                                                2009-09-22 01:14:30

Fixed on trunk.

 

--- Vivi Li                                                  2009-09-23 02:15:44

OK now. Close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes