Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 708418

Summary: sys-apps/coreutils-8.31-r1 : pre-stripped dd?
Product: Gentoo Linux Reporter: Sergey 'L29Ah' Alirzaev <zl29ah>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sergey 'L29Ah' Alirzaev 2020-02-05 21:10:06 UTC
gdb says:
Reading symbols from dd...
Reading symbols from /usr/lib/debug//bin/dd.debug...
(No debugging symbols found in /usr/lib/debug//bin/dd.debug)

I never asked for this.
Comment 1 Mike Gilbert gentoo-dev 2020-02-06 15:54:37 UTC
Works fine for me.

% gdb /bin/dd
GNU gdb (Gentoo 8.3.1 vanilla) 8.3.1
Copyright (C) 2019 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 "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://bugs.gentoo.org/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /bin/dd...
Reading symbols from /usr/lib/debug//bin/dd.debug...
(gdb) quit
Comment 2 Sergey 'L29Ah' Alirzaev 2020-02-07 02:33:58 UTC
Okay, it works if i pass -ggdb3 in the flags. I was confused by the fact that lots of software in the tree produce debug symbols unconditionally.