Skip to content

cmd/compile: new bounds check strategy pushes ppc64le unoptimized builds over nosplit stack limit #74910

@prattmic

Description

@prattmic

ppc64le builds started failing with https://go.dev/cl/682498.

Example failure: https://ci.chromium.org/ui/p/golang/builders/ci/gotip-linux-ppc64le_power10/b8707359340590493345/overview

        runtime.sigprofNonGoWrapper: nosplit stack over 800 byte limit
        runtime.sigprofNonGoWrapper<63>
            grows 544 bytes, calls runtime.sigprofNonGo<1>
                grows 80 bytes, calls runtime.(*cpuProfile).addNonGo<1>
                    grows 56 bytes, calls runtime.panicBounds<1>
                        grows 136 bytes, calls runtime.panicBounds64<1>
                            grows 0 bytes, calls runtime.morestack<0>
                            16 bytes over limit

It looks like this only impacts -N -l builds, which is why so few tests fail.

cc @randall77 @golang/ppc64

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugReportIssues describing a possible bug in the Go implementation.FixPendingIssues that have a fix which has not yet been reviewed or submitted.compiler/runtimeIssues related to the Go compiler and/or runtime.

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions