Wind River Support Network

HomeDefectsLIN6-8054
Fixed

LIN6-8054 : wdbagent-ptrace do_compile failed

Created: Aug 1, 2014    Updated: Dec 3, 2018
Resolved Date: Sep 23, 2014
Found In Version: 6.0.0.10
Fix Version: 6.0.0.13
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Userspace

Description

Per the build log:
http://yow-ssp1-lx.wrs.com:8000/logs/53d83685531115613963750a/buildConsoleLog

debug:	NOTE: Running task 2609 of 3884 (ID: 389, /Workspace/07300707-build_full_features_WRL60010_LX03/intel-x86-64-standard-glibc-small/layers/wr-tools-debug/recipes-wr-tools-debug/wdbagent-ptrace/wdbagent-ptrace_3.3.80.bb, do_compile)
debug:	NOTE: recipe wdbagent-ptrace-3.3.80-r2.0: task do_compile: Started
debug:	ERROR: Function failed: do_compile (log file is located at /Workspace/07300707-build_full_features_WRL60010_LX03/intel-x86-64-standard-glibc-small/bitbake_build/tmp/work/x86_64-wrs-linux/wdbagent-ptrace/3.3.80-r2.0/temp/do_compile/log.do_compile.29315)
debug:	ERROR: Logfile of failure stored in: /Workspace/07300707-build_full_features_WRL60010_LX03/intel-x86-64-standard-glibc-small/bitbake_build/tmp/work/x86_64-wrs-linux/wdbagent-ptrace/3.3.80-r2.0/temp/do_compile/log.do_compile.29315
debug:	Log data follows:
debug:	| DEBUG: Executing shell function do_compile
debug:	| NOTE: make -j 1 ARCH=x86_64 ENDIAN=le CROSS_COMPILE=x86_64-wrs-linux- LINUX_ROOT=/nonexistent EXTRA_CFLAGS= -O2 -pipe -g -feliminate-unused-debug-types CC=x86_64-wrs-linux-gcc  -m64  --sysroot=/Workspace/07300707-build_full_features_WRL60010_LX03/intel-x86-64-standard-glibc-small/bitbake_build/tmp/sysroots/intel-x86-64 LD=x86_64-wrs-linux-ld --sysroot=/Workspace/07300707-build_full_features_WRL60010_LX03/intel-x86-64-standard-glibc-small/bitbake_build/tmp/sysroots/intel-x86-64   -m elf_x86_64
debug:	| make -C arch ARCH=x86-64 ENDIAN=le -f Makefile MAKEFILE=Makefile OBJ_DIR=bin/x86-64le EXTRA_CFLAGS="-O2 -pipe -g -feliminate-unused-debug-types" LOCAL_CFLAGS="-DWITHOUT_MIPC"
debug:	| make[1]: Entering directory `/Workspace/07300707-build_full_features_WRL60010_LX03/intel-x86-64-standard-glibc-small/bitbake_build/tmp/work/x86_64-wrs-linux/wdbagent-ptrace/3.3.80-r2.0/wdbagent-ptrace-3.3.80/arch'
debug:	| make -C x86-64 ARCH=x86-64 ENDIAN=le -f Makefile MAKEFILE=Makefile OBJ_DIR=bin/x86-64le EXTRA_CFLAGS="-O2 -pipe -g -feliminate-unused-debug-types" LOCAL_CFLAGS="-DWITHOUT_MIPC"
debug:	| make[2]: Entering directory `/Workspace/07300707-build_full_features_WRL60010_LX03/intel-x86-64-standard-glibc-small/bitbake_build/tmp/work/x86_64-wrs-linux/wdbagent-ptrace/3.3.80-r2.0/wdbagent-ptrace-3.3.80/arch/x86-64'
debug:	| Checking env
debug:	| LINUX_ROOT is  /nonexistent
debug:	| generating Makefile.x86-64le...done.
debug:	| lib rule : OBJDIR is bin/x86-64le, LIBRARY is bin/x86-64le/libWdbx86-64le.a
debug:	| make -f Makefile.x86-64le bin/x86-64le/libWdbx86-64le.a DEBUG=
debug:	| make[3]: Entering directory `/Workspace/07300707-build_full_features_WRL60010_LX03/intel-x86-64-standard-glibc-small/bitbake_build/tmp/work/x86_64-wrs-linux/wdbagent-ptrace/3.3.80-r2.0/wdbagent-ptrace-3.3.80/arch/x86-64'
debug:	| x86_64-wrs-linux-gcc  -m64  --sysroot=/Workspace/07300707-build_full_features_WRL60010_LX03/intel-x86-64-standard-glibc-small/bitbake_build/tmp/sysroots/intel-x86-64  -I/Workspace/07300707-build_full_features_WRL60010_LX03/intel-x86-64-standard-glibc-small/bitbake_build/tmp/work/x86_64-wrs-linux/wdbagent-ptrace/3.3.80-r2.0/wdbagent-ptrace-3.3.80/h -I/Workspace/07300707-build_full_features_WRL60010_LX03/intel-x86-64-standard-glibc-small/bitbake_build/tmp/work/x86_64-wrs-linux/wdbagent-ptrace/3.3.80-r2.0/wdbagent-ptrace-3.3.80/h/wdb -I/Workspace/07300707-build_full_features_WRL60010_LX03/intel-x86-64-standard-glibc-small/bitbake_build/tmp/work/x86_64-wrs-linux/wdbagent-ptrace/3.3.80-r2.0/wdbagent-ptrace-3.3.80/h/arch -I/Workspace/07300707-build_full_features_WRL60010_LX03/intel-x86-64-standard-glibc-small/bitbake_build/tmp/work/x86_64-wrs-linux/wdbagent-ptrace/3.3.80-r2.0/wdbagent-ptrace-3.3.80/h/arch/x86-64 -I/Workspace/07300707-build_full_features_WRL60010_LX03/intel-x86-64-standard-glibc-small/bitbake_build/tmp/work/x86_64-wrs-linux/wdbagent-ptrace/3.3.80-r2.0/wdbagent-ptrace-3.3.80/.. -I/Workspace/07300707-build_full_features_WRL60010_LX03/intel-x86-64-standard-glibc-small/bitbake_build/tmp/work/x86_64-wrs-linux/wdbagent-ptrace/3.3.80-r2.0/wdbagent-ptrace-3.3.80/../wdb -Iwdb -I. -I/nonexistent/usr/include -Wall -DWR_LINUX -DLINUX_TARGET -DARCH=arch_x86_64   -O2 -pipe -g -feliminate-unused-debug-types -DWITHOUT_MIPC  -DLINUX_THREADS -c wdbDbgArchLib.c -o bin/x86-64le/wdbDbgArchLib.o
debug:	| In file included from wdbDbgArchLib.c:55:0:
debug:	| /Workspace/07300707-build_full_features_WRL60010_LX03/intel-x86-64-standard-glibc-small/bitbake_build/tmp/sysroots/intel-x86-64/usr/include/linux/ptrace.h:58:8: error: redefinition of 'struct ptrace_peeksiginfo_args'
debug:	|  struct ptrace_peeksiginfo_args {
debug:	|         ^
debug:	| In file included from wdbDbgArchLib.c:54:0:
debug:	| /Workspace/07300707-build_full_features_WRL60010_LX03/intel-x86-64-standard-glibc-small/bitbake_build/tmp/sysroots/intel-x86-64/usr/include/sys/ptrace.h:191:8: note: originally defined here
debug:	|  struct ptrace_peeksiginfo_args
debug:	|         ^
debug:	| wdbDbgArchLib.c: In function 'wdbArchRemoveDebugRegs':
debug:	| wdbDbgArchLib.c:809:17: warning: variable 'statusBit' set but not used [-Wunused-but-set-variable]
debug:	|      int         statusBit;
debug:	|                  ^
debug:	| make[3]: *** [bin/x86-64le/wdbDbgArchLib.o] Error 1
debug:	| make[3]: Leaving directory `/Workspace/07300707-build_full_features_WRL60010_LX03/intel-x86-64-standard-glibc-small/bitbake_build/tmp/work/x86_64-wrs-linux/wdbagent-ptrace/3.3.80-r2.0/wdbagent-ptrace-3.3.80/arch/x86-64'
debug:	| make[2]: *** [lib] Error 2
debug:	| make[2]: Leaving directory `/Workspace/07300707-build_full_features_WRL60010_LX03/intel-x86-64-standard-glibc-small/bitbake_build/tmp/work/x86_64-wrs-linux/wdbagent-ptrace/3.3.80-r2.0/wdbagent-ptrace-3.3.80/arch/x86-64'
debug:	| make[1]: *** [x86-64] Error 2
debug:	| make[1]: Leaving directory `/Workspace/07300707-build_full_features_WRL60010_LX03/intel-x86-64-standard-glibc-small/bitbake_build/tmp/work/x86_64-wrs-linux/wdbagent-ptrace/3.3.80-r2.0/wdbagent-ptrace-3.3.80/arch'
debug:	| make: *** [arch] Error 2
debug:	| ERROR: oe_runmake failed
debug:	| WARNING: /Workspace/07300707-build_full_features_WRL60010_LX03/intel-x86-64-standard-glibc-small/bitbake_build/tmp/work/x86_64-wrs-linux/wdbagent-ptrace/3.3.80-r2.0/temp/do_compile/run.do_compile.29315:1 exit 1 from
debug:	|   exit 1
debug:	| ERROR: Function failed: do_compile (log file is located at /Workspace/07300707-build_full_features_WRL60010_LX03/intel-x86-64-standard-glibc-small/bitbake_build/tmp/work/x86_64-wrs-linux/wdbagent-ptrace/3.3.80-r2.0/temp/do_compile/log.do_compile.29315)
debug:	NOTE: recipe wdbagent-ptrace-3.3.80-r2.0: task do_compile: Failed
debug:	ERROR: Task 389 (/Workspace/07300707-build_full_features_WRL60010_LX03/intel-x86-64-standard-glibc-small/layers/wr-tools-debug/recipes-wr-tools-debug/wdbagent-ptrace/wdbagent-ptrace_3.3.80.bb, do_compile) failed with exit code '1'
debug:	NOTE: Running task 2610 of 3884 (ID: 1632, /Workspace/07300707-build_full_features_WRL60010_LX03/intel-x86-64-standard-glibc-small/layers/wr-tools-profile/recipes-wr-tools-profile/libunwind/libunwind_1.0.1.bb, do_populate_sysroot)
debug:	NOTE: recipe libunwind-1.0.1-r2.2: task do_populate_sysroot: Started
debug:	NOTE: recipe sysfsutils-2.1.0-r5: task do_configure: Succeeded
debug:	NOTE: recipe eglibc-mtrace-2.18-r1: task do_package: Succeeded
debug:	NOTE: recipe libunwind-1.0.1-r2.2: task do_populate_sysroot: Succeeded
debug:	NOTE: recipe usbutils-007-r0: task do_compile: Succeeded
debug:	NOTE: recipe lib32-sourcery-tc-4.8.1-r2: task do_install: Succeeded
debug:	NOTE: recipe linux-windriver-3.10-r0: task do_package: Succeeded
debug:	NOTE: recipe gettext-0.18.3.1-r0: task do_install: Succeeded
debug:	NOTE: recipe mariadb-native-5.1.67-r0: task do_compile: Succeeded
debug:	NOTE: Tasks Summary: Attempted 2610 tasks of which 1339 didn't need to be rerun and 1 failed.
debug:	
debug:	Summary: 1 task failed:
debug:	/Workspace/07300707-build_full_features_WRL60010_LX03/intel-x86-64-standard-glibc-small/layers/wr-tools-debug/recipes-wr-tools-debug/wdbagent-ptrace/wdbagent-ptrace_3.3.80.bb, do_compile
debug:	Summary: There was 1 ERROR message shown, returning a non-zero exit code.
debug:	make: *** [export/intel-x86-64-glibc-small-standard-dist.tar.bz2] Error 1

Steps to Reproduce

/product/WRL60010_LX03/wrlinux-6/wrlinux/configure --enable-board=intel-x86-64 --enable-kernel=standard --enable-rootfs=glibc-small --with-layer=wr-tcwrappers,wr-kernel/kernel-dev --with-template=feature/analysis,feature/demo,feature/debug,feature/gdb,feature/LAMP,feature/ipv6,feature/mysql-odbc,feature/mysql,feature/nfsd,feature/lttng2,feature/ip-report,feature/package-report,feature/toolchain-wrappers,feature/acl,feature/target-toolchain --with-init=systemd --with-sstate-dir=/WASSP/Workspace/SSTATE_CACHE --enable-parallel-pkgbuilds=8 --enable-jobs=8 --enable-patchresolve=noop

make fs

Other Downloads


Live chat
Online