[#3990] Build kernel fails at config strace in latest trunk
Submitted By: Vivi Li
Open Date
2008-03-27 07:21:57 Close Date
2008-03-31 23:34:25
Priority:
Medium Assignee:
Mike Frysinger
Status:
Closed Fixed In Release:
N/A
Found In Release:
N/A Release:
Category:
N/A Board:
Processor:
N/A Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Uboot version or rev.:
Toolchain version or rev.:
08r1-rc8
App binary format:
Summary: Build kernel fails at config strace in latest trunk
Details:
Build kernel fails at config strace in latest trunk.
--
../strace-4.5.15/configure --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 ^M
checking for a BSD-compatible install... /usr/bin/install -c^M
checking whether build environment is sane... yes^M
checking for gawk... gawk^M
checking whether make sets $(MAKE)... yes^M
checking for bfin-uclinux-strip... bfin-uclinux-strip^M
checking whether to enable maintainer-specific portions of Makefiles... no^M
checking build system type... i686-pc-linux-gnu^M
checking host system type... bfin-unknown-uclinux^M
checking for supported operating system... linux^M
checking for supported architecture... bfin^M
checking for bfin-uclinux-gcc... bfin-uclinux-gcc^M
checking for C compiler default output file name... a.out^M
checking whether the C compiler works... yes^M
checking whether we are cross compiling... yes^M
checking for suffix of executables... ^M
checking for suffix of object files... o^M
checking whether we are using the GNU C compiler... yes^M
checking whether bfin-uclinux-gcc accepts -g... yes^M
checking for bfin-uclinux-gcc option to accept ISO C89... none needed^M
checking for style of include used by make... GNU^M
checking dependency style of bfin-uclinux-gcc... none^M
checking for primary include directory... /opt/uClinux/bfin-uclinux/bfin-uclinux/runtime/usr/include^M
checking how to run the C preprocessor... bfin-uclinux-gcc -E^M
checking for grep that handles long lines and -e... /usr/bin/grep^M
checking for egrep... /usr/bin/grep -E^M
checking whether bfin-uclinux-gcc needs -traditional... no^M
checking for an ANSI C-conforming const... yes^M
checking for ANSI C header files... yes^M
checking for dirent.h that defines DIR... yes^M
checking for library containing opendir... none required^M
checking whether stat file-mode macros are broken... no^M
checking for sys/types.h... yes^M
checking for sys/stat.h... yes^M
checking for stdlib.h... yes^M
checking for string.h... yes^M
checking for memory.h... yes^M
checking for strings.h... yes^M
checking for inttypes.h... yes^M
checking for stdint.h... yes^M
checking for unistd.h... yes^M
checking for struct stat.st_blksize... yes^M
checking for struct stat.st_blocks... yes^M
checking for struct stat.st_aclcnt... no^M
checking for struct stat.st_flags... no^M
checking for struct stat.st_fstype... no^M
checking for struct stat.st_gen... no^M
checking for struct stat.st_level... no^M
checking for struct stat.st_rdev... yes^M
checking for stat64 in (asm|sys)/stat.h... yes^M
checking return type of signal handlers... void^M
checking for uid_t in sys/types.h... yes^M
checking for mode_t... yes^M
checking type of array argument to getgroups... gid_t^M
checking whether sys/types.h defines makedev... yes^M
checking for sig_atomic_t... yes^M
checking for siginfo_t... yes^M
checking for struct sockaddr_in6.sin6_scope_id... yes^M
checking for long long... yes^M
checking for little endian long long... no^M
checking for long long off_t... no^M
checking for long long rlim_t... no^M
checking for struct opthdr... no^M
checking for struct t_opthdr... no^M
checking for sigaction... yes^M
checking for strerror... yes^M
checking for strsignal... yes^M
checking for pread... yes^M
checking for sys_siglist... no^M
checking for _sys_siglist... no^M
checking for getdents... no^M
checking for mctl... no^M
checking for prctl... yes^M
checking for sendmsg... yes^M
checking for inet_ntop... yes^M
checking for if_indextoname... yes^M
checking sys/reg.h usability... yes^M
checking sys/reg.h presence... yes^M
checking for sys/reg.h... yes^M
checking sys/filio.h usability... no^M
checking sys/filio.h presence... no^M
checking for sys/filio.h... no^M
checking sys/acl.h usability... no^M
checking sys/acl.h presence... no^M
checking for sys/acl.h... no^M
checking sys/asynch.h usability... no^M
checking sys/asynch.h presence... no^M
checking for sys/asynch.h... no^M
checking sys/door.h usability... no^M
checking sys/door.h presence... no^M
checking for sys/door.h... no^M
checking stropts.h usability... no^M
checking stropts.h presence... no^M
checking for stropts.h... no^M
checking sys/conf.h usability... no^M
checking sys/conf.h presence... no^M
checking for sys/conf.h... no^M
checking sys/stream.h usability... no^M
checking sys/stream.h presence... no^M
checking for sys/stream.h... no^M
checking sys/tihdr.h usability... no^M
checking sys/tihdr.h presence... no^M
checking for sys/tihdr.h... no^M
checking sys/tiuser.h usability... no^M
checking sys/tiuser.h presence... no^M
checking for sys/tiuser.h... no^M
checking sys/sysconfig.h usability... no^M
checking sys/sysconfig.h presence... no^M
checking for sys/sysconfig.h... no^M
checking ioctls.h usability... no^M
checking ioctls.h presence... no^M
checking for ioctls.h... no^M
checking sys/ioctl.h usability... yes^M
checking sys/ioctl.h presence... yes^M
checking for sys/ioctl.h... yes^M
checking sys/ptrace.h usability... yes^M
checking sys/ptrace.h presence... yes^M
checking for sys/ptrace.h... yes^M
checking termio.h usability... yes^M
checking termio.h presence... yes^M
checking for termio.h... yes^M
checking linux/ptrace.h usability... yes^M
checking linux/ptrace.h presence... yes^M
checking for linux/ptrace.h... yes^M
checking asm/reg.h usability... no^M
checking asm/reg.h presence... no^M
checking for asm/reg.h... no^M
checking sys/uio.h usability... yes^M
checking sys/uio.h presence... yes^M
checking for sys/uio.h... yes^M
checking sys/aio.h usability... no^M
checking sys/aio.h presence... no^M
checking for sys/aio.h... no^M
checking poll.h usability... yes^M
checking poll.h presence... yes^M
checking for poll.h... yes^M
checking sys/poll.h usability... yes^M
checking sys/poll.h presence... yes^M
checking for sys/poll.h... yes^M
checking sys/vfs.h usability... yes^M
checking sys/vfs.h presence... yes^M
checking for sys/vfs.h... yes^M
checking asm/sysmips.h usability... no^M
checking asm/sysmips.h presence... no^M
checking for asm/sysmips.h... no^M
checking linux/utsname.h usability... yes^M
checking linux/utsname.h presence... yes^M
checking for linux/utsname.h... yes^M
checking sys/nscsys.h usability... no^M
checking sys/nscsys.h presence... no^M
checking for sys/nscsys.h... no^M
checking mqueue.h usability... yes^M
checking mqueue.h presence... yes^M
checking for mqueue.h... yes^M
checking sys/epoll.h usability... yes^M
checking sys/epoll.h presence... yes^M
checking for sys/epoll.h... yes^M
checking libaio.h usability... no^M
checking libaio.h presence... no^M
checking for libaio.h... no^M
checking for inttypes.h... (cached) yes^M
checking for linux/icmp.h... yes^M
checking for linux/in6.h... yes^M
checking for linux/netlink.h... yes^M
checking for linux/if_packet.h... yes^M
checking for asm/sigcontext.h... yes^M
checking for netinet/tcp.h... yes^M
checking for netinet/udp.h... yes^M
checking for MP procfs... no^M
checking for pollable procfs... no^M
checking for struct msghdr.msg_control... yes^M
checking for pr_syscall in struct prstatus... no^M
checking for struct T_conn_res.QUEUE_ptr... no^M
checking for struct T_conn_res.ACCEPTOR_id... no^M
checking for struct __old_kernel_stat... no^M
checking for struct pt_all_user_regs... no^M
checking for struct ia64_fpreg... no^M
checking for struct user_desc... no^M
checking for struct dqblk.dqb_curblocks... yes^M
checking whether sys_errlist is declared... no^M
checking whether sys_siglist is declared... no^M
checking whether _sys_siglist is declared... no^M
checking for perl... /usr/bin/perl^M
configure: creating ./config.status^M
config.status: creating Makefile^M
config.status: creating config.h^M
config.status: executing depfiles commands^M
if ! BUILD_CC=gcc ./check-entities.sh /home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x blackfin strace-4.5.15 bfin ; then [ -d .svn ] && exit 1 ; fi^M
Strace: bfin in strace-4.5.15^M
Kernel: blackfin in /home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x^M
errno list ... OK!^M
ioctl list ... FAIL! (see /home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.15/ioctlent.h)^M
signal list ... OK!^M
syscall list ... OK!^M
make[3]: *** [.check] Error 1^M
Follow-ups
--- Mike Frysinger 2008-03-27 09:42:58
please post the file in question as an attachment:
/home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.15/ioctlent.h
--- Mingquan Pan 2008-03-27 22:50:56
Attached.
--- Mike Frysinger 2008-03-28 13:25:26
your dm ioctls are being improperly defined ...
please update to latest trunk, rerun the test, and then post these files:
user/strace/strace-4.5.15/ioctlsort.i
user/strace/strace-4.5.15/ioctldefs.h
user/strace/strace-4.5.15/ioctls.h
--- Mingquan Pan 2008-03-31 04:33:31
I check out another uclinux-dist from trunk,build and get the same error. The
three files attached.
--- Mike Frysinger 2008-03-31 12:23:11
svn up and try again ... it seems the cpp on your build system isnt producing
output that the awk likes ...
--- Mingquan Pan 2008-03-31 23:34:25
Yes,fixed.Close.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
ioctldefs.h text/x-chdr 2067 Mingquan Pan
ioctlent.h text/x-chdr 71130 Mingquan Pan
ioctls.h text/x-chdr 98365 Mingquan Pan
ioctlsort.i application/octet-stream 250127 Mingquan Pan