tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: ALTQ cannot be stopped Was: Fwd: 10-BETA : some network issues
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.
Home |
Main Index |
Thread Index |
Old Index