make clean=all
make DEBUG="-O0 -g" install
Gdb in base is old and doesn't work too well - use a newer one from
packages: pkg_add gdb and use the "egdb" command.
--
Sent from a phone, apologies for poor formatting.
On 5 December 2019 01:15:09 Matthew Hull <[email protected]> wrote:
Hello Everyone,
I'm interested in guile2 (because I do some programming in Scheme) and
powerpc because I have a Mac Mini G4 with OpenBSD 6.5 installed.
The package is marked broken for powerpc, but I commented out that line
in the Makefile and did a "make install" (see "make-install_msgs.gz"
attached) to see if there was perhaps an easy fix.?? It appears to be not
obvious (to me anyway).
I used gdb for the first time here so I didn't really know what I was
doing.?? I guessed at the executable that supposedly created the core
file (see "gdb_trace" attached).
I have also included the output of dmesg (see "dmesg_output" attached)
for details about the build hardware environment.
I'd be glad of any advice the community might have.?? I'm reliably
informed that the gdb backtrace could be "emitting bogons" as there seem
to be no symbol tables, and I'm not even positive I've identified the
correct binary executable.
Does the default make in include "-g" or "-ggdb" flags??? Would a build
with -O0 -ggdb be a practical debugging option??? If so, how could those
flags be propagated "from the top"?
Thanks for any advise or pointers on possibly fixing this package.
Regards,
Matt
[email protected]