Wind River Support Network

HomeDefectsLIN6-7882
Fixed

LIN6-7882 : [WRlinux6.0 Async] kgdboc failed due to vmlinux-symbols stripped as vmlinux-*.bin

Created: Jul 7, 2014    Updated: Dec 3, 2018
Resolved Date: Oct 9, 2014
Found In Version: 6.0
Fix Version: 6.0.0.13
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: BSP - Async

Description

With default build images, vmlinux-symbols stripped as vmlinux-bcm-xlp.bin, so kgdboc 
----------

[debug] /buildarea2/wr-taf/cgl/xlp/bitbake_build/tmp/sysroots/x86_64-linux/usr/bin/mips64-xlp-n64-wrs-linux/mips64-wrs-linux-gdb /buildarea2/wr-taf/cgl/xlp/build/linux-windriver/linux-bcm-xlp-cgl-build/vmlinux
GNU gdb (Wind River Linux Sourcery CodeBench 4.8-30) 7.6
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=mips-wrs-linux-gnu".
For bug reporting instructions, please see:
<support@windriver.com>...
Reading symbols from /buildarea2/wr-taf/cgl/xlp/bitbake_build/tmp/work/bcm_xlp-wrs-linux/linux-windriver/3.10-r0/linux-bcm-xlp-cgl-build/vmlinux...(no debugging symbols found)...done.

----------

$ md5sum bitbake_build/tmp/deploy/images/bcm-xlp/vmlinux-bcm-xlp.bin
3653c6b325ec83890e4ede5ace25dcd1  bitbake_build/tmp/deploy/images/bcm-xlp/vmlinux-bcm-xlp.bin
$ md5sum bitbake_build/tmp/deploy/images/bcm-xlp/vmlinux-symbols-bcm-xlp
3653c6b325ec83890e4ede5ace25dcd1  bitbake_build/tmp/deploy/images/bcm-xlp/vmlinux-symbols-bcm-xlp
$ 
$ md5sum bitbake_build/tmp/deploy/images/bcm-xlp/vmlinux-symbols-
vmlinux-symbols-3.10-r0-bcm-xlp-20140707073020  vmlinux-symbols-bcm-xlp                         
$ md5sum bitbake_build/tmp/deploy/images/bcm-xlp/vmlinux-symbols-3.10-r0-bcm-xlp-20140707073020 
3653c6b325ec83890e4ede5ace25dcd1  bitbake_build/tmp/deploy/images/bcm-xlp/vmlinux-symbols-3.10-r0-bcm-xlp-20140707073020
$ 
$ md5sum bitbake_build/tmp/deploy/images/bcm-xlp/vmlinux--3.10-r0.1-bcm-xlp-20140707073020.bin 
3653c6b325ec83890e4ede5ace25dcd1  bitbake_build/tmp/deploy/images/bcm-xlp/vmlinux--3.10-r0.1-bcm-xlp-20140707073020.bin

Steps to Reproduce

1) configure --enable-board=bcm-xlp --enable-kernel=cgl --enable-rootfs=glibc-cgl --enable-test=yes --with-layer=/runtime/wr-testing/ltp,/runtime/wr-testing/kts-test,/runtime/wr-testing/bts --with-template=feature/kts-basic,feature/kts-extended,feature/kts-cgl --enable-parallel-pkgbuilds=24 --enable-jobs=24

2) make all.
3) compare vmlinux-symbols and vmlinux.bin

or  do kgdboc testing.

Check the logs.

Other Downloads


Live chat
Online