Skip to content

cmd/link: DWARFLocationList test failed on linux/riscv64 #76166

@mengzhuo

Description

@mengzhuo

Go version

7244e92

Output of go env in your module/workspace:

AR='ar'                                                                                                  
CC='gcc'                                                                                                 
CGO_CFLAGS='-O2 -g'                                                                                      
CGO_CPPFLAGS=''                                                                                          
CGO_CXXFLAGS='-O2 -g'                                                                                    
CGO_ENABLED='1'                                                                                          
CGO_FFLAGS='-O2 -g'                                                                                      
CGO_LDFLAGS='-O2 -g'                                                                                     
CXX='g++'                                                                                                
GCCGO='gccgo'                                                                                            
GO111MODULE=''                                                                                           
GOAMD64='v1'                                                                                             
GOARCH='amd64'                                                                                           
GOAUTH='netrc'                                                                                           
GOBIN=''                                                                                                 
GOCACHE='/root/.cache/go-build'                                                                          
GOCACHEPROG=''                                                                                           
GODEBUG=''                                                                                               
GOENV='/root/.config/go/env'                                                                             
GOEXE=''                                                                                                 
GOEXPERIMENT=''                                                                                          
GOFIPS140='off'                                                                                          
GOFLAGS=''                                                                                               
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build26
66689009=/tmp/go-build -gno-record-gcc-switches'                                                         
GOHOSTARCH='amd64'                                                                                       
GOHOSTOS='linux'                                                                                         
GOINSECURE=''                                                                                            
GOMOD='/root/godev/src/go.mod'                                                                           
GOMODCACHE='/root/go/pkg/mod'                                                                            
GONOPROXY=''                                                                                             
GONOSUMDB=''                                                                                             
GOOS='linux'                                                                                             
GOPATH='/root/go'                                                                                        
GOPRIVATE=''                                                                                             
GOPROXY='https://proxy.golang.org,direct'                                                                
GOROOT='/root/godev'                                                                                     
GOSUMDB='sum.golang.org'                                                                                 
GOTELEMETRY='local'                                                                                      
GOTELEMETRYDIR='/root/.config/go/telemetry'                                                              
GOTMPDIR=''                                                                                              
GOTOOLCHAIN='auto'                                                                                       
GOTOOLDIR='/root/godev/pkg/tool/linux_amd64'                                                             
GOVCS=''                                                                                                 
GOVERSION='go1.26-devel_7244e9221f Thu Oct 30 10:08:55 2025 -0700'                                       
GOWORK=''                                                                                                
PKG_CONFIG='pkg-config'

What did you do?

Looking for root cause of https://logs.chromium.org/logs/golang/buildbucket/cr-buildbucket/8699174592434814113/+/u/step/22/log/2

=== RUN   TestDWARFLocationList
=== PAUSE TestDWARFLocationList
=== CONT  TestDWARFLocationList
    dwarf_test.go:290: go build -o /home/swarming/.swarming/w/ir/x/t/TestDWARFLocationList3162122513/001/issue65405.exe ./testdata/dwarf/issue65405: exit status 1
        # cmd/link/testdata/dwarf/issue65405
        crosscall2_trampoline: nosplit stack over 800 byte limit
        crosscall2_trampoline<145>
            grows 0 bytes, calls crosscall2<0>
                grows 232 bytes, calls runtime.cgocallback<0>
                    grows 32 bytes, calls runtime.cgocallbackg<0>
                        grows 32 bytes, calls runtime.cgocallbackg<1>
                            grows 96 bytes, calls runtime.exitsyscall<1>
                                grows 136 bytes, calls runtime.casgstatus<1>
                                    grows 104 bytes, calls runtime.(*timeHistogram).record<1>
                                        grows 24 bytes, calls internal/runtime/sys.Len64<1>
                                            grows 8 bytes, calls runtime.panicBounds<1>
                                                grows 152 bytes, calls runtime.panicBounds64<1>
                                                    grows 0 bytes, calls runtime.morestack<0>
                                                    16 bytes over limit
--- FAIL: TestDWARFLocationList (87.92s)

Bisect shows 7244e92 is the culprit, but LUCI shows 2793728

cc @golang/riscv64 @mknyszek

What did you see happen?

None

What did you expect to see?

Build passed

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugReportIssues describing a possible bug in the Go implementation.NeedsFixThe path to resolution is known, but the work has not been done.compiler/runtimeIssues related to the Go compiler and/or runtime.

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions