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 castersupm...@verizon.net
output from uname -a: OpenBSD G4MiniBSD.attlocal.net 6.5 GENERIC#496 macppc output from dmesg: [ using 1269156 bytes of bsd ELF symbol table ] console out [ATY,RockHopper2_A] console in [keyboard], using USB using parent ATY,RockHopper2Paren:: memaddr 98000000, size 8000000 : consaddr 9c008000 : ioaddr 90020000, size 20000: width 1280 linebytes 1280 height 1024 depth 8 Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2019 OpenBSD. All rights reserved. https://www.OpenBSD.org OpenBSD 6.5 (GENERIC) #496: Sat Apr 13 11:54:02 MDT 2019 dera...@macppc.openbsd.org:/usr/src/sys/arch/macppc/compile/GENERIC real mem = 1073741824 (1024MB) avail mem = 1027137536 (979MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root: model PowerMac10,1 cpu0 at mainbus0: 7447A (Revision 0x102): 1249 MHz: 512KB L2 cache mem0 at mainbus0 spdmem0 at mem0: 1GB DDR SDRAM non-parity PC3200CL3.0 memc0 at mainbus0: uni-n rev 0xd2 "hw-clock" at memc0 not configured kiic0 at memc0 offset 0xf8001000 iic0 at kiic0 mpcpcibr0 at mainbus0 pci: uni-north pci0 at mpcpcibr0 bus 0 pchb0 at pci0 dev 11 function 0 "Apple UniNorth AGP" rev 0x00 agp at pchb0 not configured radeondrm0 at pci0 dev 16 function 0 "ATI Radeon 9200" rev 0x01 drm0 at radeondrm0 radeondrm0: irq 48 mpcpcibr1 at mainbus0 pci: uni-north pci1 at mpcpcibr1 bus 0 macobio0 at pci1 dev 23 function 0 "Apple Intrepid" rev 0x00 openpic0 at macobio0 offset 0x40000: version 0x4614 feature 3f0302 LE macgpio0 at macobio0 offset 0x50 "modem-reset" at macgpio0 offset 0x1d not configured "modem-power" at macgpio0 offset 0x1c not configured macgpio1 at macgpio0 offset 0x9: irq 47 "programmer-switch" at macgpio0 offset 0x11 not configured "gpio5" at macgpio0 offset 0x6f not configured "gpio6" at macgpio0 offset 0x70 not configured "extint-gpio15" at macgpio0 offset 0x67 not configured "escc-legacy" at macobio0 offset 0x12000 not configured zs0 at macobio0 offset 0x13000: irq 22,23 zstty0 at zs0 channel 0 zstty1 at zs0 channel 1 aoa0 at macobio0 offset 0x10000: irq 30,1,2 "timer" at macobio0 offset 0x15000 not configured adb0 at macobio0 offset 0x16000 apm0 at adb0: battery flags 0x0, 0% charged piic0 at adb0 iic1 at piic0 maxtmp0 at iic1 addr 0xc8: max6642 kiic1 at macobio0 offset 0x18000 iic2 at kiic1 wdc0 at macobio0 offset 0x20000 irq 24: DMA audio0 at aoa0 ohci0 at pci1 dev 26 function 0 "Apple Intrepid USB" rev 0x00: irq 29, version 1.0, legacy support ohci1 at pci1 dev 27 function 0 "NEC USB" rev 0x43: irq 63, version 1.0 ohci2 at pci1 dev 27 function 1 "NEC USB" rev 0x43: irq 63, version 1.0 ehci0 at pci1 dev 27 function 2 "NEC USB" rev 0x04: irq 63 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 configuration 1 interface 0 "NEC EHCI root hub" rev 2.00/1.00 addr 1 usb1 at ohci0: USB revision 1.0 uhub1 at usb1 configuration 1 interface 0 "Apple OHCI root hub" rev 1.00/1.00 addr 1 usb2 at ohci1: USB revision 1.0 uhub2 at usb2 configuration 1 interface 0 "NEC OHCI root hub" rev 1.00/1.00 addr 1 usb3 at ohci2: USB revision 1.0 uhub3 at usb3 configuration 1 interface 0 "NEC OHCI root hub" rev 1.00/1.00 addr 1 mpcpcibr2 at mainbus0 pci: uni-north pci2 at mpcpcibr2 bus 0 kauaiata0 at pci2 dev 13 function 0 "Apple Intrepid ATA" rev 0x00 wdc1 at kauaiata0 irq 39: DMA wd0 at wdc1 channel 0 drive 0: <ST940110A> wd0: 16-sector PIO, LBA48, 38154MB, 78140160 sectors atapiscsi0 at wdc1 channel 0 drive 1 scsibus1 at atapiscsi0: 2 targets cd0 at scsibus1 targ 0 lun 0: <MATSHITA, CD-RW CW-8124, DACD> ATAPI 5/cdrom removable wd0(wdc1:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2 cd0(wdc1:0:1): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2 "Apple UniNorth Firewire" rev 0x81 at pci2 dev 14 function 0 not configured gem0 at pci2 dev 15 function 0 "Apple Uni-N2 GMAC" rev 0x80: irq 41, address 00:11:24:3e:92:b6 bmtphy0 at gem0 phy 0: BCM5221 100baseTX PHY, rev. 4 uhidev0 at uhub2 port 1 configuration 1 interface 0 "PixArt USB Optical Mouse" rev 2.00/1.00 addr 2 uhidev0: iclass 3/1 ums0 at uhidev0: 3 buttons, Z dir wsmouse0 at ums0 mux 0 uhidev1 at uhub3 port 1 configuration 1 interface 0 "PATEN USB/PS2 Combo Receiver" rev 1.10/1.04 addr 2 uhidev1: iclass 3/1 ukbd0 at uhidev1: 8 variable keys, 6 key codes wskbd0 at ukbd0: console keyboard uhidev2 at uhub3 port 1 configuration 1 interface 1 "PATEN USB/PS2 Combo Receiver" rev 1.10/1.04 addr 2 uhidev2: iclass 3/0, 2 report ids uhid0 at uhidev2 reportid 1: input=4, output=0, feature=0 uhid1 at uhidev2 reportid 2: input=1, output=0, feature=0 uhidev3 at uhub3 port 1 configuration 1 interface 2 "PATEN USB/PS2 Combo Receiver" rev 1.10/1.04 addr 2 uhidev3: iclass 3/1 ums1 at uhidev3: 3 buttons, Z dir wsmouse1 at ums1 mux 0 vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets bootpath: /pci@f4000000/ata-6@d/disk@0:/bsd root on wd0a (90c3944da13f20b2.a) swap on wd0b dump on wd0b WARNING: / was not properly unmounted WARNING: clock gained 4 days -- CHECK AND RESET THE DATE! initializing kernel modesetting (RV280 0x1002:0x5962 0x1002:0x5962). error: [drm:pid0:radeon_get_bios] *ERROR* Unable to locate a BIOS ROM error: [drm:pid0:radeon_agp_init] *ERROR* Unable to acquire AGP: 22 radeondrm0: 800x600, 8bpp wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0 wsdisplay0: screen 1-5 added (std, vt100 emulation) wsmouse0 detached ums0 detached uhidev0 detached uhidev0 at uhub2 port 1 configuration 1 interface 0 "PixArt USB Optical Mouse" rev 2.00/1.00 addr 2 uhidev0: iclass 3/1 ums0 at uhidev0: 3 buttons, Z dir wsmouse0 at ums0 mux 0 uid 0 on /usr: out of inodes uid 0 on /usr: out of inodes uid 0 on /usr: out of inodes uid 0 on /usr: out of inodes uid 0 on /usr: out of inodes uid 0 on /usr: out of inodes uid 0 on /usr: out of inodes uid 0 on /usr: out of inodes uid 0 on /usr: out of inodes uid 0 on /usr: out of inodes uid 0 on /usr: out of inodes uid 0 on /usr: out of inodes uid 0 on /usr: out of inodes uid 0 on /usr: out of inodes uid 0 on /usr: out of inodes uid 0 on /usr: out of inodes uid 0 on /usr: out of inodes uid 0 on /usr: out of inodes uid 0 on /usr: out of inodes uid 0 on /usr: out of inodes uid 0 on /usr: out of inodes uid 0 on /usr: out of inodes uid 0 on /usr: out of inodes uid 0 on /usr: out of inodes uid 0 on /usr: out of inodes uid 0 on /usr: out of inodes uid 0 on /usr: out of inodes uid 0 on /usr: out of inodes uid 0 on /usr: out of inodes uid 0 on /usr: out of inodes uid 0 on /usr: out of inodes uid 0 on /usr: out of inodes uid 0 on /usr: out of inodes uid 0 on /usr: out of inodes uid 0 on /usr: out of inodes uid 0 on /usr: out of inodes uid 0 on /usr: out of inodes uid 0 on /usr: out of inodes wsmouse0 detached ums0 detached uhidev0 detached uhidev0 at uhub2 port 1 configuration 1 interface 0 "PixArt USB Optical Mouse" rev 2.00/1.00 addr 2 uhidev0: iclass 3/1 ums0 at uhidev0: 3 buttons, Z dir wsmouse0 at ums0 mux 0
G4MiniBSD# gdb /usr/ports/pobj/guile2-2.2.4/guile-2.2.4/libguile/.libs/guile /usr/ports/pobj/guile2-2.2.4/guile-2.2.4/libguile/guile.core GNU gdb 6.3 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "powerpc-unknown-openbsd6.5"...(no debugging symbols found) Core was generated by `guile'. Program terminated with signal 11, Segmentation fault. (no debugging symbols found) Loaded symbols for /usr/ports/pobj/guile2-2.2.4/guile-2.2.4/libguile/.libs/guile Reading symbols from /usr/ports/pobj/guile2-2.2.4/guile-2.2.4/libguile/.libs/libguile-2.2.so.0.2...done. Loaded symbols for /usr/ports/pobj/guile2-2.2.4/guile-2.2.4/libguile/.libs/libguile-2.2.so.0.2 Reading symbols from /usr/ports/pobj/guile2-2.2.4/guile-2.2.4/libguile/.libs/libgc.so.4.0...done. Loaded symbols for /usr/ports/pobj/guile2-2.2.4/guile-2.2.4/libguile/.libs/libgc.so.4.0 Reading symbols from /usr/ports/pobj/guile2-2.2.4/guile-2.2.4/libguile/.libs/libffi.so.1.2...done. Loaded symbols for /usr/ports/pobj/guile2-2.2.4/guile-2.2.4/libguile/.libs/libffi.so.1.2 Reading symbols from /usr/ports/pobj/guile2-2.2.4/guile-2.2.4/libguile/.libs/libm.so.10.1...done. Loaded symbols for /usr/ports/pobj/guile2-2.2.4/guile-2.2.4/libguile/.libs/libm.so.10.1 Reading symbols from /usr/ports/pobj/guile2-2.2.4/guile-2.2.4/libguile/.libs/libiconv.so.6.0...done. Loaded symbols for /usr/ports/pobj/guile2-2.2.4/guile-2.2.4/libguile/.libs/libiconv.so.6.0 Reading symbols from /usr/ports/pobj/guile2-2.2.4/guile-2.2.4/libguile/.libs/libintl.so.6.0...done. Loaded symbols for /usr/ports/pobj/guile2-2.2.4/guile-2.2.4/libguile/.libs/libintl.so.6.0 Reading symbols from /usr/ports/pobj/guile2-2.2.4/guile-2.2.4/libguile/.libs/libunistring.so.0.1...done. Loaded symbols for /usr/ports/pobj/guile2-2.2.4/guile-2.2.4/libguile/.libs/libunistring.so.0.1 Reading symbols from /usr/ports/pobj/guile2-2.2.4/guile-2.2.4/libguile/.libs/libgmp.so.10.0...done. Loaded symbols for /usr/ports/pobj/guile2-2.2.4/guile-2.2.4/libguile/.libs/libgmp.so.10.0 Reading symbols from /usr/ports/pobj/guile2-2.2.4/guile-2.2.4/libguile/.libs/libltdl.so.5.0...done. Loaded symbols for /usr/ports/pobj/guile2-2.2.4/guile-2.2.4/libguile/.libs/libltdl.so.5.0 Reading symbols from /usr/lib/libpthread.so.26.1...done. Loaded symbols for /usr/lib/libpthread.so.26.1 Reading symbols from /usr/ports/pobj/guile2-2.2.4/guile-2.2.4/libguile/.libs/libc.so.95.0...done. Loaded symbols for /usr/ports/pobj/guile2-2.2.4/guile-2.2.4/libguile/.libs/libc.so.95.0 Reading symbols from /usr/libexec/ld.so...done. Loaded symbols for /usr/libexec/ld.so #0 0xbf4a854c in vm_regular_engine () from /usr/ports/pobj/guile2-2.2.4/guile-2.2.4/libguile/.libs/libguile-2.2.so.0.2 (gdb) bt full #0 0xbf4a854c in vm_regular_engine () from /usr/ports/pobj/guile2-2.2.4/guile-2.2.4/libguile/.libs/libguile-2.2.so.0.2 No symbol table info available. #1 0xbf4a8890 in vm_regular_engine () from /usr/ports/pobj/guile2-2.2.4/guile-2.2.4/libguile/.libs/libguile-2.2.so.0.2 No symbol table info available. #2 0xbf4a8890 in vm_regular_engine () from /usr/ports/pobj/guile2-2.2.4/guile-2.2.4/libguile/.libs/libguile-2.2.so.0.2 No symbol table info available. #3 0xbf4a8890 in vm_regular_engine () from /usr/ports/pobj/guile2-2.2.4/guile-2.2.4/libguile/.libs/libguile-2.2.so.0.2 No symbol table info available. #4 0xbf4a8890 in vm_regular_engine () from /usr/ports/pobj/guile2-2.2.4/guile-2.2.4/libguile/.libs/libguile-2.2.so.0.2 No symbol table info available. #5 0xbf4a8890 in vm_regular_engine () from /usr/ports/pobj/guile2-2.2.4/guile-2.2.4/libguile/.libs/libguile-2.2.so.0.2 No symbol table info available. #6 0xbf4a8890 in vm_regular_engine () from /usr/ports/pobj/guile2-2.2.4/guile-2.2.4/libguile/.libs/libguile-2.2.so.0.2 No symbol table info available. #7 0xbf4a8890 in vm_regular_engine () from /usr/ports/pobj/guile2-2.2.4/guile-2.2.4/libguile/.libs/libguile-2.2.so.0.2 No symbol table info available. #8 0xbf4a8890 in vm_regular_engine () from /usr/ports/pobj/guile2-2.2.4/guile-2.2.4/libguile/.libs/libguile-2.2.so.0.2 No symbol table info available. #9 0xbf4a8890 in vm_regular_engine () from /usr/ports/pobj/guile2-2.2.4/guile-2.2.4/libguile/.libs/libguile-2.2.so.0.2 No symbol table info available. #10 0xbf4a8890 in vm_regular_engine () from /usr/ports/pobj/guile2-2.2.4/guile-2.2.4/libguile/.libs/libguile-2.2.so.0.2 No symbol table info available. #11 0xbf4a8890 in vm_regular_engine () from /usr/ports/pobj/guile2-2.2.4/guile-2.2.4/libguile/.libs/libguile-2.2.so.0.2 No symbol table info available. #12 0xbf4a8890 in vm_regular_engine () from /usr/ports/pobj/guile2-2.2.4/guile-2.2.4/libguile/.libs/libguile-2.2.so.0.2 No symbol table info available. #13 0xbf4a8890 in vm_regular_engine () from /usr/ports/pobj/guile2-2.2.4/guile-2.2.4/libguile/.libs/libguile-2.2.so.0.2 No symbol table info available. #14 0xbf4a8890 in vm_regular_engine () from /usr/ports/pobj/guile2-2.2.4/guile-2.2.4/libguile/.libs/libguile-2.2.so.0.2 No symbol table info available. #15 0xbf4a8890 in vm_regular_engine () from /usr/ports/pobj/guile2-2.2.4/guile-2.2.4/libguile/.libs/libguile-2.2.so.0.2 No symbol table info available. #16 0xbf4a8890 in vm_regular_engine () from /usr/ports/pobj/guile2-2.2.4/guile-2.2.4/libguile/.libs/libguile-2.2.so.0.2 No symbol table info available. #17 0xbf4a8890 in vm_regular_engine () from /usr/ports/pobj/guile2-2.2.4/guile-2.2.4/libguile/.libs/libguile-2.2.so.0.2 No symbol table info available. #18 0xbf4a8890 in vm_regular_engine () from /usr/ports/pobj/guile2-2.2.4/guile-2.2.4/libguile/.libs/libguile-2.2.so.0.2 No symbol table info available. #19 0xbf4a8890 in vm_regular_engine () from /usr/ports/pobj/guile2-2.2.4/guile-2.2.4/libguile/.libs/libguile-2.2.so.0.2 No symbol table info available. (gdb) frame 0 #0 0xbf4a854c in vm_regular_engine () from /usr/ports/pobj/guile2-2.2.4/guile-2.2.4/libguile/.libs/libguile-2.2.so.0.2 (gdb) list in /usr/src/libexec/ld.so/../../lib/libc/string/strsep.c (gdb) frame 19 #19 0xbf4a8890 in vm_regular_engine () from /usr/ports/pobj/guile2-2.2.4/guile-2.2.4/libguile/.libs/libguile-2.2.so.0.2 (gdb) list 1 in /usr/src/libexec/ld.so/../../lib/libc/string/strsep.c (gdb) q
make_install_msgs.gz
Description: application/gzip