I blew off the dust of my alpha, and attempted some investigations, one of the 
required packages to build would be devel/re2c, however, bison aborts with 
SIGILL:

(gdb) r
Starting program: /usr/local/bin/bison --output=src/ast/parser.cc 
--defines=src/ast/y.tab.h ./src/ast/parser.yp
warning: Hit beginning of text section without finding enclosing function for 
address 0x3dda0484

Program received signal SIGILL, Illegal instruction.
0x000000003dda0484 in ?? ()
(gdb) bt
#0  0x000000003dda0484 in ?? ()
#1  0x000000003de0123c in set_program_name (argv0=0x1fffe1d10 
"/usr/local/bin/bison") at lib/progname.c:61
#2  0x000000003ddb6a38 in main (argc=4, argv=0x1fffe1bb8) at src/main.c:61
(gdb) frame 1
#1  0x000000003de0123c in set_program_name (argv0=0x1fffe1d10 
"/usr/local/bin/bison") at lib/progname.c:61
61        if (base - argv0 >= 7 && strncmp (base - 7, "/.libs/", 7) == 0)
(gdb) print base
$7 = 0x1fffe1d1f "bison"
(gdb) print argv0
$8 = 0x1fffe1d10 "/usr/local/bin/bison"
(gdb) print base -7
$9 = 0x1fffe1d18 "al/bin/bison"
(gdb) info address strncmp
Symbol "strncmp" is at 0xa3a53d00 in a file compiled without debugging.
(gdb) print &strncmp
$10 = (<text variable, no debug info> *) 0xa3a53d00 <*_libc_strncmp>
(gdb) disassemble 0xa3a53d00
Dump of assembler code for function *_libc_strncmp:
   0x00000000a3a53d00 <+0>:     lda     sp,-16(sp)                              
                                                                                
                                                     
   0x00000000a3a53d04 <+4>:     unop
   0x00000000a3a53d08 <+8>:     nop                                             
                                                                                
                                                     
   0x00000000a3a53d0c <+12>:    unop
   0x00000000a3a53d10 <+16>:    beq     a2,0xa3a53d50 <*_libc_strncmp+80>
   0x00000000a3a53d14 <+20>:    ldq_u   t0,0(a1)
   0x00000000a3a53d18 <+24>:    lda     t4,1(a1)
   0x00000000a3a53d1c <+28>:    ldq_u   t2,0(a0)
   0x00000000a3a53d20 <+32>:    lda     t3,1(a0)
   0x00000000a3a53d24 <+36>:    extqh   t0,t4,t0
   0x00000000a3a53d28 <+40>:    extqh   t2,t3,t1
   0x00000000a3a53d2c <+44>:    sra     t0,0x38,t0
   0x00000000a3a53d30 <+48>:    sra     t1,0x38,t1
   0x00000000a3a53d34 <+52>:    lda     a2,-1(a2)
   0x00000000a3a53d38 <+56>:    cmpeq   t1,t0,t0
   0x00000000a3a53d3c <+60>:    mov     t4,a1
   0x00000000a3a53d40 <+64>:    beq     t0,0xa3a53d5c <*_libc_strncmp+92>
   0x00000000a3a53d44 <+68>:    mov     t3,a0
   0x00000000a3a53d48 <+72>:    bne     t1,0xa3a53d10 <*_libc_strncmp+16>
   0x00000000a3a53d4c <+76>:    unop
   0x00000000a3a53d50 <+80>:    clr     v0
   0x00000000a3a53d54 <+84>:    lda     sp,16(sp)
   0x00000000a3a53d58 <+88>:    ret
   0x00000000a3a53d5c <+92>:    lda     t3,-1(t4)
   0x00000000a3a53d60 <+96>:    ldq_u   t1,-1(t4)
   0x00000000a3a53d64 <+100>:   extbl   t2,a0,t2
   0x00000000a3a53d68 <+104>:   extbl   t1,t3,t0
   0x00000000a3a53d6c <+108>:   subl    t2,t0,v0
   0x00000000a3a53d70 <+112>:   lda     sp,16(sp)
   0x00000000a3a53d74 <+116>:   ret
End of assembler dump.
(gdb) disassemble 0x3dda0484
No function contains specified address.

OpenBSD 6.4-current (GENERIC) #330: Mon Dec 10 08:00:28 MST 2018
    dera...@alpha.openbsd.org:/usr/src/sys/arch/alpha/compile/GENERIC
COMPAQ Professional Workstation XP1000, 666MHz
8192 byte page size, 1 processor.
real mem = 402653184 (384MB)
rsvd mem = 1835008 (1MB)
avail mem = 383852544 (366MB)
mainbus0 at root
cpu0 at mainbus0: ID 0 (primary), 21264A-9 (pass 2.2.3 or 2.2.5)
cpu0: architecture extensions: 307<PAT,MVI,CIX,FIX,BWX>
tsc0 at mainbus0: 21272 Chipset, Cchip rev 0
tsc0: 4 Dchips, 1 memory bus of 32 bytes
tsc0: arrays present: 128MB (split), 256MB, 0MB, 0MB, Dchip 0 rev 1
tsp0 at tsc0 hose 0
pci0 at tsp0 bus 0
sio0 at pci0 dev 7 function 0 "Contaq Microsystems CY82C693U ISA" rev 0x00
pciide0 at pci0 dev 7 function 1 "Contaq Microsystems CY82C693U ISA" rev 0x00: 
DMA, channel 0 wired to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <COMPAQ, CRD-8322B, 1.07> ATAPI 5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, DMA mode 2
pciide1 at pci0 dev 7 function 2 "Contaq Microsystems CY82C693U ISA" rev 0x00: 
no DMA, channel 0 wired to compatibility
pciide1: channel 0 disabled (no drives)
ohci0 at pci0 dev 7 function 3 "Contaq Microsystems CY82C693U ISA" rev 0x00: 
isa irq 10, version 1.0, legacy support
em0 at pci0 dev 11 function 0 "Intel 82544EI" rev 0x02: dec 6600 irq 40, 
address 00:02:b3:d4:ba:b6
vga0 at pci0 dev 13 function 0 "TI 3DLabs Permedia 2" rev 0x01
wsdisplay0 at vga0 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
isa0 at sio0
isadma0 at isa0
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x3bc/4 irq 7
mcclock0 at isa0 port 0x70/2: mc146818 or compatible
usb0 at ohci0: USB revision 1.0
uhub0 at usb0 configuration 1 interface 0 "Contaq Microsys OHCI root hub" rev 
1.00/1.00 addr 1
tsp1 at tsc0 hose 1
pci1 at tsp1 bus 0
dc0 at pci1 dev 3 function 0 "DEC 21142/3" rev 0x41: dec 6600 irq 45, address 
08:00:2b:87:12:42
dcphy0 at dc0 phy 31: internal PHY
qlw0 at pci1 dev 6 function 0 "QLogic ISP1020" rev 0x06: dec 6600 irq 47
qlw0: firmware rev 4.66.0, attrs 0x0
scsibus1 at qlw0: 16 targets, initiator 7
sd0 at scsibus1 targ 0 lun 0: <COMPAQ, BD018222CA, B016> SCSI2 0/direct fixed 
eui.4d414738d2020758
sd0: 17365MB, 512 bytes/sector, 35565080 sectors
ppb0 at pci1 dev 8 function 0 "DEC 21152" rev 0x03
pci2 at ppb0 bus 2
tsciic0 at tsc0
iic0 at tsciic0
spdmem0 at iic0 addr 0x50: 32MB SDRAM registered ECC PC66
spdmem1 at iic0 addr 0x51: 32MB SDRAM registered ECC PC66
spdmem2 at iic0 addr 0x52: 32MB SDRAM registered ECC PC66
spdmem3 at iic0 addr 0x53: 32MB SDRAM registered ECC PC66
spdmem4 at iic0 addr 0x54: 64MB SDRAM registered ECC PC100CL2
spdmem5 at iic0 addr 0x55: 64MB SDRAM registered ECC PC100CL2
spdmem6 at iic0 addr 0x56: 64MB SDRAM registered ECC PC100CL2
spdmem7 at iic0 addr 0x57: 64MB SDRAM registered ECC PC100CL2
stray isa irq 3
stray isa irq 4
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd0a (a515f264a8301d0b.a) swap on sd0b dump on sd0b
WARNING: clock lost 7304 days -- CHECK AND RESET THE DATE!

Reply via email to