From: Denys Dmytriyenko <denys@ti.com>
To: Joe Keene <mooneske@gmail.com>
Cc: meta-ti@yoctoproject.org
Subject: Re: omap3evm: bitbake x-load fails
Date: Thu, 30 Aug 2018 15:53:48 -0400 [thread overview]
Message-ID: <20180830195348.GL11110@beryl> (raw)
In-Reply-To: <CAO0MQwztTk33ueF+OCo7bGFK6LPKu+=YPHabyHET4oeh8TBmAg@mail.gmail.com>
X-load has been deprecated for over 7 years. Are you trying to build it with
the latest toolchain with GGC 8 and glibc 2.28? Why?
U-boot provides SPL and should support OMAP3 w/o problems.
--
Denys
On Wed, Aug 29, 2018 at 03:12:01PM -0600, Joe Keene wrote:
> When I try the command: "bitbake x-load", it will almost finish executing
> the RunQueue tasks when it fails around 97% progress. I believe these are
> the trouble lines:
>
> From what I understand, it means that the cross-compiler fails to find the
> gcc library. How can I help it find the gcc library? Is the sysroot
> variable hard-coded? The Log is pretty big, so I'm just going to post the
> part that I think is relevant. If you want the full log let me know!
>
> -VirtualBox:/poky/build$ bitbake x-load
> Loading cache: 100%
> |###############################################################################|
> Time: 0:00:01
> Loaded 2738 entries from dependency cache.
> NOTE: Resolving any missing task queue dependencies
>
> Build Configuration:
> BB_VERSION = "1.39.1"
> BUILD_SYS = "x86_64-linux"
> NATIVELSBSTRING = "universal"
> TARGET_SYS = "arm-poky-linux-gnueabi"
> MACHINE = "omap3evm"
> DISTRO = "poky"
> DISTRO_VERSION = "2.5+snapshot-20180829"
> TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard"
> TARGET_FPU = "hard"
> meta
> meta-poky
> meta-yocto-bsp = "master:87d3a9685dd9613e4f6718031d4ebd9344b01c47"
> meta-ti = "master:b987670824163d9aaf45af5661dc916515ec5fea"
> meta = "master:853e0499be449c71378c087e08b1926be8e2ac87"
>
> Initialising tasks: 100%
> |##########################################################################|
> Time: 0:00:00
> Sstate summary: Wanted 60 Found 0 Missed 60 Current 15 (0% match, 20%
> complete)
> NOTE: Executing SetScene Tasks
> NOTE: Executing RunQueue Tasks
> WARNING: glibc-2.28-r0 do_package: glibc-extra-nss-2.26 was registered as
> shlib provider for libnss_db.so.2, changing it to libnss-db-2.28 because it
> was built later
> ERROR: x-load-1_1.5.1-r3 do_compile: oe_runmake failed
> ERROR: x-load-1_1.5.1-r3 do_compile: Function failed: do_compile (log file
> is located at
> /poky/build/tmp/work/omap3evm-poky-linux-gnueabi/x-load/1_1.5.1-r3/temp/log.do_compile.25161)
> ERROR: Logfile of failure stored in:
> /poky/build/tmp/work/omap3evm-poky-linux-gnueabi/x-load/1_1.5.1-r3/temp/log.do_compile.25161
> Log data follows:
> | DEBUG: Executing shell function do_compile
> | NOTE: make CROSS_COMPILE=arm-poky-linux-gnueabi- CONFIG_HEADER= distclean
> | find
> /poky/build/tmp/work/omap3evm-poky-linux-gnueabi/x-load/1_1.5.1-r3/git
> -type f \
> | \( -name 'core' -o -name '*.bak' -o -name '*~' \
> | -o -name '*.o' -o -name '*.a' \) -print \
> | | xargs rm -f
> ...
> (removed a bunch of lines)
> ...
> | make[1]: Leaving directory
> '/poky/build/tmp/work/omap3evm-poky-linux-gnueabi/x-load/1_1.5.1-r3/git/lib'
> | UNDEF_SYM=`arm-poky-linux-gnueabi-objdump -x board/omap3evm/libomap3evm.a
> common/libcommon.a cpu/omap3/libomap3.a disk/libdisk.a drivers/libdrivers.a
> fs/fat/libfat.a lib/libarm.a |sed -n -e
> 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\
> | cd
> /poky/build/tmp/work/omap3evm-poky-linux-gnueabi/x-load/1_1.5.1-r3/git &&
> arm-poky-linux-gnueabi-ld -Bstatic -T
> /poky/build/tmp/work/omap3evm-poky-linux-gnueabi/x-load/1_1.5.1-r3/git/board/omap3evm/x-load.lds
> -Ttext 0x40200800 $UNDEF_SYM cpu/omap3/start.o \
> | --start-group board/omap3evm/libomap3evm.a common/libcommon.a
> cpu/omap3/libomap3.a disk/libdisk.a drivers/libdrivers.a fs/fat/libfat.a
> lib/libarm.a --end-group -L . -lgcc \
> | -Map x-load.map -o x-load
> | arm-poky-linux-gnueabi-ld: cannot find -lgcc
> | ERROR: oe_runmake failed
> | Makefile:163: recipe for target 'x-load' failed
> | make: *** [x-load] Error 1
> | WARNING: exit code 1 from a shell command.
> | ERROR: Function failed: do_compile (log file is located at
> /poky/build/tmp/work/omap3evm-poky-linux-gnueabi/x-load/1_1.5.1-r3/temp/log.do_compile.25161)
> ERROR: Task (/poky/meta-ti/recipes-bsp/x-load/x-load_git.bb:do_compile)
> failed with exit code '1'
> NOTE: Tasks Summary: Attempted 431 tasks of which 125 didn't need to be
> rerun and 1 failed.
>
> Summary: 1 task failed:
> /poky/meta-ti/recipes-bsp/x-load/x-load_git.bb:do_compile
> Summary: There was 1 WARNING message shown.
> Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
>
>
> I'm fairly new to Embedded Linux and the Yocto Project, so I fear I might
> be missing something very basic. I'd be happy to provide any additional
> information.
> --
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
prev parent reply other threads:[~2018-08-30 19:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-29 21:12 omap3evm: bitbake x-load fails Joe Keene
2018-08-30 19:53 ` Denys Dmytriyenko [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180830195348.GL11110@beryl \
--to=denys@ti.com \
--cc=meta-ti@yoctoproject.org \
--cc=mooneske@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.