Advertisement
Guest User

Untitled

a guest
Sep 4th, 2014
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.51 KB | None | 0 0
  1. ---------------------------------------------------
  2. This file is generated during kernel_configme task.
  3. This error does not cause kernel_configme to abort,
  4. but later do_configure does die
  5. ---------------------------------------------------
  6. snippet from workdir: linux/.meta/cfg/standard/x64/merge_log.txt
  7. Using .meta/cfg/files/defconfig.sanitized as base
  8. HOSTCC scripts/basic/fixdep
  9. /ssd/perf/ThirdPartyExports/NIOpenEmbedded/trunk/3.0/objects/x64/linuxU/x64/gcc-4.7-oe/release/build/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/core2-64-nilrt-linux/gcc/x86_64-nilrt-linux/4.8.2/ld: cannot find crtbegin.o: No such file or directory
  10. /ssd/perf/ThirdPartyExports/NIOpenEmbedded/trunk/3.0/objects/x64/linuxU/x64/gcc-4.7-oe/release/build/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/core2-64-nilrt-linux/gcc/x86_64-nilrt-linux/4.8.2/ld: cannot find -lgcc
  11. /ssd/perf/ThirdPartyExports/NIOpenEmbedded/trunk/3.0/objects/x64/linuxU/x64/gcc-4.7-oe/release/build/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/core2-64-nilrt-linux/gcc/x86_64-nilrt-linux/4.8.2/ld: cannot find -lgcc_s
  12. collect2: error: ld returned 1 exit status
  13. make[2]: *** [scripts/basic/x86_64-nilrt-linux-fixdep] Error 1
  14. make[1]: *** [scripts_basic] Error 2
  15.  
  16. ---------------------------------------------------
  17. Random details
  18. ---------------------------------------------------
  19. When in a broken state, I see these copies of crtbegin.o:
  20. ./sysroots/x86_64-linux/usr/lib/core2-64-nilrt-linux.gcc-cross-initial/gcc/x86_64-nilrt-linux/4.8.2/crtbegin.o
  21. ./sysroots/x86_64-linux/usr/include/gcc-build-internal-core2-64-nilrt-linux/x86_64-nilrt-linux/libgcc/crtbegin.o
  22. ./sysroots/x86_64-linux/usr/include/gcc-build-internal-core2-64-nilrt-linux/gcc/crtbegin.o
  23.  
  24. I run 'bitbake gcc', and a new instance of crtbegin.o is added:
  25. ./sysroots/x64/usr/lib/x86_64-nilrt-linux/4.8.2/crtbegin.o
  26.  
  27. Now, running the following gets things back on track:
  28. bitbake linux-yocto-custom -f -c kernel_configme
  29. bitbake linux-yocto-custom
  30.  
  31. ---------------------------------------------------
  32. Example of failing recipe
  33. ---------------------------------------------------
  34. inherit kernel
  35. require recipes-kernel/linux/linux-yocto.inc
  36.  
  37. SRC_URI = "git://git.amer.corp.natinst.com/linux.git;protocol=git;nocheckout=1;branch=nilrt/15.0/3.10;name=machine"
  38.  
  39. LINUX_VERSION ?= "3.10"
  40. LINUX_VERSION_EXTENSION ?= "-nilrt"
  41.  
  42. FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
  43. SRC_URI += "file://defconfig"
  44.  
  45. SRCREV_machine="${AUTOREV}"
  46. PV = "${LINUX_VERSION}+git${SRCPV}"
  47.  
  48. COMPATIBLE_MACHINE = "x64|xilinx-zynq"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement