FAQ: [#6578] iccutils build fails at scalar.c(2011)

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

[#6578] iccutils build fails at scalar.c

Submitted By: Mingquan Pan

Open Date

2011-05-04 23:29:42     Close Date

2011-07-06 02:28:53

Priority:

Medium High     Assignee:

steven miao

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2011R1     Release:

Category:

N/A     Board:

EZKIT Lite

Processor:

BF561     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

5013

App binary format:

N/A     

Summary: iccutils build fails at scalar.c

Details:

 

iccutils build fails at scalar.c.

 

make[5]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task'

make -C example/test_app

make[5]: Entering directory `/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/test_app'

bfin-uclinux-gcc -pipe -Wall -g -O2      -mcpu=bf561-0.5 -I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/test_app/../../../../../linux-2.6.x/arch/blackfin/mach-bf561/include -I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/test_app/../../../../../linux-2.6.x/drivers/staging/icc/include -I/../icc_core -g -DEMBED -D__uClinux__ -I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf561-0.5  -c -o scalar.o scalar.c

bfin-uclinux-gcc -pipe -Wall -g -O2      -mcpu=bf561-0.5 -I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/test_app/../../../../../linux-2.6.x/arch/blackfin/mach-bf561/include -I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/test_app/../../../../../linux-2.6.x/drivers/staging/icc/include -I/../icc_core -g -DEMBED -D__uClinux__ -I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf561-0.5  -c -o packet.o packet.c

bfin-uclinux-gcc -pipe -Wall -g -O2      -mcpu=bf561-0.5 -I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/test_app/../../../../../linux-2.6.x/arch/blackfin/mach-bf561/include -I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/test_app/../../../../../linux-2.6.x/drivers/staging/icc/include -I/../icc_core -g -DEMBED -D__uClinux__ -I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf561-0.5  -c -o session_packet.o session_packet.c

session_packet.c: In function ‘send_test’:

session_packet.c:59: warning: assignment makes integer from pointer without a cast

session_packet.c: In function ‘main’:

session_packet.c:162: warning: unused variable ‘pkt’

session_packet.c:161: warning: unused variable ‘task_exit_addr’

session_packet.c:161: warning: unused variable ‘task_init_addr’

session_packet.c:159: warning: unused variable ‘buf’

session_packet.c:158: warning: unused variable ‘stat’

scalar.c: In function ‘send_recv_test’:

scalar.c:50: error: ‘SP_SCALAR’ undeclared (first use in this function)

scalar.c:50: error: (Each undeclared identifier is reported only once

scalar.c:50: error: for each function it appears in.)

scalar.c:61: warning: assignment makes pointer from integer without a cast

scalar.c:64: error: ‘SM_SCALAR_READY_64’ undeclared (first use in this function)

scalar.c:67: error: ‘SM_SCALAR_READY_32’ undeclared (first use in this function)

scalar.c:69: warning: assignment makes integer from pointer without a cast

scalar.c: In function ‘main’:

scalar.c:111: warning: unused variable ‘pkt’

scalar.c:110: warning: unused variable ‘task_exit_addr’

scalar.c:110: warning: unused variable ‘task_init_addr’

scalar.c:108: warning: unused variable ‘buf’

scalar.c:107: warning: unused variable ‘stat’

make[5]: *** [scalar.o] Error 1

make[5]: *** Waiting for unfinished jobs....

packet.c: In function ‘send_test’:

packet.c:67: warning: assignment makes integer from pointer without a cast

packet.c: In function ‘main’:

packet.c:170: warning: unused variable ‘pkt’

packet.c:169: warning: unused variable ‘task_exit_addr’

packet.c:169: warning: unused variable ‘task_init_addr’

packet.c:167: warning: unused variable ‘buf’

packet.c:166: warning: unused variable ‘stat’

make[5]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/test_app'

make[4]: *** [icc_example] Error 2

make[4]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils'

make[3]: *** [all] Error 2

make[3]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps'

make[2]: *** [blkfin-apps] Error 2

make[2]: *** Waiting for unfinished jobs....

make[4]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/user/busybox/build-busybox-1.18.4'

make[3]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/user/busybox'

make[2]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/user'

make[1]: *** [all] Error 2

make[1]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/user'

make: *** [subdirs] Error 1

 

Follow-ups

 

--- Mingquan Pan                                             2011-05-24 04:25:36

Now the build error changes to:

 

bfin-elf-gcc -g -mcpu=bf561 -mmulticore -mcoreb -mlong-calls

-I../../libmcapi_coreb -I../../libmcapi_coreb/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task/../../include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task/../../../../../linux-2.6.x/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task/../../../../../linux-2.6.x/arch/blackfin/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task/../../../../../linux-2.6.x/arch/blackfin/mach-bf561/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task/../../../../../linux-2.6.x/drivers/staging/icc/include

-DCONFIG_BF561 -D__KERNEL__ -DEMBED -D__uClinux__

-I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf561-0.5  -c -o task2.o

task2.c^M

make[5]: *** No rule to make target `scalar.o', needed by `scalar'.  Stop.^M

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

task1.c: In function ‘icc_task_init’:^M

task1.c:32: warning: initialization makes pointer from integer without a

cast^M

task1.c:36: warning: incompatible implicit declaration of built-in function

‘memset’^M

task1.c:37: warning: incompatible implicit declaration of built-in function

‘strcpy’^M

task2.c: In function ‘icc_task_init’:^M

task2.c:36: warning: initialization makes pointer from integer without a

cast^M

task2.c:40: warning: incompatible implicit declaration of built-in function

‘memset’^M

make[5]: Leaving directory

`/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task'^M

make[4]: *** [icc_example] Error 2^M

@                                                     

 

--- Mingquan Pan                                             2011-05-31 05:06:33

With the latest checkin, the build error info changes to:

 

make[4]: Entering directory

`/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils'

make -C  icc_core

make -C  icc_loader

make[5]: Entering directory

`/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_loader'

bfin-uclinux-gcc -pipe -Wall -g -O2      -mcpu=bf561-0.5

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_loader/../../../../linux-2.6.x/arch/blackfin/mach-bf561/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_loader/../../../../linux-2.6.x/drivers/staging/icc/include

-I/../icc_core -g -DEMBED -D__uClinux__

-I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf561-0.5  -c -o

icc_loader.o icc_loader.c

make[5]: Entering directory

`/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core'

bfin-elf-gcc -g -mcpu=bf561 -mlong-calls -mmulticore -mcoreb

-L/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/arch/blackfin/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/arch/blackfin/mach-bf561/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/drivers/staging/icc/include

-DCONFIG_BF561 -D__KERNEL__ -DEMBED -D__uClinux__

-I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf561-0.5  -c -o

coreb_start.o coreb_start.S

bfin-elf-gcc -g -mcpu=bf561 -mlong-calls -mmulticore -mcoreb

-L/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/arch/blackfin/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/arch/blackfin/mach-bf561/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/drivers/staging/icc/include

-DCONFIG_BF561 -D__KERNEL__ -DEMBED -D__uClinux__

-I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf561-0.5  -c -o test.o

test.c

icc_loader.c: In function ‘elf_sym_addr’:

icc_loader.c:237: warning: unused variable ‘phdr’

icc_loader.c: In function ‘exec_task’:

icc_loader.c:349: warning: assignment makes pointer from integer without a

cast

icc_loader.c:350: warning: assignment makes pointer from integer without a

cast

icc_loader.c: In function ‘elf_sym_addr’:

icc_loader.c:242: warning: ‘strtab’ may be used uninitialized in

this function

icc_loader.c:241: warning: ‘symnum’ may be used uninitialized in

this function

icc_loader.c:240: warning: ‘symtab’ may be used uninitialized in

this function

bfin-elf-gcc -g -mcpu=bf561 -mlong-calls -mmulticore -mcoreb

-L/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/arch/blackfin/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/arch/blackfin/mach-bf561/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/drivers/staging/icc/include

-DCONFIG_BF561 -D__KERNEL__ -DEMBED -D__uClinux__

-I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf561-0.5  -c -o

corebboot.o corebboot.c

bfin-elf-gcc -g -mcpu=bf561 -mlong-calls -mmulticore -mcoreb

-L/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/arch/blackfin/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/arch/blackfin/mach-bf561/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/drivers/staging/icc/include

-DCONFIG_BF561 -D__KERNEL__ -DEMBED -D__uClinux__

-I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf561-0.5  -c -o

vsprintf.o vsprintf.c

bfin-uclinux-gcc -pipe -Wall -g -O2      -mcpu=bf561-0.5

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_loader/../../../../linux-2.6.x/arch/blackfin/mach-bf561/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_loader/../../../../linux-2.6.x/drivers/staging/icc/include

-I/../icc_core -g icc_loader.o  -o icc_loader > icc_loader.map

corebboot.c:67:2: error: invalid preprocessing directive #config

corebboot.c: In function ‘coreb_msg’:

corebboot.c:166: warning: assignment makes integer from pointer without a cast

bfin-elf-gcc -g -mcpu=bf561 -mlong-calls -mmulticore -mcoreb

-L/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/arch/blackfin/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/arch/blackfin/mach-bf561/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/drivers/staging/icc/include

-DCONFIG_BF561 -D__KERNEL__ -DEMBED -D__uClinux__

-I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf561-0.5  -c -o

mempool.o mempool.c

make[5]: *** [corebboot.o] Error 1

make[5]: *** Waiting for unfinished jobs....

mempool.c: In function ‘gen_pool_free’:

mempool.c:272: warning: passing argument 1 of ‘find_next_bit’ from

incompatible pointer type

mempool.c:272: warning: passing argument 1 of ‘find_next_bit’ from

incompatible pointer type

mempool.c: In function ‘gen_pool_check’:

mempool.c:294: warning: passing argument 1 of ‘find_next_bit’ from

incompatible pointer type

mempool.c:294: warning: passing argument 1 of ‘find_next_bit’ from

incompatible pointer type

make[5]: Leaving directory

`/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core'

make[4]: *** [icc] Error 2

make[4]: *** Waiting for unfinished jobs....

make[5]: Leaving directory

`/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_loader'

make[4]: Leaving directory

`/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils'

make[3]: *** [all] Error 2

make[3]: Leaving directory

`/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps'

make[2]: *** [blkfin-apps] Error 2

make[2]: *** Waiting for unfinished jobs....

  Using

/home/test/work/cruise/checkouts/uclinux-dist/user/busybox/busybox-1.18.4 as

source for busybox

make[4]: Leaving directory

`/home/test/work/cruise/checkouts/uclinux-dist/user/busybox/build-busybox-1.18.4'

make[3]: Leaving directory

`/home/test/work/cruise/checkouts/uclinux-dist/user/busybox'

make[2]: Leaving directory

`/home/test/work/cruise/checkouts/uclinux-dist/user'

make[1]: *** [all] Error 2

make[1]: Leaving directory

`/home/test/work/cruise/checkouts/uclinux-dist/user'

make: *** [subdirs] Error 1

test@linux66-561-jtag-capture:~/work/cruise/test_scripts/uclinux-dist/logs>

 

--- Mingquan Pan                                             2011-06-02 00:54:40

Now the error info changes to:

 

make[4]: Entering directory

`/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils'

make -C  icc_core

make -C  icc_loader

make[5]: Entering directory

`/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core'

bfin-elf-gcc -g -mcpu=bf561 -mlong-calls -mmulticore -mcoreb

-L/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/arch/blackfin/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/arch/blackfin/mach-bf561/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/drivers/staging/icc/include

-DCONFIG_BF561 -D__KERNEL__ -DEMBED -D__uClinux__

-I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf561-0.5  -c -o

coreb_start.o coreb_start.S

make[5]: Entering directory

`/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_loader'

bfin-uclinux-gcc -pipe -Wall -g -O2      -mcpu=bf561-0.5

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_loader/../../../../linux-2.6.x/arch/blackfin/mach-bf561/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_loader/../../../../linux-2.6.x/drivers/staging/icc/include

-I/../icc_core -g -DEMBED -D__uClinux__

-I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf561-0.5  -c -o

icc_loader.o icc_loader.c

bfin-elf-gcc -g -mcpu=bf561 -mlong-calls -mmulticore -mcoreb

-L/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/arch/blackfin/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/arch/blackfin/mach-bf561/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/drivers/staging/icc/include

-DCONFIG_BF561 -D__KERNEL__ -DEMBED -D__uClinux__

-I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf561-0.5  -c -o test.o

test.c

icc_loader.c: In function ‘elf_sym_addr’:

icc_loader.c:237: warning: unused variable ‘phdr’

icc_loader.c: In function ‘exec_task’:

icc_loader.c:349: warning: assignment makes pointer from integer without a

cast

icc_loader.c:350: warning: assignment makes pointer from integer without a

cast

icc_loader.c: In function ‘elf_sym_addr’:

icc_loader.c:242: warning: ‘strtab’ may be used uninitialized in

this function

icc_loader.c:241: warning: ‘symnum’ may be used uninitialized in

this function

icc_loader.c:240: warning: ‘symtab’ may be used uninitialized in

this function

bfin-uclinux-gcc -pipe -Wall -g -O2      -mcpu=bf561-0.5

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_loader/../../../../linux-2.6.x/arch/blackfin/mach-bf561/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_loader/../../../../linux-2.6.x/drivers/staging/icc/include

-I/../icc_core -g icc_loader.o  -o icc_loader > icc_loader.map

bfin-elf-gcc -g -mcpu=bf561 -mlong-calls -mmulticore -mcoreb

-L/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/arch/blackfin/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/arch/blackfin/mach-bf561/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/drivers/staging/icc/include

-DCONFIG_BF561 -D__KERNEL__ -DEMBED -D__uClinux__

-I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf561-0.5  -c -o

corebboot.o corebboot.c

bfin-elf-gcc -g -mcpu=bf561 -mlong-calls -mmulticore -mcoreb

-L/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/arch/blackfin/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/arch/blackfin/mach-bf561/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/drivers/staging/icc/include

-DCONFIG_BF561 -D__KERNEL__ -DEMBED -D__uClinux__

-I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf561-0.5  -c -o

vsprintf.o vsprintf.c

make[5]: Leaving directory

`/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_loader'

bfin-elf-gcc -g -mcpu=bf561 -mlong-calls -mmulticore -mcoreb

-L/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/arch/blackfin/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/arch/blackfin/mach-bf561/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/drivers/staging/icc/include

-DCONFIG_BF561 -D__KERNEL__ -DEMBED -D__uClinux__

-I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf561-0.5  -c -o

mempool.o mempool.c

bfin-elf-gcc -g -mcpu=bf561 -mlong-calls -mmulticore -mcoreb

-L/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/arch/blackfin/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/arch/blackfin/mach-bf561/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/drivers/staging/icc/include

-DCONFIG_BF561 -D__KERNEL__ -DEMBED -D__uClinux__

-I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf561-0.5  -c -o

protocol.o protocol.c

corebboot.c: In function ‘coreb_msg’:

corebboot.c:166: warning: assignment makes integer from pointer without a cast

mempool.c: In function ‘gen_pool_free’:

mempool.c:272: warning: passing argument 1 of ‘find_next_bit’ from

incompatible pointer type

mempool.c:272: warning: passing argument 1 of ‘find_next_bit’ from

incompatible pointer type

mempool.c: In function ‘gen_pool_check’:

mempool.c:294: warning: passing argument 1 of ‘find_next_bit’ from

incompatible pointer type

mempool.c:294: warning: passing argument 1 of ‘find_next_bit’ from

incompatible pointer type

protocol.c: In function ‘get_free_buffer’:

protocol.c:52: warning: return makes pointer from integer without a cast

protocol.c: In function ‘init_sm_session_table’:

protocol.c:68: warning: assignment makes pointer from integer without a cast

protocol.c: In function ‘sm_index_to_session’:

protocol.c:135: warning: passing argument 2 of ‘test_bit’ from

incompatible pointer type

protocol.c: In function ‘sm_alloc_session’:

protocol.c:165: warning: passing argument 1 of

‘find_next_zero_bit’ from incompatible pointer type

protocol.c:168: warning: passing argument 1 of ‘bitmap_set’ from

incompatible pointer type

protocol.c: In function ‘sm_free_session’:

protocol.c:177: warning: passing argument 2 of ‘__clear_bit’ from

incompatible pointer type

protocol.c: In function ‘sm_find_session’:

protocol.c:188: warning: passing argument 1 of ‘find_next_bit’

from incompatible pointer type

protocol.c:188: warning: passing argument 1 of ‘find_next_bit’

from incompatible pointer type

protocol.c: In function ‘sm_register_session_handler’:

protocol.c:243: warning: assignment from incompatible pointer type

protocol.c: In function ‘sm_handle_control_message’:

protocol.c:377: warning: passing argument 2 of ‘memcpy’ makes

pointer from integer without a cast

protocol.c: In function ‘sm_recv_release’:

protocol.c:582: warning: comparison between pointer and integer

protocol.c: In function ‘sm_send_packet’:

protocol.c:658: warning: passing argument 1 of

‘check_buffer_inpool’ makes integer from pointer without a cast

protocol.c:664: warning: assignment makes integer from pointer without a cast

protocol.c:665: warning: passing argument 1 of ‘memcpy’ makes

pointer from integer without a cast

protocol.c:667: warning: assignment makes integer from pointer without a cast

protocol.c:685: warning: passing argument 1 of ‘free_buffer’ makes

integer from pointer without a cast

protocol.c: In function ‘sm_recv_packet’:

protocol.c:779: warning: assignment makes pointer from integer without a cast

bfin-elf-gcc -g -Wl,--verbose -Wl,-M -T coreb.lds -I -mcpu=bf561 -mlong-calls

-mmulticore -mcoreb

-L/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/arch/blackfin/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/arch/blackfin/mach-bf561/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/drivers/staging/icc/include

-DCONFIG_BF561 -D__KERNEL__ coreb_start.o test.o corebboot.o vsprintf.o

mempool.o protocol.o -o icc > icc.map

argv[0]      =

'/opt/uClinux/bfin-elf/bin/../lib/gcc/bfin-elf/4.3.5/../../../../bfin-elf/bin/ld'

bindir       = '/opt/uClinux/bfin-elf/bfin-elf/bin/../../bin/'

tooldir      = '/opt/uClinux/bfin-elf/bfin-elf/bin/'

linker       = '/opt/uClinux/bfin-elf/bfin-elf/bin/ld.real'

elf2flt      = '/opt/uClinux/bfin-elf/bfin-elf/bin/elf2flt'

nm           = '/opt/uClinux/bfin-elf/bfin-elf/bin/nm'

objdump      = '/opt/uClinux/bfin-elf/bfin-elf/bin/../../bin/bfin-elf-objdump'

objcopy      = '/opt/uClinux/bfin-elf/bfin-elf/bin/../../bin/bfin-elf-objcopy'

ldscriptpath = '/opt/uClinux/bfin-elf/bfin-elf/bin/../lib'

Invoking: '/opt/uClinux/bfin-elf/bfin-elf/bin/ld.real' '-Qy' '-init' '__init'

'-fini' '__fini' '-o' 'icc'

'/opt/uClinux/bfin-elf/bin/../lib/gcc/bfin-elf/4.3.5/../../../../bfin-elf/lib/basiccrt.o'

'/opt/uClinux/bfin-elf/bin/../lib/gcc/bfin-elf/4.3.5/crti.o'

'/opt/uClinux/bfin-elf/bin/../lib/gcc/bfin-elf/4.3.5/crtbegin.o'

'/opt/uClinux/bfin-elf/bin/../lib/gcc/bfin-elf/4.3.5/crtlibid.o'

'-L/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../include'

'-L/opt/uClinux/bfin-elf/bin/../lib/gcc/bfin-elf/4.3.5'

'-L/opt/uClinux/bfin-elf/bin/../lib/gcc'

'-L/opt/uClinux/bfin-elf/bin/../lib/gcc/bfin-elf/4.3.5/../../../../bfin-elf/lib'

'--verbose' '-M' 'coreb_start.o' 'test.o' 'corebboot.o' 'vsprintf.o' 'mempool.o'

'protocol.o' '-lgcc' '--start-group' '-lc' '-lnosys' '--end-group' '-lgcc'

'/opt/uClinux/bfin-elf/bin/../lib/gcc/bfin-elf/4.3.5/crtend.o'

'/opt/uClinux/bfin-elf/bin/../lib/gcc/bfin-elf/4.3.5/crtn.o' '-T' 'coreb.lds'

bfin-elf-objdump -x -D icc > icc.dump

make[5]: Leaving directory

`/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core'

make -C example/task

make[5]: Entering directory

`/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task'

bfin-elf-gcc -g -mcpu=bf561 -mmulticore -mcoreb -mlong-calls

-I../../libmcapi_coreb -I../../libmcapi_coreb/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task/../../include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task/../../../../../linux-2.6.x/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task/../../../../../linux-2.6.x/arch/blackfin/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task/../../../../../linux-2.6.x/arch/blackfin/mach-bf561/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task/../../../../../linux-2.6.x/drivers/staging/icc/include

-DCONFIG_BF561 -D__KERNEL__ -DEMBED -D__uClinux__

-I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf561-0.5  -c -o task1.o

task1.c

bfin-elf-gcc -g -mcpu=bf561 -mmulticore -mcoreb -mlong-calls

-I../../libmcapi_coreb -I../../libmcapi_coreb/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task/../../include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task/../../../../../linux-2.6.x/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task/../../../../../linux-2.6.x/arch/blackfin/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task/../../../../../linux-2.6.x/arch/blackfin/mach-bf561/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task/../../../../../linux-2.6.x/drivers/staging/icc/include

-DCONFIG_BF561 -D__KERNEL__ -DEMBED -D__uClinux__

-I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf561-0.5  -c -o task2.o

task2.c

bfin-elf-gcc -g -mcpu=bf561 -mmulticore -mcoreb -mlong-calls

-I../../libmcapi_coreb -I../../libmcapi_coreb/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task/../../include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task/../../../../../linux-2.6.x/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task/../../../../../linux-2.6.x/arch/blackfin/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task/../../../../../linux-2.6.x/arch/blackfin/mach-bf561/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task/../../../../../linux-2.6.x/drivers/staging/icc/include

-DCONFIG_BF561 -D__KERNEL__ -DEMBED -D__uClinux__

-I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf561-0.5  -c -o scalar.o

scalar.c

task1.c: In function ‘icc_task_init’:

task1.c:32: warning: initialization makes pointer from integer without a cast

task1.c:36: warning: incompatible implicit declaration of built-in function

‘memset’

task1.c:37: warning: incompatible implicit declaration of built-in function

‘strcpy’

task2.c: In function ‘icc_task_init’:

task2.c:36: warning: initialization makes pointer from integer without a cast

task2.c:40: warning: incompatible implicit declaration of built-in function

‘memset’

bfin-elf-gcc -g -mcpu=bf561 -mmulticore -mcoreb -mlong-calls

-I../../libmcapi_coreb -I../../libmcapi_coreb/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task/../../include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task/../../../../../linux-2.6.x/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task/../../../../../linux-2.6.x/arch/blackfin/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task/../../../../../linux-2.6.x/arch/blackfin/mach-bf561/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task/../../../../../linux-2.6.x/drivers/staging/icc/include

-DCONFIG_BF561 -D__KERNEL__ -DEMBED -D__uClinux__

-I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf561-0.5  -c -o

mcapi_msg1.o mcapi_msg1.c

make[5]: *** No rule to make target

`/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task/../../libmcapi_coreb/.libs/libmcapi.a',

needed by `mcapi_msg1'.  Stop.

make[5]: *** Waiting for unfinished jobs....

make[5]: Leaving directory

`/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task'

make[4]: *** [icc_example] Error 2

make[4]: Leaving directory

`/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils'

make[3]: *** [all] Error 2

make[3]: Leaving directory

`/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps'

make[2]: *** [blkfin-apps] Error 2

make[2]: *** Waiting for unfinished jobs....

make[4]: Leaving directory

`/home/test/work/cruise/checkouts/uclinux-dist/user/busybox/build-busybox-1.18.4'

make[3]: Leaving directory

`/home/test/work/cruise/checkouts/uclinux-dist/user/busybox'

make[2]: Leaving directory

`/home/test/work/cruise/checkouts/uclinux-dist/user'

make[1]: *** [all] Error 2

make[1]: Leaving directory

`/home/test/work/cruise/checkouts/uclinux-dist/user'

make: *** [subdirs] Error 1

test@linux66-561-jtag-capture:~/work/cruise/test_scripts/uclinux-dist/logs>

 

--- Mingquan Pan                                             2011-06-07 03:45:27

Now it changes to:

 

make[5]: Entering directory

`/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core'

bfin-elf-gcc -g -mcpu=bf561 -mlong-calls -mmulticore -mcoreb

-L/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/arch/blackfin/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/arch/blackfin/mach-bf561/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/drivers/staging/icc/include

-DCONFIG_BF561 -D__KERNEL__ -DEMBED -D__uClinux__

-I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf561-0.5  -c -o

coreb_start.o coreb_start.S

make[5]: Entering directory

`/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_loader'

bfin-uclinux-gcc -pipe -Wall -g -O2      -mcpu=bf561-0.5

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_loader/../../../../linux-2.6.x/arch/blackfin/mach-bf561/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_loader/../../../../linux-2.6.x/drivers/staging/icc/include

-I/../icc_core -g -DEMBED -D__uClinux__

-I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf561-0.5  -c -o

icc_loader.o icc_loader.c

bfin-elf-gcc -g -mcpu=bf561 -mlong-calls -mmulticore -mcoreb

-L/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/arch/blackfin/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/arch/blackfin/mach-bf561/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/drivers/staging/icc/include

-DCONFIG_BF561 -D__KERNEL__ -DEMBED -D__uClinux__

-I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf561-0.5  -c -o test.o

test.c

icc_loader.c: In function ‘elf_sym_addr’:

icc_loader.c:237: warning: unused variable ‘phdr’

icc_loader.c: In function ‘exec_task’:

icc_loader.c:349: warning: assignment makes pointer from integer without a

cast

icc_loader.c:350: warning: assignment makes pointer from integer without a

cast

icc_loader.c: In function ‘elf_sym_addr’:

icc_loader.c:242: warning: ‘strtab’ may be used uninitialized in

this function

icc_loader.c:241: warning: ‘symnum’ may be used uninitialized in

this function

icc_loader.c:240: warning: ‘symtab’ may be used uninitialized in

this function

bfin-uclinux-gcc -pipe -Wall -g -O2      -mcpu=bf561-0.5

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_loader/../../../../linux-2.6.x/arch/blackfin/mach-bf561/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_loader/../../../../linux-2.6.x/drivers/staging/icc/include

-I/../icc_core -g icc_loader.o  -o icc_loader > icc_loader.map

bfin-elf-gcc -g -mcpu=bf561 -mlong-calls -mmulticore -mcoreb

-L/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/arch/blackfin/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/arch/blackfin/mach-bf561/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/drivers/staging/icc/include

-DCONFIG_BF561 -D__KERNEL__ -DEMBED -D__uClinux__

-I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf561-0.5  -c -o

corebboot.o corebboot.c

make[5]: Leaving directory

`/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_loader'

bfin-elf-gcc -g -mcpu=bf561 -mlong-calls -mmulticore -mcoreb

-L/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/arch/blackfin/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/arch/blackfin/mach-bf561/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/drivers/staging/icc/include

-DCONFIG_BF561 -D__KERNEL__ -DEMBED -D__uClinux__

-I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf561-0.5  -c -o

vsprintf.o vsprintf.c

bfin-elf-gcc -g -mcpu=bf561 -mlong-calls -mmulticore -mcoreb

-L/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/arch/blackfin/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/arch/blackfin/mach-bf561/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/drivers/staging/icc/include

-DCONFIG_BF561 -D__KERNEL__ -DEMBED -D__uClinux__

-I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf561-0.5  -c -o

mempool.o mempool.c

corebboot.c: In function ‘coreb_msg’:

corebboot.c:166: warning: assignment makes integer from pointer without a cast

mempool.c: In function ‘gen_pool_free’:

mempool.c:272: warning: passing argument 1 of ‘find_next_bit’ from

incompatible pointer type

mempool.c:272: warning: passing argument 1 of ‘find_next_bit’ from

incompatible pointer type

mempool.c: In function ‘gen_pool_check’:

mempool.c:294: warning: passing argument 1 of ‘find_next_bit’ from

incompatible pointer type

mempool.c:294: warning: passing argument 1 of ‘find_next_bit’ from

incompatible pointer type

bfin-elf-gcc -g -mcpu=bf561 -mlong-calls -mmulticore -mcoreb

-L/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/arch/blackfin/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/arch/blackfin/mach-bf561/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/drivers/staging/icc/include

-DCONFIG_BF561 -D__KERNEL__ -DEMBED -D__uClinux__

-I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf561-0.5  -c -o

protocol.o protocol.c

protocol.c: In function ‘get_free_buffer’:

protocol.c:52: warning: return makes pointer from integer without a cast

protocol.c: In function ‘init_sm_session_table’:

protocol.c:68: warning: assignment makes pointer from integer without a cast

protocol.c: In function ‘sm_index_to_session’:

protocol.c:135: warning: passing argument 2 of ‘test_bit’ from

incompatible pointer type

protocol.c: In function ‘sm_alloc_session’:

protocol.c:165: warning: passing argument 1 of

‘find_next_zero_bit’ from incompatible pointer type

protocol.c:168: warning: passing argument 1 of ‘bitmap_set’ from

incompatible pointer type

protocol.c: In function ‘sm_free_session’:

protocol.c:177: warning: passing argument 2 of ‘__clear_bit’ from

incompatible pointer type

protocol.c: In function ‘sm_find_session’:

protocol.c:188: warning: passing argument 1 of ‘find_next_bit’

from incompatible pointer type

protocol.c:188: warning: passing argument 1 of ‘find_next_bit’

from incompatible pointer type

protocol.c: In function ‘sm_register_session_handler’:

protocol.c:243: warning: assignment from incompatible pointer type

protocol.c: In function ‘sm_handle_control_message’:

protocol.c:377: warning: passing argument 2 of ‘memcpy’ makes

pointer from integer without a cast

protocol.c: In function ‘sm_recv_release’:

protocol.c:582: warning: comparison between pointer and integer

protocol.c: In function ‘sm_send_packet’:

protocol.c:658: warning: passing argument 1 of

‘check_buffer_inpool’ makes integer from pointer without a cast

protocol.c:664: warning: assignment makes integer from pointer without a cast

protocol.c:665: warning: passing argument 1 of ‘memcpy’ makes

pointer from integer without a cast

protocol.c:667: warning: assignment makes integer from pointer without a cast

protocol.c:685: warning: passing argument 1 of ‘free_buffer’ makes

integer from pointer without a cast

protocol.c: In function ‘sm_recv_packet’:

protocol.c:779: warning: assignment makes pointer from integer without a cast

bfin-elf-gcc -g -Wl,--verbose -Wl,-M -T coreb.lds -I -mcpu=bf561 -mlong-calls

-mmulticore -mcoreb

-L/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/arch/blackfin/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/arch/blackfin/mach-bf561/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../../../../linux-2.6.x/drivers/staging/icc/include

-DCONFIG_BF561 -D__KERNEL__ coreb_start.o test.o corebboot.o vsprintf.o

mempool.o protocol.o -o icc > icc.map

argv[0]      =

'/opt/uClinux/bfin-elf/bin/../lib/gcc/bfin-elf/4.3.5/../../../../bfin-elf/bin/ld'

bindir       = '/opt/uClinux/bfin-elf/bfin-elf/bin/../../bin/'

tooldir      = '/opt/uClinux/bfin-elf/bfin-elf/bin/'

linker       = '/opt/uClinux/bfin-elf/bfin-elf/bin/ld.real'

elf2flt      = '/opt/uClinux/bfin-elf/bfin-elf/bin/elf2flt'

nm           = '/opt/uClinux/bfin-elf/bfin-elf/bin/nm'

objdump      = '/opt/uClinux/bfin-elf/bfin-elf/bin/../../bin/bfin-elf-objdump'

objcopy      = '/opt/uClinux/bfin-elf/bfin-elf/bin/../../bin/bfin-elf-objcopy'

ldscriptpath = '/opt/uClinux/bfin-elf/bfin-elf/bin/../lib'

Invoking: '/opt/uClinux/bfin-elf/bfin-elf/bin/ld.real' '-Qy' '-init' '__init'

'-fini' '__fini' '-o' 'icc'

'/opt/uClinux/bfin-elf/bin/../lib/gcc/bfin-elf/4.3.5/../../../../bfin-elf/lib/basiccrt.o'

'/opt/uClinux/bfin-elf/bin/../lib/gcc/bfin-elf/4.3.5/crti.o'

'/opt/uClinux/bfin-elf/bin/../lib/gcc/bfin-elf/4.3.5/crtbegin.o'

'/opt/uClinux/bfin-elf/bin/../lib/gcc/bfin-elf/4.3.5/crtlibid.o'

'-L/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core/../include'

'-L/opt/uClinux/bfin-elf/bin/../lib/gcc/bfin-elf/4.3.5'

'-L/opt/uClinux/bfin-elf/bin/../lib/gcc'

'-L/opt/uClinux/bfin-elf/bin/../lib/gcc/bfin-elf/4.3.5/../../../../bfin-elf/lib'

'--verbose' '-M' 'coreb_start.o' 'test.o' 'corebboot.o' 'vsprintf.o' 'mempool.o'

'protocol.o' '-lgcc' '--start-group' '-lc' '-lnosys' '--end-group' '-lgcc'

'/opt/uClinux/bfin-elf/bin/../lib/gcc/bfin-elf/4.3.5/crtend.o'

'/opt/uClinux/bfin-elf/bin/../lib/gcc/bfin-elf/4.3.5/crtn.o' '-T' 'coreb.lds'

bfin-elf-objdump -x -D icc > icc.dump

make[5]: Leaving directory

`/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core'

make -C example/task

make[5]: Entering directory

`/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task'

bfin-elf-gcc -g -mcpu=bf561 -mmulticore -mcoreb -mlong-calls

-I../../libmcapi_coreb -I../../libmcapi_coreb/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task/../../include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task/../../../../../linux-2.6.x/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task/../../../../../linux-2.6.x/arch/blackfin/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task/../../../../../linux-2.6.x/arch/blackfin/mach-bf561/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task/../../../../../linux-2.6.x/drivers/staging/icc/include

-DCONFIG_BF561 -D__KERNEL__ -DEMBED -D__uClinux__

-I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf561-0.5  -c -o task1.o

task1.c

bfin-elf-gcc -g -mcpu=bf561 -mmulticore -mcoreb -mlong-calls

-I../../libmcapi_coreb -I../../libmcapi_coreb/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task/../../include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task/../../../../../linux-2.6.x/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task/../../../../../linux-2.6.x/arch/blackfin/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task/../../../../../linux-2.6.x/arch/blackfin/mach-bf561/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task/../../../../../linux-2.6.x/drivers/staging/icc/include

-DCONFIG_BF561 -D__KERNEL__ -DEMBED -D__uClinux__

-I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf561-0.5  -c -o task2.o

task2.c

task2.c: In function ‘icc_task_init’:

task2.c:36: warning: initialization makes pointer from integer without a cast

task2.c:40: warning: incompatible implicit declaration of built-in function

‘memset’

bfin-elf-gcc -g -mcpu=bf561 -mmulticore -mcoreb -mlong-calls

-I../../libmcapi_coreb -I../../libmcapi_coreb/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task/../../include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task/../../../../../linux-2.6.x/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task/../../../../../linux-2.6.x/arch/blackfin/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task/../../../../../linux-2.6.x/arch/blackfin/mach-bf561/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task/../../../../../linux-2.6.x/drivers/staging/icc/include

-DCONFIG_BF561 -D__KERNEL__ -DEMBED -D__uClinux__

-I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf561-0.5  -c -o scalar.o

scalar.c

task1.c: In function ‘icc_task_init’:

task1.c:32: warning: initialization makes pointer from integer without a cast

task1.c:36: warning: incompatible implicit declaration of built-in function

‘memset’

task1.c:37: warning: incompatible implicit declaration of built-in function

‘strcpy’

bfin-elf-gcc -g -mcpu=bf561 -mmulticore -mcoreb -mlong-calls

-I../../libmcapi_coreb -I../../libmcapi_coreb/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task/../../include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task/../../../../../linux-2.6.x/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task/../../../../../linux-2.6.x/arch/blackfin/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task/../../../../../linux-2.6.x/arch/blackfin/mach-bf561/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task/../../../../../linux-2.6.x/drivers/staging/icc/include

-DCONFIG_BF561 -D__KERNEL__ -DEMBED -D__uClinux__

-I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf561-0.5  -c -o

mcapi_msg1.o mcapi_msg1.c

make[5]: *** No rule to make target

`/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task/../../libmcapi_coreb/.libs/libmcapi.a',

needed by `mcapi_msg1'.  Stop.

make[5]: *** Waiting for unfinished jobs....

make[5]: Leaving directory

`/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/example/task'

make[4]: *** [icc_example] Error 2

make[4]: Leaving directory

`/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils'

make[3]: *** [all] Error 2

make[3]: Leaving directory

`/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps'

make[2]: *** [blkfin-apps] Error 2

make[2]: *** Waiting for unfinished jobs....

make[4]: Leaving directory

`/home/test/work/cruise/checkouts/uclinux-dist/user/busybox/build-busybox-1.18.4'

make[3]: Leaving directory

`/home/test/work/cruise/checkouts/uclinux-dist/user/busybox'

make[2]: Leaving directory

`/home/test/work/cruise/checkouts/uclinux-dist/user'

make[1]: *** [all] Error 2

make[1]: Leaving directory

`/home/test/work/cruise/checkouts/uclinux-dist/user'

 

--- Mingquan Pan                                             2011-06-14 04:05:08

With the latest version:

 

Path: .

URL: svn://10.99.29.20/uclinux-dist/trunk

Repository Root: svn://10.99.29.20/uclinux-dist

Repository UUID: 3e2a5524-39e8-4cb9-84a9-c49da69cba3a

Revision: 10198

Node Kind: directory

Schedule: normal

Last Changed Author: vapier

Last Changed Rev: 10198

Last Changed Date: 2011-06-12 01:33:22 +0800 (Sun, 12 Jun 2011)

echo "************* Tested linux svn info ********************"

U    arch/blackfin/kernel/debug-mmrs.c

U    arch/blackfin/kernel/process.c

U    arch/blackfin/mach-bf533/include/mach/anomaly.h

U    arch/blackfin/configs/BF561-EZKIT_defconfig

U    arch/blackfin/mach-bf561/include/mach/anomaly.h

U    arch/blackfin/mach-bf561/secondary.S

U    arch/blackfin/mach-bf527/include/mach/anomaly.h

U    arch/blackfin/mach-bf518/include/mach/anomaly.h

U    arch/blackfin/mach-bf537/include/mach/anomaly.h

U    arch/blackfin/mach-bf538/include/mach/anomaly.h

U    arch/blackfin/mach-bf548/include/mach/anomaly.h

U    include/asm-generic/mutex-dec.h

Updated to revision 9929.

 

the icc still build fails like:

 

make[5]: Entering directory

`/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_loader'^M

bfin-uclinux-gcc -pipe -Wall -g -O2      -mcpu=bf561-0.5

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_loader/../../../../linux-2.6.x/arch/blackfin/mach-bf561/include

-I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_loader/../../../../linux-2.6.x/drivers/staging/icc/include

-I/../icc_core -g -DEMBED -D__uClinux__

-I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf561-0.5  -c -o

icc_loader.o icc_loader.c^M

  Using

/home/test/work/cruise/checkouts/uclinux-dist/user/busybox/busybox-1.18.4 as

source for busybox^M

make[5]: Entering directory

`/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/libmcapi_coreb'^M

cd . && /bin/sh

/home/steven/uclinux-dist/user/blkfin-apps/icc_utils/libmcapi_coreb/missing

--run automake-1.10 --foreign ^M

/bin/sh:

/home/steven/uclinux-dist/user/blkfin-apps/icc_utils/libmcapi_coreb/missing: No

such file or directory^M

make[5]: *** [Makefile.in] Error 1^M

make[5]: Leaving directory

`/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/libmcapi_coreb'^M

make[4]: *** [libmcapi] Error 2^M

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

 

--- Mike Frysinger                                           2011-06-17 01:14:03

you need to clean out your tree to reset it to vanilla svn

 

--- Mingquan Pan                                             2011-07-06 02:27:56

It builds on trunk head now. So close.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes