FAQ:[#6041] Build strace failed at configuration for ioctl in latest trunk(2010)

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

[#6041] Build strace failed at configuration for ioctl in latest trunk

Submitted By: Vivi Li

Open Date

2010-05-24 05:05:14     Close Date

2010-07-22 03:45:46

Priority:

Medium High     Assignee:

Mike Frysinger

Status:

Closed     Fixed In Release:

2010R1

Found In Release:

2010R1     Release:

Category:

Make Errors     Board:

N/A

Processor:

ALL     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

gcc4.3-2010_Jan_22

App binary format:

N/A     

Summary: Build strace failed at configuration for ioctl in latest trunk

Details:

 

Build strace failed at configuration for ioctl in latest trunk.

 

Last passed verion:

--

kernel:    Linux release 2.6.33.4-ADI-2010R1-pre-svn8724, build #213 Thu May 20 23:35:50 CST 2010

toolchain: bfin-uclinux-gcc release gcc version 4.3.4 (ADI-trunk/svn-3815)

user-dist: release svn-9633, build #3546 Thu May 20 23:35:14 CST 2010

--

 

First failed version:

--

kernel:    Linux release 2.6.34-ADI-2010R1-pre-svn8746, build #217 Sat May 22 20:21:39 CST 2010

toolchain: bfin-linux-uclibc-gcc release gcc version 4.3.4 (ADI-trunk/svn-3815)

user-dist: release svn-9641, build #3685 Sat May 22 20:20:40 CST 2010

--

 

Bellow is the log and ioctlent.h is attached.

--

checking for struct user_desc... no

checking for struct dqblk.dqb_curblocks... yes

checking for struct sigcontext.sc_hi2... no

checking whether sys_errlist is declared... no

checking whether sys_siglist is declared... no

checking whether _sys_siglist is declared... no

checking for perl... /usr/bin/perl

configure: creating ./config.status

config.status: creating Makefile

config.status: creating config.h

config.status: executing depfiles commands

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

if ! CPP="bfin-uclinux-gcc -E" BUILD_CC=gcc ./check-entities.sh /home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x blackfin strace-4.5.20 bfin       ; then [ -d .svn ] && exit 1 ; fi

Strace: bfin in strace-4.5.20

Kernel: blackfin in /home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x

errno list ... OK!

ioctl list ... FAIL! (see /home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/ioctlent.h)

signal list ... OK!

syscall list ... OK!

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

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

--

 

Follow-ups

 

--- Mike Frysinger                                           2010-05-24 13:40:33

should be fixed now

 

--- Vivi Li                                                  2010-05-28 02:33:37

Still fail. Please refer to log bellow:

--

checking for perl... /usr/bin/perl

configure: creating ./config.status

config.status: creating Makefile

config.status: creating config.h

config.status: executing depfiles commands

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

if ! CPP="bfin-uclinux-gcc -E" BUILD_CC=gcc ./check-entities.sh

/home/test/work/cruise/checkouts/uclinux-dist.bak/linux-2.6.x blackfin

strace-4.5.20 bfin       ; then [ -d .svn ] && exit 1 ; fi

Strace: bfin in strace-4.5.20

Kernel: blackfin in

/home/test/work/cruise/checkouts/uclinux-dist.bak/linux-2.6.x

errno list ... OK!

ioctl list ... scsi/*

scsi/fc/*

sound/*

mtd/*

rdma/*

video/*

xen/*

drm/*

linux/wimax/*

linux/isdn/*

linux/netfilter_arp/*

linux/spi/*

linux/tc_ematch/*

linux/dvb/*

linux/usb/*

linux/netfilter_ipv6/*

linux/raid/*

linux/tc_act/*

linux/netfilter/*

linux/netfilter_ipv4/*

linux/nfsd/*

linux/*

linux/hdlc/*

linux/netfilter_bridge/*

linux/byteorder/*

linux/sunrpc/*

linux/can/*

/home/test/work/cruise/checkouts/uclinux-dist.bak/linux-2.6.x/arch/blackfin/include/asm/*

asm-generic/* media/* net/bluetooth/* pcmcia/*

FAIL! (see

/home/test/work/cruise/checkouts/uclinux-dist.bak/user/strace/strace-4.5.20/ioctlent.h)

signal list ... OK!

syscall list ... OK!

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

make[2]: Leaving directory

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

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

make[1]: Leaving directory

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

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

--

 

--- Vivi Li                                                  2010-05-28 02:35:35

Attache new ioctlent.h

 

--- Mike Frysinger                                           2010-05-31 07:34:16

that failure is for a somewhat different reason, but whatever.  should be fixed

in trunk now.

 

--- Vivi Li                                                  2010-06-01 00:41:49

It still fails. ioctlent.h doesn't change.

 

--

checking for perl... /usr/bin/perl

configure: creating ./config.status

config.status: creating Makefile

config.status: creating config.h

config.status: executing depfiles commands

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

if ! CPP="bfin-uclinux-gcc -E" BUILD_CC=gcc ./check-entities.sh

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x blackfin strace-4.5.20

bfin       ; then [ -d .svn ] && exit 1 ; fi

Strace: bfin in strace-4.5.20

Kernel: blackfin in /home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x

errno list ... OK!

ioctl list ... FAIL! (see

/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.20/ioctlent.h)

signal list ... OK!

syscall list ... OK!

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

--

 

--- Vivi Li                                                  2010-06-01 05:45:38

This failure doesn't happen on all regression machine. Some failed and some can

build. I haven't got the clue yet...

I'll recheck some time later.

 

--- Vivi Li                                                  2010-06-02 01:47:47

It still fails on some PC with both Suse 11 and suse 10.2

 

--- Mike Frysinger                                           2010-06-02 01:59:45

i need updated ioctlent.h files from machines that work and machines that fail

 

--- Vivi Li                                                  2010-06-02 02:19:50

For machine that passed, there is no ioctlent.h in folder

user/strace/strace-4.5.20/

For machine that failed, that file exists and it's the same with my former

attachments.

 

So I attach config.log here.

 

--- Mike Frysinger                                           2010-06-02 02:27:14

the config.log isnt useful because the failure has nothing to do with the actual

configure && make process.  the OK and FAIL messages come from a custom

script.  if there is a FAIL! with the ioctl list step, then there should be an

ioctlent.h file.  if it passes, then the file will be deleted.

 

--- Vivi Li                                                  2010-06-02 06:12:08

OK, I find the ioctlent.h file in passed machine. Attached as ioctlent.h.pass

 

--- Mike Frysinger                                           2010-07-02 16:33:06

probably fixed now in svn trunk

 

--- Vivi Li                                                  2010-07-04 22:56:34

Still fails...

 

I attach the latest ioctlent.h.

 

--- Mike Frysinger                                           2010-07-07 19:09:49

forgot to commit the uclinux-dist strace change after fixing the kernel

 

--- Vivi Li                                                  2010-07-22 03:45:46

OK. Close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

ioctlent.h.fail_suse11    application/octet-stream    96184    Vivi Li

ioctlent.h    application/octet-stream    96172    Vivi Li

ioctlent.h.pass_suse11    application/octet-stream    96176    Vivi Li

Outcomes