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

Unable to build on Manjaro Linux x86_64: BaseException on first try. #86

Open
Folaht opened this issue Sep 7, 2023 · 0 comments
Open

Comments

@Folaht
Copy link

Folaht commented Sep 7, 2023

When I try make a second time, I get a different error.
See other issue.

BOARD = qemu
KERNEL = vmlinuz-virt
INITRD = initramfs-virt.gz
ROM = boards/qemu/qemu.rom
GenFfs.c: In the "GetAlignmentFromFile" function:
GenFfs.c:545:5: error: the "InFileHandle" pointer is used after "fclose" [-Werror=use-after-free]
  545 | Error(NULL, 0, 4001, "Resource", "memory cannot be allocated of %s", InFileHandle);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GenFfs.c:544:5: note: call "fclose" here
  544 | fclose (InFileHandle);
      | ^~~~~~~~~~~~~~~~~~~~~
cc1: all warnings are treated as errors
make[3]: *** [../Makefiles/footer.makefile:27: GenFfs.o] Error 1
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