On Wed, 2009-07-22 at 21:54 +0300, Nikita Koshikov wrote: > > You can check if symbols are stripped with "file": > > > > /usr/local/libexec/dovecot/imap: ELF 32-bit LSB executable, Intel 80386, > > version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux > > 2.6.15, not stripped> > > Yes, you right, file echo's stripped. > > I'm using gentoo and its package manager - emerge. It compiles binaries for > system from sources using ebuilds. I attach full compile log, can you tell me > where stripping appear?
There's no -g parameter given to gcc. The emerge overrides CFLAGS by adding -march=i686 etc. stuff in there, which also removes -g parameter. Try to figure out some way to add it back.
signature.asc
Description: This is a digitally signed message part