Skip to content

build failed with go1.19 #105

Description

@aytrack

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

  1. go version 1.19 on mac
  2. pull and make

2. What did you expect to see? (Required)

build success

3. What did you see instead (Required)

build failed

go build  -gcflags '' -ldflags '' -tags '' -o ./bin/tiproxy ./cmd/tiproxy
# github.com/pingcap/TiProxy/pkg/manager/config
<autogenerated>:1: internal compiler error: panic: runtime error: invalid memory address or nil pointer dereference

Please file a bug report including a short program that triggers the error.
https://go.dev/issue/new
make: *** [cmd_tiproxy] Error 2                                                      

before #95 it can build success.

4. What is your version? (Required)

go version go1.19 darwin/amd64   

main 6a218a1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions