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

我尝试去make但是出现了以下提示,是源码存在问题吗? #13

Open
coderhare opened this issue Apr 12, 2021 · 0 comments

Comments

@coderhare
Copy link

elflink.c:4928:45: error: performing pointer arithmetic on a null pointer has undefined behavior [-Werror,-Wnull-pointer-arithmetic] return (struct elf_link_hash_entry *) 0 - 1; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ elflink.c:5040:46: error: performing pointer arithmetic on a null pointer has undefined behavior [-Werror,-Wnull-pointer-arithmetic] if (h == (struct elf_link_hash_entry *) 0 - 1) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ 2 errors generated. make[4]: *** [elflink.lo] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-bfd] Error 2 make: *** [all] Error 2

@coderhare coderhare reopened this Apr 15, 2021
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