FAQ: [#6253] strace build failed in trunk with outdated toolchain (missing asm/cachectl.h)(2010)

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

[#6253] strace build failed in trunk with outdated toolchain (missing asm/cachectl.h)

Submitted By: angelia wu

Open Date

2010-09-13 23:38:20     Close Date

2010-09-16 04:41:53

Priority:

Medium     Assignee:

Nobody

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2010R1     Release:

Blackfin Linux:2010R1

Category:

N/A     Board:

STAMP

Processor:

BF537     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Rejected

Uboot version or rev.:

    Toolchain version or rev.:

2010r1-rc2

App binary format:

N/A     

Summary: strace build failed in trunk with outdated toolchain (missing asm/cachectl.h)

Details:

 

trace build fail in sdi_mmc driver testing on BF537-stamp

 

the log as follow.

config.status: creating Makefile

config.status: creating config.h

config.status: executing depfiles commands

configure: WARNING: unrecognized options: --enable-fast-install

make pre-build

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

make[3]: Nothing to be done for `pre-build'.

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

make -C build-strace-4.5.20 install DESTDIR=/home/test/work/cruise/checkouts/uclinux-dist/staging

make[3]: Entering directory `/home/test/work/cruise/checkouts/uclinux-dist/user/strace/build-strace-4.5.20'

make  install-am

make[4]: Entering directory `/home/test/work/cruise/checkouts/uclinux-dist/user/strace/build-strace-4.5.20'

bfin-uclinux-gcc -DHAVE_CONFIG_H -I. -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20 -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/linux/bfin -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/linux  -DEMBED -D__uClinux__ -I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf537-0.2 -Wall -pipe -Wall -g -O2      -mcpu=bf537-0.2 -c /home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/strace.c

bfin-uclinux-gcc -DHAVE_CONFIG_H -I. -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20 -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/linux/bfin -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/linux  -DEMBED -D__uClinux__ -I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf537-0.2 -Wall -pipe -Wall -g -O2      -mcpu=bf537-0.2 -c /home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/syscall.c

bfin-uclinux-gcc -DHAVE_CONFIG_H -I. -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20 -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/linux/bfin -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/linux  -DEMBED -D__uClinux__ -I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf537-0.2 -Wall -pipe -Wall -g -O2      -mcpu=bf537-0.2 -c /home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/count.c

bfin-uclinux-gcc -DHAVE_CONFIG_H -I. -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20 -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/linux/bfin -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/linux  -DEMBED -D__uClinux__ -I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf537-0.2 -Wall -pipe -Wall -g -O2      -mcpu=bf537-0.2 -c /home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/util.c

bfin-uclinux-gcc -DHAVE_CONFIG_H -I. -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20 -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/linux/bfin -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/linux  -DEMBED -D__uClinux__ -I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf537-0.2 -Wall -pipe -Wall -g -O2      -mcpu=bf537-0.2 -c /home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/desc.c

bfin-uclinux-gcc -DHAVE_CONFIG_H -I. -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20 -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/linux/bfin -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/linux  -DEMBED -D__uClinux__ -I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf537-0.2 -Wall -pipe -Wall -g -O2      -mcpu=bf537-0.2 -c /home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/file.c

bfin-uclinux-gcc -DHAVE_CONFIG_H -I. -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20 -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/linux/bfin -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/linux  -DEMBED -D__uClinux__ -I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf537-0.2 -Wall -pipe -Wall -g -O2      -mcpu=bf537-0.2 -c /home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/ipc.c

bfin-uclinux-gcc -DHAVE_CONFIG_H -I. -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20 -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/linux/bfin -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/linux  -DEMBED -D__uClinux__ -I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf537-0.2 -Wall -pipe -Wall -g -O2      -mcpu=bf537-0.2 -c /home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/io.c

bfin-uclinux-gcc -DHAVE_CONFIG_H -I. -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20 -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/linux/bfin -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/linux  -DEMBED -D__uClinux__ -I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf537-0.2 -Wall -pipe -Wall -g -O2      -mcpu=bf537-0.2 -c /home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/ioctl.c

bfin-uclinux-gcc -DHAVE_CONFIG_H -I. -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20 -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/linux/bfin -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/linux  -DEMBED -D__uClinux__ -I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf537-0.2 -Wall -pipe -Wall -g -O2      -mcpu=bf537-0.2 -c /home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/mem.c

bfin-uclinux-gcc -DHAVE_CONFIG_H -I. -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20 -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/linux/bfin -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/linux  -DEMBED -D__uClinux__ -I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf537-0.2 -Wall -pipe -Wall -g -O2      -mcpu=bf537-0.2 -c /home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/net.c

bfin-uclinux-gcc -DHAVE_CONFIG_H -I. -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20 -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/linux/bfin -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/linux  -DEMBED -D__uClinux__ -I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf537-0.2 -Wall -pipe -Wall -g -O2      -mcpu=bf537-0.2 -c /home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/process.c

bfin-uclinux-gcc -DHAVE_CONFIG_H -I. -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20 -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/linux/bfin -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/linux  -DEMBED -D__uClinux__ -I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf537-0.2 -Wall -pipe -Wall -g -O2      -mcpu=bf537-0.2 -c /home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/bjm.c

bfin-uclinux-gcc -DHAVE_CONFIG_H -I. -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20 -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/linux/bfin -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/linux  -DEMBED -D__uClinux__ -I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf537-0.2 -Wall -pipe -Wall -g -O2      -mcpu=bf537-0.2 -c /home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/quota.c

bfin-uclinux-gcc -DHAVE_CONFIG_H -I. -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20 -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/linux/bfin -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/linux  -DEMBED -D__uClinux__ -I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf537-0.2 -Wall -pipe -Wall -g -O2      -mcpu=bf537-0.2 -c /home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/resource.c

bfin-uclinux-gcc -DHAVE_CONFIG_H -I. -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20 -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/linux/bfin -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/linux  -DEMBED -D__uClinux__ -I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf537-0.2 -Wall -pipe -Wall -g -O2      -mcpu=bf537-0.2 -c /home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/signal.c

bfin-uclinux-gcc -DHAVE_CONFIG_H -I. -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20 -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/linux/bfin -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/linux  -DEMBED -D__uClinux__ -I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf537-0.2 -Wall -pipe -Wall -g -O2      -mcpu=bf537-0.2 -c /home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/sock.c

bfin-uclinux-gcc -DHAVE_CONFIG_H -I. -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20 -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/linux/bfin -I/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/linux  -DEMBED -D__uClinux__ -I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf537-0.2 -Wall -pipe -Wall -g -O2      -mcpu=bf537-0.2 -c /home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/system.c

/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/signal.c:1533:2: warning: #warning No sys_sigreturn() for this architecture

/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/signal.c:1534:2: warning: #warning (no problem, just a reminder :-)

/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/system.c:321:26: error: asm/cachectl.h: No such file or directory

/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/system.c:324: error: ‘ICACHE’ undeclared here (not in a function)

/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/system.c:325: error: ‘DCACHE’ undeclared here (not in a function)

/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/system.c:326: error: ‘BCACHE’ undeclared here (not in a function)

make[4]: *** [system.o] Error 1

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

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

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

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

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

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

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

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

make: *** [user/strace_only] Error 2

test@uclinux41:~/work/cruise/checkouts/uclinux-dist> make menuconfig

find vendors -mindepth 2 '(' -name .svn -prune ')' -o -type f -name Kconfig -print | sed 's:^:source ../:' > vendors/Kconfig

config/mkconfig > Kconfig

KCONFIG_NOTIMESTAMP=1 /home/test/work/cruise/checkouts/uclinux-dist/config/kconfig/mconf Kconfig

#

# configuration written to .config

#

 

 

*** End of Linux kernel configuration.

 

 

Follow-ups

 

--- Mike Frysinger                                           2010-09-13 23:52:59

your toolchain build is out of date:

 

user/strace/strace-4.5.20/system.c:321:26: error: asm/cachectl.h: No such file

or directory

 

--- Vivi Li                                                  2010-09-14 05:30:41

I can build strace with latest trunk toolchain, but still fail to build strace

with 2010r1-rc2 toolchain.

That is still a problem.

 

--- angelia wu                                               2010-09-14 05:41:13

 

 

--- Mike Frysinger                                           2010-09-14 07:20:05

and that toolchain is out of date too.  this has already been fixed in the

branch in commit 4887.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes