Skip to content

cmd/compile: cannot regenerate rules files using non-tip compiler #36663

@josharian

Description

@josharian

Until recently, it was possible to use a non-tip compiler to regenerate the rules files. This is important, since it (a) prevents you from needing tip to compile to regenerate rules and (b) allows you to use a stable compiler.

That no longer works. Using 1.13 I get:

$ go run *.go
build command-line-arguments: cannot load cmd/internal/obj/riscv: package cmd/internal/obj/riscv is not in GOROOT (/Users/josh/go/1.13/src/cmd/internal/obj/riscv)

Using 1.14 beta 1, I get:

$ go run *.go
RISCV64Ops.go:9:8: use of internal package cmd/internal/obj/riscv not allowed

cc @randall77 @4a6f656c

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions