From 70a468cd8a80cfae2f4db3316cb2476835d6618e Mon Sep 17 00:00:00 2001 From: xingyaner Date: Tue, 15 Sep 2026 23:05:55 +0800 Subject: [PATCH 1/2] libunwind: fix broken build (#16137) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The OSS‑Fuzz fuzzer build fails because the compiler cannot find `libunwind.h`. The build script only adds `-I./include`, but libunwind’s public headers, including `libunwind.h`, `libunwind‑x86_64.h`, and the generated `libunwind‑common.h`, are now located under `include/api`. Update `build.sh` to add `-I./include/api` to the fuzzer compilation include paths. > Step #3 - "compile-afl-address-x86_64": /src/fuzz_libunwind.c:19:10: fatal error: 'libunwind.h' file not found > Step #3 - "compile-afl-address-x86_64": 19 | #include > Step #3 - "compile-afl-address-x86_64": | ^~~~~~~~~~~~~ > Step #3 - "compile-afl-address-x86_64": 1 error generated. > Step #3 - "compile-afl-address-x86_64": ******************************************************************************** > Failed to build. > To reproduce, run: > python infra/helper.py build_image libunwind > python infra/helper.py build_fuzzers --sanitizer address --engine afl --architecture x86_64 libunwind > ******************************************************************************** > Finished Step Signed-off-by: xingyaner --- projects/libunwind/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/libunwind/build.sh b/projects/libunwind/build.sh index 6803dc298445..33dd5c72e543 100755 --- a/projects/libunwind/build.sh +++ b/projects/libunwind/build.sh @@ -18,7 +18,7 @@ autoreconf -i ./configure --enable-shared=no --enable-static=yes make -$CC $CFLAGS $LIB_FUZZING_ENGINE -I./include -c $SRC/fuzz_libunwind.c \ +$CC $CFLAGS $LIB_FUZZING_ENGINE -I./include -I./include/api -c $SRC/fuzz_libunwind.c \ -o fuzz_libunwind.o $CXX $CXXFLAGS $LIB_FUZZING_ENGINE fuzz_libunwind.o \ ./src/.libs/libunwind-x86_64.a ./src/.libs/libunwind.a \ From 0852c23fb98da9f75f0c65b6aa2f57575b6439e9 Mon Sep 17 00:00:00 2001 From: Appu Date: Tue, 15 Sep 2026 16:37:48 -0400 Subject: [PATCH 2/2] bump go to 1.27.1 (#16124) This is the latest release as of today. Signed-off-by: Appu --- infra/base-images/base-builder/install_go.sh | 4 ++-- infra/base-images/base-runner/install_go.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/infra/base-images/base-builder/install_go.sh b/infra/base-images/base-builder/install_go.sh index 85a0b689ac8f..5481726d71c0 100755 --- a/infra/base-images/base-builder/install_go.sh +++ b/infra/base-images/base-builder/install_go.sh @@ -18,9 +18,9 @@ cd /tmp export GOROOT=/root/.go -wget https://go.dev/dl/go1.25.0.linux-amd64.tar.gz +wget https://go.dev/dl/go1.27.1.linux-amd64.tar.gz mkdir temp-go -tar -C temp-go/ -xzf go1.25.0.linux-amd64.tar.gz +tar -C temp-go/ -xzf go1.27.1.linux-amd64.tar.gz mkdir /root/.go/ mv temp-go/go/* /root/.go/ diff --git a/infra/base-images/base-runner/install_go.sh b/infra/base-images/base-runner/install_go.sh index 4786eefd51c1..fd829ac336d6 100755 --- a/infra/base-images/base-runner/install_go.sh +++ b/infra/base-images/base-runner/install_go.sh @@ -21,9 +21,9 @@ case $(uname -m) in x86_64) # Download and install Go. export GOROOT=/root/.go - wget https://go.dev/dl/go1.25.0.linux-amd64.tar.gz + wget https://go.dev/dl/go1.27.1.linux-amd64.tar.gz mkdir temp-go - tar -C temp-go/ -xzf go1.25.0.linux-amd64.tar.gz + tar -C temp-go/ -xzf go1.27.1.linux-amd64.tar.gz mkdir $GOROOT mv temp-go/go/* /root/.go/