Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 May 2024 14:47:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 278953] lang/go122: build fails on armv7 FreeBSD 13.3
Message-ID:  <bug-278953-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278953

            Bug ID: 278953
           Summary: lang/go122: build fails on armv7 FreeBSD 13.3
           Product: Ports & Packages
           Version: Latest
          Hardware: arm
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: go@FreeBSD.org
          Reporter: fuz@FreeBSD.org
          Assignee: go@FreeBSD.org
             Flags: maintainer-feedback?(go@FreeBSD.org)
 Attachment #250617 text/plain
         mime type:

Created attachment 250617
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D250617&action=
=3Dedit
lang/go122 armv7 FreeBSD 13.3 build log

I'm trying to build lang/go 1.22.2 on armv7 FreeBSD 13.3 (specifically, in =
an
armv7 jail on an arm64 host).  The build fails reproducably when building
toolchain3:

Building Go toolchain3 using go_bootstrap and Go toolchain2.
fatal error: workbuf is not empty

runtime stack:
runtime.throw({0x4c643d, 0x14})
        /usr/local/go122/src/runtime/panic.go:1023 +0x4c fp=3D0x2905fefc
sp=3D0x2905fee8 pc=3D0x52544
runtime.(*workbuf).checkempty(0x294d4800)
        /usr/local/go122/src/runtime/mgcwork.go:344 +0x38 fp=3D0x2905ff08
sp=3D0x2905fefc pc=3D0x41944
runtime.getempty()
        /usr/local/go122/src/runtime/mgcwork.go:357 +0x70 fp=3D0x2905ff34
sp=3D0x2905ff08 pc=3D0x419cc
runtime.handoff(0x29318000)
        /usr/local/go122/src/runtime/mgcwork.go:439 +0x14 fp=3D0x2905ff48
sp=3D0x2905ff34 pc=3D0x41cfc
runtime.(*gcWork).balance(0x2903bc5c)
        /usr/local/go122/src/runtime/mgcwork.go:297 +0x44 fp=3D0x2905ff54
sp=3D0x2905ff48 pc=3D0x41840
runtime.gcDrainN(0x2903bc5c, 0xa3c0)
        /usr/local/go122/src/runtime/mgcmark.go:1304 +0x148 fp=3D0x2905ff7c
sp=3D0x2905ff54 pc=3D0x37fe8
runtime.gcAssistAlloc1(0x29276200, 0xa3c0)
        /usr/local/go122/src/runtime/mgcmark.go:665 +0x15c fp=3D0x2905ffd4
sp=3D0x2905ff7c pc=3D0x363e8
runtime.gcAssistAlloc.func1()
        /usr/local/go122/src/runtime/mgcmark.go:556 +0x2c fp=3D0x2905ffe4
sp=3D0x2905ffd4 pc=3D0x3627c
runtime.systemstack(0x0)
        /usr/local/go122/src/runtime/asm_arm.s:317 +0x60 fp=3D0x2905ffe8
sp=3D0x2905ffe4 pc=3D0x8c3bc

See attached build log for details.

The build fails on FreeBSD 14.0 in much the same way.  I'll try to bisect t=
he
change from go 1.21 to 1.22 to find where the error is.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-278953-7788>