FAQ: [#6664] strace fails to build(2011)

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

[#6664] strace fails to build

Submitted By: Nick Potts

Open Date

2011-06-27 13:12:40    

Priority:

Medium     Assignee:

Nobody

Status:

Open     Fixed In Release:

N/A

Found In Release:

2011R1     Release:

git-current

Category:

uClinux-dist applications     Board:

EZKIT Lite

Processor:

BF537     Silicon Revision:

.3

Is this bug repeatable?:

Yes     Resolution:

Rejected

Uboot version or rev.:

    Toolchain version or rev.:

2010R1-RC5

App binary format:

N/A     

Summary: strace fails to build

Details:

 

Current git kernel (git://sources.blackfin.uclinux.org/git/linux-kernel)

 

Strace build messages:

> make user/strace_only

make[1]: Entering directory `/data/blackfin/snapshots/uclinux/user'

touch strace/.sgbuilt_user && make -C strace -j8

make[2]: Entering directory `/data/blackfin/snapshots/uclinux/user/strace'

if ! CPP="bfin-uclinux-gcc -E" BUILD_CC=gcc ./check-entities.sh /data/blackfin/snapshots/uclinux/linux-2.6.x blackfin strace-4.6 bfin       ; then [ -d .svn ] && exit 1 ; fi

Strace: bfin in strace-4.6

Kernel: blackfin in /data/blackfin/snapshots/uclinux/linux-2.6.x

errno list ... FAIL! (see /data/blackfin/snapshots/uclinux/user/strace/strace-4.6/errnoent.h)

ioctl list (common) ... OK!

ioctl list (bfin) ... OK!

signal list ... OK!

syscall list ... FAIL! (see /data/blackfin/snapshots/uclinux/user/strace/strace-4.6/syscallent.h)

make[2]: *** [.check] Error 1

make[2]: Leaving directory `/data/blackfin/snapshots/uclinux/user/strace'

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

make[1]: Leaving directory `/data/blackfin/snapshots/uclinux/user'

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

 

 

Current

 

Follow-ups

 

--- Nick Potts                                               2011-06-27 13:13:19

Probably a dup of http://blackfin.uclinux.org/gf/tracker/6557

 

--- Mike Frysinger                                           2011-06-27 13:18:36

you probably have trees that are out of sync.  make sure you are using the

latest kernel git and the latest uclinux-dist svn.

 

if you're going to mix & match, then the build failure is going to happen.

you can override it by doing:

touch user/strace/.check

 

but otherwise this isnt supported

 

--- Nick Potts                                               2011-06-27 13:28:57

I am using the latest kernel git and uclinux-dist git.  I am now fetching

uclinux-dist svn to compare that way.

 

--- Mike Frysinger                                           2011-06-27 13:39:05

you can read the syscallent.h file that strace referred to and compare it to the

one in the linux/bfin/ subdir ... there shouldnt be more or less syscalls in

either file.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes