FAQ:[#7156] Fail to build strace in some test machines(2012)

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

[#7156] Fail to build strace in some test machines

Submitted By: Vivi Li

Open Date

2012-06-12 05:19:42     Close Date

2012-07-13 01:41:04

Priority:

Medium     Assignee:

steven miao

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     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.:

gcc4.3-2012_Feb_15

App binary format:

N/A     

Summary: Fail to build strace in some test machines

Details:

 

Fail to build strace in some test machines.

Host PC are 11.0(i586).

 

--

test@uclinux61-bf548-std:~/work/cruise/checkouts/uclinux-dist> make NON_SMP_BUILD=1 user/strace_only

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

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

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

set -e; \

        mkdir -p /home/test/work/cruise/checkouts/uclinux-dist/tools/autotools-cache/build//$$; \

        cd /home/test/work/cruise/checkouts/uclinux-dist/tools/autotools-cache/build//$$; \

        CONFIG_SITE="" ../../configure -C; \

        mv config.cache /home/test/work/cruise/checkouts/uclinux-dist/tools/autotools-cache/build/config.cache

configure: creating cache config.cache

checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

checking for a thread-safe mkdir -p... /bin/mkdir -p

checking for gawk... gawk

checking whether make sets $(MAKE)... yes

checking build system type... i686-pc-linux-gnu

checking for gawk... (cached) gawk

checking for grep that handles long lines and -e... /usr/bin/grep

checking for egrep... /usr/bin/grep -E

checking for fgrep... /usr/bin/grep -F

checking for a sed that does not truncate output... /usr/bin/sed

configure: updating cache config.cache

configure: creating ./config.status

config.status: creating Makefile

grep -v ^ac_cv_env_ /home/test/work/cruise/checkouts/uclinux-dist/tools/autotools-cache/build/config.cache > /home/test/work/cruise/checkouts/uclinux-dist/vendors/config/config.site.build.$$ && mv /home/test/work/cruise/checkouts/uclinux-dist/vendors/config/config.site.build.$$ /home/test/work/cruise/checkouts/uclinux-dist/vendors/config/config.site.build

set -e; \

        mkdir -p /home/test/work/cruise/checkouts/uclinux-dist/tools/autotools-cache/build//$$; \

        cd /home/test/work/cruise/checkouts/uclinux-dist/tools/autotools-cache/build//$$; \

        gt=`../../create-target-cache.sh bfin-uclinux`; \

        cp $gt /home/test/work/cruise/checkouts/uclinux-dist/vendors/config/$gt; \

        touch /home/test/work/cruise/checkouts/uclinux-dist/tools/autotools-cache/build/bfin-uclinux

Using inc dir for bfin-uclinux (bfin-unknown-uclinux):

        /opt/uClinux.2012_Feb_15_11_42/bfin-uclinux/bin/../bfin-uclinux/runtime/usr/include

        /opt/uClinux.2012_Feb_15_11_42/bfin-uclinux/bin/../lib/gcc/bfin-uclinux/4.3.5/include

set -e ; conf="$PWD/strace-4.6/configure" ; chmod a+rx "$conf" ; find strace-4.6 -type f -print0 | xargs -0 touch -r "$conf" ; rm -rf build-strace-4.6 ; mkdir -p build-strace-4.6 ; cd build-strace-4.6 ; "$conf" --host=bfin-uclinux --build=i686-pc-linux-gnu --prefix=/usr --sysconfdir=/etc --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localstatedir=/var/lib --disable-dependency-tracking --enable-fast-install

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

configure: loading site script /home/test/work/cruise/checkouts/uclinux-dist/vendors/config/config.site

config.site: loading extra site script frag /home/test/work/cruise/checkouts/uclinux-dist/vendors/config/config.site.build

config.site: loading site script frag /home/test/work/cruise/checkouts/uclinux-dist/vendors/config/bfin/config.site

config.site: loading site script frag /home/test/work/cruise/checkouts/uclinux-dist/vendors/config/bfin-unknown-uclinux

checking for a BSD-compatible install... (cached) /usr/bin/install -c

checking whether build environment is sane... yes

checking for bfin-uclinux-strip... (cached) bfin-uclinux-strip

checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p

checking for gawk... (cached) gawk

checking whether make sets $(MAKE)... (cached) yes

checking whether to enable maintainer-specific portions of Makefiles... no

checking build system type... (cached) i686-pc-linux-gnu

checking host system type... (cached) bfin-unknown-uclinux

checking for supported operating system... linux

checking for supported architecture... bfin

checking for bfin-uclinux-gcc... (cached) bfin-uclinux-gcc

checking whether the C compiler works... yes

checking for C compiler default output file name... a.out

checking for suffix of executables...

checking whether we are cross compiling... yes

checking for suffix of object files... (cached) o

checking whether we are using the GNU C compiler... (cached) yes

checking whether bfin-uclinux-gcc accepts -g... (cached) yes

checking for bfin-uclinux-gcc option to accept ISO C89... none needed

checking for style of include used by make... GNU

checking dependency style of bfin-uclinux-gcc... (cached) none

checking how to run the C preprocessor... (cached) bfin-uclinux-gcc -E

checking for grep that handles long lines and -e... (cached) /usr/bin/grep

checking for egrep... (cached) /usr/bin/grep -E

checking for ANSI C header files... yes

checking for sys/types.h... (cached) yes

checking for sys/stat.h... (cached) yes

checking for stdlib.h... (cached) yes

checking for string.h... (cached) yes

checking for memory.h... (cached) yes

checking for strings.h... (cached) yes

checking for inttypes.h... (cached) yes

checking for stdint.h... (cached) yes

checking for unistd.h... (cached) yes

checking minix/config.h usability... no

checking minix/config.h presence... no

checking for minix/config.h... no

checking whether it is safe to define __EXTENSIONS__... yes

checking for primary include directory... /opt/uClinux.2012_Feb_15_11_42/bfin-uclinux/bin/../bfin-uclinux/runtime/usr/include

checking whether compiler handles -Wall... yes

checking whether compiler handles -Wwrite-strings... yes

checking how to run the C preprocessor... bfin-uclinux-gcc -E

checking whether bfin-uclinux-gcc needs -traditional... no

checking for an ANSI C-conforming const... (cached) yes

checking whether byte ordering is bigendian... (cached) no

checking for ANSI C header files... (cached) yes

checking for stdbool.h that conforms to C99... (cached) yes

checking for _Bool... yes

checking for dirent.h that defines DIR... yes

checking for library containing opendir... none required

checking whether stat file-mode macros are broken... no

checking for struct stat.st_blksize... yes

checking for struct stat.st_blocks... yes

checking for struct stat.st_aclcnt... no

checking for struct stat.st_flags... no

checking for struct stat.st_fstype... no

checking for struct stat.st_gen... no

checking for struct stat.st_level... no

checking for struct stat.st_rdev... yes

checking for stat64 in (asm|sys)/stat.h... yes

checking for statfs64 in sys/vfs.h... yes

checking return type of signal handlers... void

checking for uid_t in sys/types.h... yes

checking for mode_t... yes

checking type of array argument to getgroups... gid_t

checking whether sys/types.h defines makedev... yes

checking for sig_atomic_t... yes

checking for siginfo_t... yes

checking for struct sockaddr_in6.sin6_scope_id... yes

checking for long long... (cached) yes

checking for little endian long long... yes

checking for long long off_t... no

checking for long long rlim_t... no

checking for struct opthdr... no

checking for struct t_opthdr... no

checking for fork... (cached) no

checking for getdents... no

checking for if_indextoname... (cached) yes

checking for inet_ntop... (cached) yes

checking for mctl... no

checking for prctl... (cached) yes

checking for pread... (cached) yes

checking for sendmsg... (cached) yes

checking for sigaction... (cached) yes

checking for strerror... (cached) yes

checking for strsignal... (cached) yes

checking for sys_siglist... (cached) no

checking for _sys_siglist... no

checking for inttypes.h... (cached) yes

checking for ioctls.h... (cached) no

checking libaio.h usability... no

checking libaio.h presence... no

checking for libaio.h... no

checking for mqueue.h... (cached) yes

checking for poll.h... (cached) yes

checking for stropts.h... (cached) no

checking for termio.h... (cached) yes

checking sys/acl.h usability... no

checking sys/acl.h presence... no

checking for sys/acl.h... no

checking sys/aio.h usability... no

checking sys/aio.h presence... no

checking for sys/aio.h... no

checking sys/asynch.h usability... no

checking sys/asynch.h presence... no

checking for sys/asynch.h... no

checking sys/conf.h usability... no

checking sys/conf.h presence... no

checking for sys/conf.h... no

checking sys/door.h usability... no

checking sys/door.h presence... no

checking for sys/door.h... no

checking for sys/epoll.h... (cached) yes

checking sys/filio.h usability... no

checking sys/filio.h presence... no

checking for sys/filio.h... no

checking for sys/ioctl.h... (cached) yes

checking sys/nscsys.h usability... no

checking sys/nscsys.h presence... no

checking for sys/nscsys.h... no

checking for sys/poll.h... (cached) yes

checking for sys/ptrace.h... (cached) yes

checking for sys/reg.h... (cached) no

checking for sys/stream.h... (cached) no

checking sys/sysconfig.h usability... no

checking sys/sysconfig.h presence... no

checking for sys/sysconfig.h... no

checking sys/tihdr.h usability... no

checking sys/tihdr.h presence... no

checking for sys/tihdr.h... no

checking sys/tiuser.h usability... no

checking sys/tiuser.h presence... no

checking for sys/tiuser.h... no

checking for sys/uio.h... (cached) yes

checking for sys/vfs.h... (cached) yes

checking for asm/cachectl.h... (cached) yes

checking asm/sysmips.h usability... no

checking asm/sysmips.h presence... no

checking for asm/sysmips.h... no

checking for linux/capability.h... (cached) yes

checking for linux/ptrace.h... (cached) yes

checking for linux/utsname.h... (cached) yes

checking netinet/sctp.h usability... no

checking netinet/sctp.h presence... no

checking for netinet/sctp.h... no

checking for linux/icmp.h... (cached) yes

checking for linux/in6.h... (cached) yes

checking for linux/netlink.h... (cached) yes

checking for linux/if_packet.h... (cached) yes

checking for asm/sigcontext.h... (cached) yes

checking for struct sigcontext_struct... yes

checking for struct sigcontext... yes

checking for netinet/tcp.h... (cached) yes

checking for netinet/udp.h... (cached) yes

checking for MP procfs... no

checking for pollable procfs... no

checking for struct msghdr.msg_control... yes

checking for pr_syscall in struct prstatus... no

checking for struct T_conn_res.QUEUE_ptr... no

checking for struct T_conn_res.ACCEPTOR_id... no

checking for struct __old_kernel_stat... no

checking for struct pt_all_user_regs... no

checking for struct ia64_fpreg... no

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 whether                PTRACE_SETOPTIONS is declared... yes

checking whether                PTRACE_GETEVENTMSG is declared... yes

checking whether                PTRACE_GETSIGINFO is declared... yes

checking whether                PTRACE_O_TRACEFORK is declared... yes

checking whether                PTRACE_O_TRACEVFORK is declared... yes

checking whether                PTRACE_O_TRACECLONE is declared... yes

checking whether                PTRACE_EVENT_FORK is declared... yes

checking whether                PTRACE_EVENT_VFORK is declared... yes

checking whether                PTRACE_EVENT_CLONE is declared... yes

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

configure: creating ./config.status

config.status: creating Makefile

config.status: creating tests/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.6 bfin       ; then [ -d .svn ] && exit 1 ; fi

Strace: bfin in strace-4.6

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

errno list ... OK!

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

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

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

test@uclinux61-bf548-std:~/work/cruise/checkouts/uclinux-dist>

--

 

Follow-ups

 

--- steven miao                                              2012-06-29 05:19:46

fixed ioctl entry

 

--- Vivi Li                                                  2012-07-13 02:40:48

OK, close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

ioctlent.linux.h.in    application/octet-stream    95147    Vivi Li

ioctlent.arch.h.in    application/octet-stream    4572    Vivi Li

Outcomes