Knowledge Library
Knowledge Library Home
Knowledge Library Home Knowledge Library Products Operating Systems Wind River Linux Wind River Linux 8 Kernel & BSP Development LIN8-10038 : [crash] crash_7.1.3 do_compile fail on LIN8 RCPL0028_LX08

Learn more about page titles
LIN8-10038 : [crash] crash_7.1.3 do_compile fail on LIN8 RCPL0028_LX08

Defect #: LIN8-10038
Found In Version8.0.0.28
Fix Version8.0.0.28
Created Date:11/12/2018
Component/s :Userspace
Sub Component:crash


ERROR: oe_runmake failed
ERROR: Function failed: do_compile (log file is located at /gnulib/bitbake_build/tmp/work/corei7-64-wrs-linux/crash/7.1.3-r0/temp/do_compile/log.do_compile.3402460)
ERROR: Logfile of failure stored in: /gnulib/bitbake_build/tmp/work/corei7-64-wrs-linux/crash/7.1.3-r0/temp/do_compile/log.do_compile.3402460
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 72 RPMPKG=7.1.3 GDB_TARGET=x86_64-wrs-linux GDB_HOST=x86_64-linux GDB_MAKE_JOBS=-j 72 -j 72 RPMPKG=7.1.3 GDB_TARGET=x86_64-wrs-linux GDB_HOST=x86_64-linux GDB_MAKE_JOBS=-j 72
| TARGET: X86_64
|  CRASH: 7.1.3
|    GDB: 7.6
| make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
| make[3]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
| x86_64-wrs-linux-gcc -m64 -march=corei7 -mtune=corei7 -mfpmath=sse -msse4.2 --sysroot=/gnulib/bitbake_build/tmp/sysroots/intel-x86-64 -c -g -DX86_64  -DGDB_7_6 -O2 -pipe -g -fno-omit-frame-pointer -fvisibility=default -fstack-protector-all -pie -fpie build_data.c
| ar -rs crashlib.a main.o tools.o global_data.o memory.o filesys.o help.o task.o build_data.o kernel.o test.o gdb_interface.o net.o dev.o alpha.o x86.o ppc.o ia64.o s390.o s390x.o s390dbf.o ppc64.o x86_64.o arm.o arm64.o mips.o extensions.o remote.o va_server.o va_server_v1.o symbols.o cmdline.o lkcd_common.o lkcd_v1.o lkcd_v2_v3.o lkcd_v5.o lkcd_v7.o lkcd_v8.o lkcd_fix_mem.o s390_dump.o netdump.o diskdump.o makedumpfile.o xendump.o lkcd_x86_trace.o unwind_v1.o unwind_v2.o unwind_v3.o unwind_x86_32_64.o unwind_arm.o xen_hyper.o xen_hyper_command.o xen_hyper_global_data.o xen_hyper_dump_tables.o kvmdump.o qemu.o qemu-load.o sadump.o ipcs.o ramdump.o vmware_vmss.o
| x86_64-wrs-linux-ranlib crashlib.a
| x86_64-wrs-linux-gcc -m64 -march=corei7 -mtune=corei7 -mfpmath=sse -msse4.2 --sysroot=/gnulib/bitbake_build/tmp/sysroots/intel-x86-64 -O2 -pipe -g -fno-omit-frame-pointer -fvisibility=default -fstack-protector-all -pie -fpie   -static-libstdc++ -static-libgcc    \
|     -o ../../crash ../../crashlib.a amd64-tdep.o amd64-linux-tdep.o i386-tdep.o i387-tdep.o i386-linux-tdep.o glibc-tdep.o solib-svr4.o symfile-mem.o linux-tdep.o linux-record.o ser-base.o ser-unix.o ser-pipe.o ser-tcp.o inf-ptrace.o fork-child.o i386-nat.o amd64-nat.o amd64-linux-nat.o linux-nat.o linux-osdata.o proc-service.o linux-thread-db.o linux-fork.o linux-procfs.o linux-ptrace.o linux-btrace.o remote.o dcache.o tracepoint.o ax-general.o ax-gdb.o remote-fileio.o remote-notif.o  cli-dump.o cli-decode.o cli-script.o cli-cmds.o cli-setshow.o cli-logging.o cli-interp.o cli-utils.o mi-out.o mi-console.o mi-cmds.o mi-cmd-catch.o mi-cmd-env.o mi-cmd-var.o mi-cmd-break.o mi-cmd-stack.o mi-cmd-file.o mi-cmd-disas.o mi-symbol-cmds.o mi-cmd-target.o mi-cmd-info.o mi-interp.o mi-main.o mi-parse.o mi-getopt.o tui-command.o tui-data.o tui-disasm.o tui-file.o tui-hooks.o tui-interp.o tui-io.o tui-layout.o tui-out.o tui-regs.o tui-source.o tui-stack.o tui-win.o tui-windata.o tui-wingeneral.o tui-winsource.o tui.o python.o py-value.o py-prettyprint.o py-auto-load.o elfread.o stap-probe.o posix-hdep.o c-exp.o cp-name-parser.o ada-exp.o jv-exp.o f-exp.o go-exp.o m2-exp.o p-exp.o version.o annotate.o addrmap.o auto-load.o auxv.o agent.o bfd-target.o blockframe.o breakpoint.o break-catch-sig.o findvar.o regcache.o cleanups.o charset.o continuations.o corelow.o disasm.o dummy-frame.o dfp.o source.o value.o eval.o valops.o valarith.o valprint.o printcmd.o block.o symtab.o psymtab.o symfile.o symmisc.o linespec.o dictionary.o infcall.o infcmd.o infrun.o expprint.o environ.o stack.o thread.o exceptions.o filesystem.o inf-child.o interps.o minidebug.o main.o macrotab.o macrocmd.o macroexp.o macroscope.o mi-common.o event-loop.o event-top.o inf-loop.o completer.o gdbarch.o arch-utils.o gdbtypes.o gdb_bfd.o gdb_obstack.o osabi.o copying.o memattr.o mem-break.o target.o parse.o language.o buildsym.o findcmd.o std-regs.o signals.o exec.o reverse.o bcache.o objfiles.o observer.o minsyms.o maint.o demangle.o dbxread.o coffread.o coff-pe-read.o dwarf2read.o mipsread.o stabsread.o corefile.o dwarf2expr.o dwarf2loc.o dwarf2-frame.o dwarf2-frame-tailcall.o ada-lang.o c-lang.o d-lang.o f-lang.o objc-lang.o ada-tasks.o ada-varobj.o ui-out.o cli-out.o varobj.o vec.o go-lang.o go-valprint.o go-typeprint.o jv-lang.o jv-valprint.o jv-typeprint.o m2-lang.o opencl-lang.o p-lang.o p-typeprint.o p-valprint.o sentinel-frame.o complaints.o typeprint.o ada-typeprint.o c-typeprint.o f-typeprint.o m2-typeprint.o ada-valprint.o c-valprint.o cp-valprint.o d-valprint.o f-valprint.o m2-valprint.o serial.o mdebugread.o top.o utils.o ui-file.o user-regs.o frame.o frame-unwind.o doublest.o frame-base.o inline-frame.o gnu-v2-abi.o gnu-v3-abi.o cp-abi.o cp-support.o cp-namespace.o reggroups.o regset.o trad-frame.o tramp-frame.o solib.o solib-target.o prologue-value.o memory-map.o memrange.o xml-support.o xml-syscall.o xml-utils.o target-descriptions.o target-memory.o xml-tdesc.o xml-builtin.o inferior.o osdata.o gdb_usleep.o record.o record-full.o gcore.o gdb_vecs.o jit.o progspace.o skip.o probe.o common-utils.o buffer.o ptid.o gdb-dlfcn.o common-agent.o format.o registry.o btrace.o record-btrace.o inflow.o    init.o \
|        ../readline/libreadline.a ../opcodes/libopcodes.a ../bfd/libbfd.a  ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a    -ldl -lncurses -lz -lm  -llzma ../libiberty/libiberty.a  build-gnulib/import/libgnu.a -ldl -Wl,--dynamic-list=./proc-service.list  -lz -ldl -rdynamic
| /gnulib/bitbake_build/tmp/sysroots/x86_64-linux/usr/libexec/x86_64-wrs-linux/gcc/x86_64-wrs-linux/5.2.0/ld: cannot find -llzma
| collect2: error: ld returned 1 exit status
| Makefile:1186: recipe for target 'gdb' failed
| make[3]: *** [gdb] Error 1
| Makefile:242: recipe for target 'rebuild' failed
| make[2]: *** [rebuild] Error 2
| Makefile:227: recipe for target 'gdb_merge' failed
| make[1]: *** [gdb_merge] Error 2
| Makefile:222: recipe for target 'all' failed
| make: *** [all] Error 2
| WARNING: /gnulib/bitbake_build/tmp/work/corei7-64-wrs-linux/crash/7.1.3-r0/temp/do_compile/run.do_compile.3402460:1 exit 1 from
|   exit 1
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (log file is located at /gnulib/bitbake_build/tmp/work/corei7-64-wrs-linux/crash/7.1.3-r0/temp/do_compile/log.do_compile.3402460)
ERROR: Task 3655 (/gnulib/layers/meta-openembedded/meta-oe/recipes-kernel/crash/, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 4196 tasks of which 4149 didn't need to be rerun and 1 failed.
NOTE: Build completion summary:
NOTE:   do_populate_sysroot: 0% sstate reuse (0 setscene, 1 scratch)
NOTE:   do_package: 0% sstate reuse (0 setscene, 1 scratch)
NOTE:   do_packagedata: 0% sstate reuse (0 setscene, 1 scratch)
NOTE:   do_package_write_rpm: 0% sstate reuse (0 setscene, 1 scratch)
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  /gnulib/layers/meta-openembedded/meta-oe/recipes-kernel/crash/, do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
make: *** [export-dist] Error 1



Steps to Reproduce

1) configure
/lpg-build/cdc/fast_prod/wrlinux80RCPL/RCPL0028_LX08/wrlinux-8/wrlinux/configure --enable-board=intel-x86-64 --enable-kernel=cgl --enable-rootfs=glibc-cgl --with-template=feature/nfsd,feature/target-toolchain --enable-test=yes --enable-build=profiling --enable-reconfig=yes --enable-checkout-all-layers=yes

(2)make bbs
bitbake  gnulib
cd ..
make gnulib.addpkg

vim bitbake_build/conf/local.conf
BB_NO_NETWORK_pn-lmbench = '0'

3)make fs


KLID_DEFECT (use as Content ID for linking):  KLID_DEFECT_58119
Last modified