Piotr Kubaj via freebsd-ports <freebsd-ports@freebsd.org> writes: > Hi all, > > I am preparing a new port. However, I hit an assertion fail when > starting the binary. The developer is willing to help me, provided > that I send him backtrace and values from the structure that hits > assertion failure. > > Thing is, recompiling with WITH_DEBUG doesn't help (I only get memory > addresses in gdb), nor does -DCMAKE_BUILD_TYPE=Debug to CMAKE_ARGS > (the port uses CMake). > > What should I do to get necessary date?
Recompile library dependencies (look up which via ldd(1) and strings(1)) with debugging symbols as well. That may include not only ports but some of the base e.g., lib/libc, lib/libthr, libexec/rtld-elf. _______________________________________________ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"