Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---------------------------------------------------
- This file is generated during kernel_configme task.
- This error does not cause kernel_configme to abort,
- but later do_configure does die
- ---------------------------------------------------
- snippet from workdir: linux/.meta/cfg/standard/x64/merge_log.txt
- Using .meta/cfg/files/defconfig.sanitized as base
- HOSTCC scripts/basic/fixdep
- /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
- /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
- /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
- collect2: error: ld returned 1 exit status
- make[2]: *** [scripts/basic/x86_64-nilrt-linux-fixdep] Error 1
- make[1]: *** [scripts_basic] Error 2
- ---------------------------------------------------
- Random details
- ---------------------------------------------------
- When in a broken state, I see these copies of crtbegin.o:
- ./sysroots/x86_64-linux/usr/lib/core2-64-nilrt-linux.gcc-cross-initial/gcc/x86_64-nilrt-linux/4.8.2/crtbegin.o
- ./sysroots/x86_64-linux/usr/include/gcc-build-internal-core2-64-nilrt-linux/x86_64-nilrt-linux/libgcc/crtbegin.o
- ./sysroots/x86_64-linux/usr/include/gcc-build-internal-core2-64-nilrt-linux/gcc/crtbegin.o
- I run 'bitbake gcc', and a new instance of crtbegin.o is added:
- ./sysroots/x64/usr/lib/x86_64-nilrt-linux/4.8.2/crtbegin.o
- Now, running the following gets things back on track:
- bitbake linux-yocto-custom -f -c kernel_configme
- bitbake linux-yocto-custom
- ---------------------------------------------------
- Example of failing recipe
- ---------------------------------------------------
- inherit kernel
- require recipes-kernel/linux/linux-yocto.inc
- SRC_URI = "git://git.amer.corp.natinst.com/linux.git;protocol=git;nocheckout=1;branch=nilrt/15.0/3.10;name=machine"
- LINUX_VERSION ?= "3.10"
- LINUX_VERSION_EXTENSION ?= "-nilrt"
- FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
- SRC_URI += "file://defconfig"
- SRCREV_machine="${AUTOREV}"
- PV = "${LINUX_VERSION}+git${SRCPV}"
- COMPATIBLE_MACHINE = "x64|xilinx-zynq"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement