Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

U-boot build error - Buffer overflow detected #5

Open
wrkslava opened this issue Jun 27, 2024 · 0 comments
Open

U-boot build error - Buffer overflow detected #5

wrkslava opened this issue Jun 27, 2024 · 0 comments

Comments

@wrkslava
Copy link

wrkslava commented Jun 27, 2024

What is the issue?
I try to build sg2002_milkv_duo256m_glibc_arm64_sd image by cmd ./build.sh lunch
and catch error at u-boot-build target.

[TARGET] u-boot-build 
  ....
  AR      lib/zlib/built-in.o
  AR      lib/efi_loader/built-in.o
  AR      lib/built-in.o
  LD      u-boot
*** buffer overflow detected ***: terminated
Aborted (core dumped)
make[2]: *** [/home/slava/milkv/duo-buildroot-sdk-v2-develop/u-boot-2021.10/Makefile:1801: u-boot] Error 134
make[2]: *** Deleting file «u-boot»
make[2]: Exit directory «/home/slava/milkv/duo-buildroot-sdk-v2-develop/u-boot-2021.10/build/sg2002_milkv_duo256m_glibc_arm64_sd»
make[1]: *** [Makefile:178: sub-make] Error 2
make[1]: Exit directory  «/home/slava/milkv/duo-buildroot-sdk-v2-develop/u-boot-2021.10»
make: *** [Makefile:184: u-boot-build] Error 2
Error: Build board milkv-duo256m-glibc-arm64-sd failed!

What I expected:
Successful image build.

OS: Ubuntu 22.04.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant