From 71ed34e9893d65e4b3d56ab491eed09aff349cdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sumire=20=28=E8=8F=AB=29?= <151038614+sumire88@users.noreply.github.com> Date: Sat, 13 Jan 2024 18:50:35 +0800 Subject: [PATCH] Update troubleshooting.md --- docs/en/troubleshooting.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/en/troubleshooting.md b/docs/en/troubleshooting.md index de5d31880..1ed38a99d 100644 --- a/docs/en/troubleshooting.md +++ b/docs/en/troubleshooting.md @@ -89,4 +89,8 @@ If you use `clang-13` to compile dae, you may encounter this problem. There are ways to resolve it: 1. Method 1: Use `clang-15` or higher versions to compile dae. Or just download dae from [releases](https://github.com/daeuniverse/dae/releases). -2. Method 2: Add CFLAGS `-D__UNROLL_ROUTE_LOOP` while compiling. However, it will increse memory occupation (or swap space) at the eBPF loading stage (about 180MB). For example, compile dae to ARM64 using `make CGO_ENABLED=0 GOARCH=arm64 CFLAGS="-D__UNROLL_ROUTE_LOOP"`. + +## Test + +Hello world! +3. Method 2: Add CFLAGS `-D__UNROLL_ROUTE_LOOP` while compiling. However, it will increse memory occupation (or swap space) at the eBPF loading stage (about 180MB). For example, compile dae to ARM64 using `make CGO_ENABLED=0 GOARCH=arm64 CFLAGS="-D__UNROLL_ROUTE_LOOP"`.