I get a SIGSEGV when I run 'make build' in /usr/src on octeon
(edgerouter lite):
# make build
cd /usr/src/share/mk && exec make install
install -c -o root -g bin -m 444 bsd.README bsd.dep.mk bsd.lib.mk bsd.man.mk
bsd.obj.mk bsd.own.mk bsd.port.arch.mk bsd.port.mk bsd.port.subdir.mk
bsd.prog.mk bsd.regress.mk bsd.subdir.mk bsd.sys.mk sys.mk bsd.xconf.mk
bsd.xorg.mk /usr/share/mk
cd /usr/src/include && make prereq && exec make includes
preparing in /usr/src/include/../gnu/lib/libstdc++-v3
copies: crypto ddb dev isofs miscfs msdosfs net netinet netinet6 netmpls
net80211 nfs ntfs scsi sys ufs uvm
cd ../sys; pax -rw -pa -L `find crypto ddb dev isofs miscfs msdosfs net
netinet netinet6 netmpls net80211 nfs ntfs scsi sys ufs uvm -follow -type f
-name '*.h' '!' '(' -path 'dev/microcode/*' -or -path 'dev/pci/drm/*' ')'
-print` /usr/include
cd /usr/include && rm -rf octeon mips64 machine
install -d -o root -g bin -m 755 /usr/include/octeon
pax -rw -pa -s "|\.\./sys/arch/octeon/include||"
../sys/arch/octeon/include/*.h /usr/include/octeon
if test octeon != mips64 -a -d ../sys/arch/mips64/include; then install -d -o
root -g bin -m 755 /usr/include/mips64; pax -rw -pa -s
"|\.\./sys/arch/mips64/include||" ../sys/arch/mips64/include/*.h
/usr/include/mips64; fi
ln -sf octeon /usr/include/machine;
installing a.out.h ar.h asr.h assert.h bitstring.h blf.h bsd_auth.h complex.h
cpio.h ctype.h curses.h db.h dbm.h dirent.h disktab.h dlfcn.h elf_abi.h err.h
errno.h fenv.h float.h fnmatch.h fstab.h fts.h ftw.h getopt.h glob.h grp.h
icdb.h ieeefp.h ifaddrs.h inttypes.h iso646.h kvm.h langinfo.h libgen.h
limits.h link.h link_elf.h locale.h login_cap.h math.h md5.h memory.h ndbm.h
netdb.h netgroup.h nlist.h nl_types.h paths.h poll.h pwd.h ranlib.h
readpassphrase.h regex.h resolv.h rmd160.h search.h setjmp.h sha1.h sha2.h
signal.h siphash.h sndio.h spawn.h stdbool.h stddef.h stdio.h stdlib.h string.h
strings.h struct.h sysexits.h tar.h tgmath.h tib.h time.h ttyent.h unistd.h
utime.h utmp.h uuid.h vis.h wchar.h wctype.h
installing arpa protocols rpc rpcsvc
installing endian.h fcntl.h syslog.h termios.h stdarg.h stdint.h varargs.h
installing frame.h
chown -R root:bin /usr/include
find /usr/include -type f -print0 | xargs -0r chmod a=r
find /usr/include -type d -print0 | xargs -0r chmod u=rwx,go=rx
installing in /usr/src/include/../lib/libcrypto
===> crypto
cat /usr/src/lib/libcrypto/crypto/../../libssl/src/crypto/objects/obj_mac.num >
obj_mac.num.tmp
/usr/bin/perl
/usr/src/lib/libcrypto/crypto/../../libssl/src/crypto/objects/objects.pl
/usr/src/lib/libcrypto/crypto/../../libssl/src/crypto/objects/objects.txt
obj_mac.num.tmp obj_mac.h
*** Signal SIGSEGV in lib/libcrypto/crypto (Makefile:410 'obj_mac.h')
*** Error 1 in lib/libcrypto (<bsd.subdir.mk>:48 'includes')
*** Error 1 in include (Makefile:104 'includes')
*** Error 1 in /usr/src (Makefile:76 'build')
dmesg:
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
Copyright (c) 1995-2016 OpenBSD. All rights reserved. http://www.OpenBSD.org
OpenBSD 5.9-current (GENERIC) #0: Sun May 8 01:23:30 CEST 2016
[email protected]:/usr/src/sys/arch/octeon/compile/GENERIC
real mem = 536870912 (512MB)
avail mem = 524861440 (500MB)
warning: no entropy supplied by boot loader
mainbus0 at root
cpu0 at mainbus0: Cavium OCTEON CPU rev 0.1 500 MHz, Software FP emulation
cpu0: cache L1-I 32KB 4 way D 8KB 64 way, L2 128KB 8 way
clock0 at mainbus0: int 5
iobus0 at mainbus0
dwctwo0 at iobus0 base 0x1180068000000 irq 56
usb0 at dwctwo0: USB revision 2.0
uhub0 at usb0 "Octeon DWC2 root hub" rev 2.00/1.00 addr 1
octrng0 at iobus0 base 0x1400000000000 irq 0
cn30xxgmx0 at iobus0 base 0x1180008000000 irq 48
cnmac0 at cn30xxgmx0: RGMII, address dc:9f:db:29:77:4e
atphy0 at cnmac0 phy 7: F1 10/100/1000 PHY, rev. 2
cnmac1 at cn30xxgmx0: RGMII, address dc:9f:db:29:77:4f
atphy1 at cnmac1 phy 6: F1 10/100/1000 PHY, rev. 2
cnmac2 at cn30xxgmx0: RGMII, address dc:9f:db:29:77:50
atphy2 at cnmac2 phy 5: F1 10/100/1000 PHY, rev. 2
uartbus0 at mainbus0
com0 at uartbus0 base 0x1180000000800 irq 34: ns16550a, 64 byte fifo
com0: console
com1 at uartbus0 base 0x1180000000c00 irq 35: ns16550a, 64 byte fifo
/dev/ksyms: Symbol table not valid.
vscsi0 at root
scsibus0 at vscsi0: 256 targets
softraid0 at root
scsibus1 at softraid0: 256 targets
root device: cnmac0
nfs_boot: using interface cnmac0, with revarp & bootparams
cnmac0: a reception error occured, the packet was dropped (error code = 13)
nfs_boot: client_addr=10.0.0.1
nfs_boot: server_addr=10.0.0.2 hostname=erl
root on 10.0.0.2:/home/ubnt/root
WARNING: No TOD clock, believing file system.
WARNING: CHECK AND RESET THE DATE!
swap on 10.0.0.2:/home/ubnt/swap