daeuniverse / dae

eBPF-based Linux high-performance transparent proxy solution.
GNU Affero General Public License v3.0
3.04k stars 191 forks source link

[Support Request] Should the Build Guide be updated? #559

Closed linglilongyi closed 3 months ago

linglilongyi commented 3 months ago

Checks

Support Request

Have trouble on building my own dae.

Current Behavior

log:

go/pkg/mod/github.com/cilium/ebpf@v0.12.3/internal/sysenc/marshal.go:37:29: undefined: unsafe.StringData
note: module requires Go 1.20

while the [[https://github.com/daeuniverse/dae/blob/main/docs/en/user-guide/build-by-yourself.md|Build Guide Document]] mention golang >= 1.18

Expected Behavior

No response

Steps to Reproduce

make GOFLAG="-buildvcs=false" CC=clang

Environment

Anything else?

I would like to help improve the doc if the infomation is provided. Thank you all~

dae-prow[bot] commented 3 months ago

Thanks for opening this issue!

mzz2017 commented 3 months ago

Indeed, dae needs go 1.22 from now

mzz2017 commented 3 months ago

The go version needed can be found at https://github.com/daeuniverse/dae/blob/main/go.mod#L3

Welcome to contribute to the doc! Thank you.

mzz2017 commented 3 months ago

Fixed in #561