Wind River Support Network


CGP6-404 : No debug info is installed for lsi-axm55xx-cgl-glibc-cgl with --enable-build=debug

Created: Mar 17, 2014    Updated: Dec 3, 2018
Resolved Date: Apr 2, 2014
Found In Version:
Fix Version:
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Userspace


Problem Description
Config wrlinux platform project lsi-axm55xx-cgl-glibc-cgl with option --enable-build=debug, then run make fs.
Or configure with --enable-build=productiondebug, then run "make fs" and "make fs-debug".
All the debug info (packaged in dbg rpms) should be installed into the target rootfs.
It works on intel-x86-64 target, but no debug info is installed in lsi-axm55xx rootfs image.

Expected Behavior
Get debug info after built with --enable-build=debug/productiondebug

Observed Behavior
The debug info isn't installed in the rootfs image of lsi-axm55xx.

$ ./host-cross/usr/bin/rpm --dbpath export/dist/var/lib/rpm/ -qa | grep dbg | wc -l

Misc Info 

Steps to Reproduce

step 1; /buildarea1/product/WRL6004_LX04_LP03A/wrlinux-6/wrlinux/configure --enable-addons=wr-cgp --enable-board=lsi-axm55xx --enable-kernel=cgl --enable-rootfs=glibc-cgl --enable-build=debug --with-sstate-dir=/buildarea1/build/SSTATE_CACHE --enable-parallel-pkgbuilds=8 --enable-jobs=8

step 2; make fs

Or configure with --enable-build=productiondebug, then run make fs followed by make fs-debug.

step 3; check that debug info is installed into the target rootfs image.
For example:
# ls export/dist/bin/.debug

Lots of debug info for binaries should be found.

Other Downloads

Live chat