Open Hyzhou opened 1 day ago
sonic 已更新
sonic 已更新
第一个CLI的编译问题,能不能也帮忙看一下。 第二个在高版本1.23 Go环境编译的问题并没有得到解决。
go build -mod vendor -ldflags "-X main.Branch=main -X main.RevCount=11354 -X main.Revision=98d8f792179551657a971c611da3b97d510053bb -X main.CommitDate=2024-11-26 -X 'main.goVersion=go version go1.23.3 linux/amd64' -X 'main.CompileTime=2024-11-26 15:20:14'" -tags=go_json -o bin/deepflow-server cmd/server/main.go cmd/server/config.go cmd/server/free_os_memory_handler.go
# github.com/grafana/pyroscope-go/godeltaprof/internal/pprof
vendor/github.com/grafana/pyroscope-go/godeltaprof/internal/pprof/delta_mutex.go:25:20: undefined: runtime_cyclesPerSecond
vendor/github.com/grafana/pyroscope-go/godeltaprof/internal/pprof/proto.go:400:8: undefined: runtime_expandFinalInlineFrame
https://github.com/grafana/pyroscope-go 的依赖版本也低了,需要升级才能够支持 。
Search before asking
DeepFlow Component
CLI Server
What you expected to happen
因为我使用了Go 1.23进行编译,而基础库github.com/bytedance/sonic不支持。 升级基础库之后编译失败,我可以退回更低版本的go进行编译,官方是不是可以评估一下这个库能否支持升级? go get -u github.com/bytedance/sonic@v1.12.5
How to reproduce
No response
DeepFlow version
main
DeepFlow agent list
No response
Kubernetes CNI
No response
Operation-System/Kernel version
No response
Anything else
No response
Are you willing to submit a PR?
Code of Conduct