On Sat, Oct 28, 2023 at 11:39 AM h hm <haoming9245@xxxxxxxxxxx> wrote: > I want to build commit 2e8e77c in the master This is a merge commit bringing together multiple topics, so it's difficult to say which topic may have caused a regression. Perhaps try git-bisect to narrow the problem down to a single commit. > configure: Setting lib to 'lib' (the default) > configure: Will try -pthread then -lpthread to enable POSIX Threads. > configure: CHECKS for site configuration > checking for gcc... gcc > checking whether the C compiler works... no > configure: error: in `/home/haomi/git': > configure: error: C compiler cannot create executables Your config.log shows that it is trying to test-compile this tiny program: /* confdefs.h */ #define PACKAGE_NAME "git" #define PACKAGE_TARNAME "git" #define PACKAGE_VERSION "2.42.GIT" #define PACKAGE_STRING "git 2.42.GIT" #define PACKAGE_BUGREPORT "git@xxxxxxxxxxxxxxx" #define PACKAGE_URL "" /* end confdefs.h. */ int main (void) { ; return 0; } with the simplest command `gcc conftest.c`, but it's failing. Perhaps try compiling that program manually in your `/home/haomi/git' directory and see what the result is (also check $?).