Wind River Support Network

HomeDefectsCGP8-195
Not to be fixed

CGP8-195 : Lacking debug file of some binaries after running 'make fs-debug'

Created: Feb 23, 2016    Updated: Apr 28, 2018
Resolved Date: Apr 17, 2018
Found In Version: 8.0
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Userspace

Description

For each binary, there should be a debuginfo file installed as well, for example, for /usr/bin/zip, it's debuginfo file is /usr/bin/.debug/zip.

But checking the rootfs, we found some binaries lack of debuginfo file:

e.g. For export/dist/usr/bin/ntdbrestore, the debuginfo files should be export/dist/usr/bin/.debug/ntdbrestore but it doesn't exist:

$ ls export/dist/usr/bin/ntdbrestore
export/dist/usr/bin/ntdbrestore
$ ls export/dist/usr/bin/.debug/ntdbrestore
ls: cannot access export/dist/usr/bin/.debug/ntdbrestore: No such file or directory

All binaries lacking debug files list below:
****************
/usr/bin/ntdbrestore
/usr/bin/ldbdel
/usr/bin/masktest
/usr/bin/whois.inetutils
/usr/bin/nmblookup4
/usr/bin/wbinfo
/usr/bin/sharesec
/usr/bin/nmblookup
/usr/bin/mprof
/usr/bin/mpatrol
/usr/bin/cifsdd
/usr/bin/dbwrap_tool
/usr/bin/ldbrename
/usr/bin/smbclient4
/usr/bin/testparm
/usr/bin/smbspool
/usr/bin/smbtree
/usr/bin/ntdbdump
/usr/bin/ndrdump
/usr/bin/smbtorture
/usr/bin/ntlm_auth
/usr/bin/smbstatus
/usr/bin/regtree
/usr/bin/smbcontrol
/usr/bin/ldbsearch
/usr/bin/smbta-util
/usr/bin/oLschema2ldif
/usr/bin/ldbedit
/usr/bin/mleak
/usr/bin/pdbedit
/usr/bin/gentest
/usr/bin/smbcquotas
/usr/bin/net
/usr/bin/locktest
/usr/bin/regshell
/usr/bin/samba-regedit
/usr/bin/smbcacls
/usr/bin/smbclient
/usr/bin/talk.inetutils
/usr/bin/profiles
/usr/bin/rpcclient
/usr/bin/perf
/usr/bin/smbget
/usr/bin/regdiff
/usr/bin/trace
/usr/bin/ldbmodify
/usr/bin/smbpasswd
/usr/bin/ntdbtool
/usr/bin/regpatch
/usr/bin/mptrace
/usr/bin/eventlogadm
/usr/bin/dnsdomainname
/usr/bin/ntdbbackup
/usr/bin/ldbadd
/usr/sbin/in.uucpd
/usr/sbin/smbd
/usr/sbin/nmbd
/usr/sbin/in.talkd
/usr/sbin/winbindd
/lib64/security/pam_smbpass.so
****************

Steps to Reproduce

1. Build a project
    $ configure --enable-board=qemux86-64 --enable-kernel=cgl --enable-rootfs=glibc-cgl --with-template=feature/package-management,feature/analysis,feature/debug,feature/demo 
    $ make fs
    $ make fs-debug

2. Check the binaries under /build_path/export/dist.

e.g. check for export/dist/usr/bin/ntdbrestore, the debuginfo files should be export/dist/usr/bin/.debug/ntdbrestore

$ ls export/dist/usr/bin/ntdbrestore
export/dist/usr/bin/ntdbrestore
$ ls export/dist/usr/bin/.debug/ntdbrestore
ls: cannot access export/dist/usr/bin/.debug/ntdbrestore: No such file or directory
Live chat
Online