pingcap / pingcap/tidb

build v8.1 with go1.21 fail

Open
#57,836 3 comments 0 reactions 0 assignees View on GitHub
component/build type/bug
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Bug Report

Please answer these questions before submitting your issue. Thanks!

### 1. Minimal reproduce step (Required)

1、using goland check out v8.1
2、using gvm download a go1.21
3、make

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

### 3. What did you see instead (Required)
build with warinning
![Image](https://github.com/user-attachments/assets/322678f1-15ff-4bdf-8f20-cf3268107c5f)

### 4. What is your TiDB version? (Required)
v8.1

Contributor guide

Open the contributing guide

Research direction

Reproduce the v8.1 build using GoLand, gvm with Go 1.21, and make, then inspect the warning shown in the attached image. Confirm the expected result by determining whether the build completes cleanly without the reported warning.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.