Re: ALTQ cannot be stopped Was: Fwd: 10-BETA : some network issues

Luke Mewburn <[email protected]>
Newsgroups gmane.os.netbsd.devel.kernel,gmane.os.netbsd.devel.network
Message-ID <[email protected]>
On 23-07-22 04:34, matthew green wrote:
  | > (gdb) info locals
  | > No symbol table info available.
  | > (gdb)
  | >
  | > 	I don't understand why gdb complains about debugging symbols.
  | 
  | i think it's because our build has a bug.  i was recently
  | trying to debug something in a shared library and had the
  | same problem and i traced it down to this code:
  | 
  |    share/mk/bsd.README:MKSTRIPSYM     If "yes", strip all local symbols from shared libraries;
  | 
  |    share/mk/bsd.lib.mk:.if ${MKSTRIPSYM:Uyes} == "yes"
  |    share/mk/bsd.lib.mk:_LIBLDOPTS+=   -Wl,-x
  |    share/mk/bsd.lib.mk:.else
  |    share/mk/bsd.lib.mk:_LIBLDOPTS+=   -Wl,-X
  | 
  | and putting "MKSTRIPSYM=no" in my mk.conf fixed it.
  | 
  | i believe this is a bug and should default to "no", if
  | MKDEBUG has also been enabled.

I've changed bsd.own.mk so that if MKDEBUG!=no (MKDEBUG=yes),
it forces MKSTRIPSYM=no


Luke.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.