On 12/14/2021 1:16 am, Mark Millard wrote:
From: Larry Rosenman <ler_at_FreeBSD.org> wrote on
Date: Mon, 13 Dec 2021 18:48:52 -0600 :

https://home.lerctr.org:8888/data/p130-S-amd64-host-ports/2021-12-13_18h14m58s/logs/errors/go-1.17.5,1.log


# cmd/compile/internal/ssa
fatal error: unexpected signal during runtime execution
[signal SIGBUS: bus error code=0xc addr=0x8198d4000 pc=0x429121]

runtime stack:
runtime.throw(0xc2702b, 0x2a)
        /usr/local/go/src/runtime/panic.go:1112 +0x72
runtime.sigpanic()
        /usr/local/go/src/runtime/signal_unix.go:671 +0x46a
runtime.(*pageAlloc).alloc(0x1206c48, 0x8, 0x0, 0x0)
        /usr/local/go/src/runtime/mpagealloc.go:767 +0x81
runtime.(*mheap).allocSpan(0x1206c40, 0x8, 0x420000, 0x121c5a8, 0x48)
        /usr/local/go/src/runtime/mheap.go:1122 +0x62f
runtime.(*mheap).alloc.func1()
        /usr/local/go/src/runtime/mheap.go:871 +0x64
runtime.(*mheap).alloc(0x1206c40, 0x8, 0x460100, 0x1206c40)
        /usr/local/go/src/runtime/mheap.go:865 +0x81
runtime.largeAlloc(0xf8a0, 0x1210001, 0x882348ae0)
        /usr/local/go/src/runtime/malloc.go:1152 +0x92
runtime.mallocgc.func1()
        /usr/local/go/src/runtime/malloc.go:1047 +0x46
runtime.systemstack(0x0)
        /usr/local/go/src/runtime/asm_amd64.s:370 +0x66
runtime.mstart()
        /usr/local/go/src/runtime/proc.go:1041


Ideas?

Today's 13-Stable, and today's ports tree
(Poudriere hosted on 14-Current)

I tried building lang/go for stable/13 (from main) via
poudreire-devel in/for a somewhat older amd64 context:
(from the build's log file)

Ports top last git commit: 9bed79e86972
Ports top unclean checkout: yes
Port dir last git commit: 66b73ca2e1fa
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.3.99.20211130
Host OSVERSION: 1400043
Jail OSVERSION: 1300522

For reference:

# cd /usr/ports/
# ~/fbsd-based-on-what-commit.sh
branch: main
merge-base: 9bed79e869721b4ca8a15c527db8d40969867c2c
merge-base: CommitDate: 2021-12-06 03:45:47 +0000
9bed79e86972 (HEAD -> main, freebsd/main, freebsd/HEAD) www/drupal9:
update to 9.2.10
n567671 (--first-parent --count for merge-base)

# cd /usr/13S-src/
# ~/fbsd-based-on-what-commit.sh
branch: stable/13
merge-base: c89c8b894cffd033d6409f7bf0bdb7543bbf78f9
merge-base: CommitDate: 2021-12-07 18:53:33 +0000
c89c8b894cff (HEAD -> stable/13, freebsd/stable/13) net80211(4): Fix a
typo in a sysctl description
n248443 (--first-parent --count for merge-base)

# cd /usr/main-src/
# ~/fbsd-based-on-what-commit.sh
branch: main
merge-base: 22c4ab6cb015dc99eb82504e5fd957662cded3c3
merge-base: CommitDate: 2021-12-07 19:29:26 +0000
22c4ab6cb015 (HEAD -> main, freebsd/main, freebsd/HEAD) sys/_bitset.h:
Fix fall-out from commit 5e04571cf3c
n251456 (--first-parent --count for merge-base)

lang/go is older as a consequence: 1.17.4,1

No CCACHE use in my context, unlike yours.

The log shows a smaller stack size limit: stack size
(kbytes, -s)  524288
The log shows a larger open files limit : open files
   (-n)  4096

Result:

[00:04:23] [01] [00:03:01] Finished lang/go | go-1.17.4,1: Success



(This happened to separately be a useful test of a newly set
up part of my environment. But my context being only about a
week back, I figured that the status for such a short time
back might prove useful.)


A second run worked fine. I wonder if it was a freak and/or ASLR picking bad numbers?
Regardless,  it built now.
https://home.lerctr.org:8888/data/p130-S-amd64-host-ports/2021-12-14_02h10m23s/logs/go-1.17.5,1.log

--
Larry Rosenman                     http://people.freebsd.org/~ler
Phone: +1 214-642-9640                 E-Mail: [email protected]
US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106

Reply via email to