FAQ: [#6328] trunk build fails in dpmc_modes.S with asm/irqflags.h include(2010)

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

[#6328] trunk build fails in dpmc_modes.S with asm/irqflags.h include

Submitted By: Vivi Li

Open Date

2010-11-02 07:06:34     Close Date

2010-11-12 05:33:27

Priority:

Medium     Assignee:

Mike Frysinger

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2011R1     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.:

trunk

App binary format:

N/A     

Summary: trunk build fails in dpmc_modes.S with asm/irqflags.h include

Details:

 

Build trunk kernel fail with latest toolchain.

 

--

  CC      arch/blackfin/mach-common/arch_checks.o

  CC      arch/blackfin/mach-common/ints-priority.o

  CC      arch/blackfin/mach-common/pm.o

  AS      arch/blackfin/mach-common/dpmc_modes.o

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h: Assembler messages:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:18: Error: syntax error. Input text was extern.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:18: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:21: Error: syntax error. Input text was static.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:21: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:22: Error: syntax error. Input text was {.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:22: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:23: Error: syntax error. Input text was asm.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:23: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:24: Error: syntax error. Input text was }.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:24: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:26: Error: syntax error. Input text was static.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:26: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:27: Error: syntax error. Input text was {.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:27: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:28: Error: syntax error. Input text was unsigned.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:28: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:29: Error: syntax error. Input text was asm.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:29: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:30: Error: syntax error. Input text was return.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:30: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:31: Error: syntax error. Input text was }.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:31: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:178: Error: syntax error. Input text was static.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:178: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:179: Error: syntax error. Input text was {.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:179: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:180: Error: syntax error. Input text was bfin_cli.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:180: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:181: Error: syntax error. Input text was }.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:181: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:182: Error: syntax error. Input text was static.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:182: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:183: Error: syntax error. Input text was {.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:183: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:184: Error: syntax error. Input text was bfin_sti.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:184: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:185: Error: syntax error. Input text was }.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:185: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:187: Error: syntax error. Input text was static.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:187: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:188: Error: syntax error. Input text was {.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:188: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:189: Error: syntax error. Input text was return.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:189: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:190: Error: syntax error. Input text was }.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:190: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:196: Error: syntax error. Input text was static.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:196: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:197: Error: syntax error. Input text was {.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:197: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:198: Error: syntax error. Input text was unsigned.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:198: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:200: Error: syntax error. Input text was bfin_sti.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:200: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:202: Error: syntax error. Input text was return.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:202: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:203: Error: syntax error. Input text was }.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:203: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:214: Error: syntax error. Input text was static.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:214: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:215: Error: syntax error. Input text was {.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:215: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:216: Error: syntax error. Input text was (.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:216: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:217: Error: syntax error. Input text was raw_local_irq_enable.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:217: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:218: Error: syntax error. Input text was }.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/irqflags.h:218: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:14: Error: syntax error. Input text was static.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:14: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:15: Error: syntax error. Input text was bfin_iwr_restore.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:15: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:16: Error: syntax error. Input text was {.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:16: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:18: Error: syntax error. Input text was bfin_write_sic_iwr.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:18: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:28: Error: syntax error. Input text was }.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:28: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:32: Error: syntax error. Input text was static.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:32: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:33: Error: syntax error. Input text was bfin_iwr_save.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:33: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:34: Error: syntax error. Input text was unsigned.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:34: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:35: Error: syntax error. Input text was {.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:35: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:37: Error: junk at end of line, first unrecognized character is `*'

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:47: Error: syntax error. Input text was bfin_iwr_restore.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:47: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:48: Error: syntax error. Input text was }.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:48: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:51: Error: syntax error. Input text was static.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:51: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:52: Error: syntax error. Input text was {.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:52: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:53: Error: syntax error. Input text was unsigned.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:53: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:55: Error: syntax error. Input text was (.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:55: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:56: Error: syntax error. Input text was return.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:56: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:58: Error: syntax error. Input text was do.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:58: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:58: Error: syntax error. Input text was }.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:58: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:60: Error: syntax error. Input text was bfin_iwr_save.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:60: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:62: Error: syntax error. Input text was bfin_write16.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:62: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:63: Error: syntax error.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:63: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:63: Error: syntax error.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:63: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:64: Error: syntax error. Input text was asm.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:64: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:66: Error: syntax error. Input text was bfin_iwr_restore.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:66: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:67: Error: syntax error. Input text was raw_local_irq_restore.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:67: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:68: Error: syntax error. Input text was }.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:68: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:71: Error: syntax error. Input text was static.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:71: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:72: Error: syntax error. Input text was {.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:72: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:73: Error: syntax error. Input text was _bfin_write_pll_relock.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:73: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:74: Error: syntax error. Input text was }.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:74: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:77: Error: syntax error. Input text was static.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:77: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:78: Error: syntax error. Input text was {.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:78: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:79: Error: syntax error. Input text was _bfin_write_pll_relock.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:79: Error:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:80: Error: syntax error. Input text was }.

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/mach-common/pll.h:80: Error:

make[2]: *** [arch/blackfin/mach-common/dpmc_modes.o] Error 1

make[1]: *** [arch/blackfin/mach-common] Error 2

--

 

Follow-ups

 

--- Stuart Henderson                                         2010-11-02 09:43:03

This is caused by a kernel change, not the toolchain.

 

r9469 introduced:

#include <mach/pll.h>

in arch/blackfin/include/asm/dpmc.h which should be assembly safe.

 

i believe this include should be __ASSEMBLY__ guarded.

 

Mike- can you take a look?

 

--- Stuart Henderson                                         2010-11-02 12:22:13

of course, Mike's off all week, so there's not much point assigning him it!

oops.

 

Sonic - see comment above.  i don't believe this is a toolchain issue.  a

kernel bug tracker should probably be raised for this.

 

--- Mike Frysinger                                           2010-11-11 17:50:06

should be fixed now by putting the C funcs behind __ASSEMBLY__

 

--- Vivi Li                                                  2010-11-12 05:33:27

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