{"thread":{"id":"60441","subject":"[Bugs] Hello,I can't build git by ./configure","startedAt":"2023-10-28T15:39:11Z","lastAt":"2023-10-29T01:34:13Z","messageCount":2,"participants":["h hm","Eric Sunshine"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"484032","messageId":"PSBPR01MB3544370EEA032FA47778135DBDA3A@PSBPR01MB3544.apcprd01.prod.exchangelabs.com","threadId":"60441","inReplyTo":null,"subject":"[Bugs] Hello,I can't build git by ./configure","fromName":"h hm","fromEmail":"haoming9245@outlook.com","sentAt":"2023-10-28T15:39:05Z","receivedAt":"2023-10-28T15:39:11Z","isPatch":false,"sender":{"key":"haoming9245@outlook.com","avatar":null},"body":"I want to build commit 2e8e77c in the master\n\nStep:\ncd git\nmake configure\n./configure\n\nOut:\nconfigure: Setting lib to 'lib' (the default)\nconfigure: Will try -pthread then -lpthread to enable POSIX Threads.\nconfigure: CHECKS for site configuration\nchecking for gcc... gcc\nchecking whether the C compiler works... no\nconfigure: error: in `/home/haomi/git':\nconfigure: error: C compiler cannot create executables\nSee `config.log' for more details\n\nBut before that commit ,build ok\nThere is my config.log\n"},{"id":"484038","messageId":"CAPig+cScxS=NYBpeoyWe8JQA6HBO+PNCKJpzL=57-9mu3Dxwbg@mail.gmail.com","threadId":"60441","inReplyTo":"PSBPR01MB3544370EEA032FA47778135DBDA3A@PSBPR01MB3544.apcprd01.prod.exchangelabs.com","subject":"Re: [Bugs] Hello,I can't build git by ./configure","fromName":"Eric Sunshine","fromEmail":"sunshine@sunshineco.com","sentAt":"2023-10-29T01:33:58Z","receivedAt":"2023-10-29T01:34:13Z","isPatch":false,"sender":{"key":"sunshine@sunshineco.com","avatar":"https://avatars.githubusercontent.com/u/163641?v=4"},"body":"On Sat, Oct 28, 2023 at 11:39 AM h hm <haoming9245@outlook.com> wrote:\n> I want to build commit 2e8e77c in the master\n\nThis is a merge commit bringing together multiple topics, so it's\ndifficult to say which topic may have caused a regression. Perhaps try\ngit-bisect to narrow the problem down to a single commit.\n\n> configure: Setting lib to 'lib' (the default)\n> configure: Will try -pthread then -lpthread to enable POSIX Threads.\n> configure: CHECKS for site configuration\n> checking for gcc... gcc\n> checking whether the C compiler works... no\n> configure: error: in `/home/haomi/git':\n> configure: error: C compiler cannot create executables\n\nYour config.log shows that it is trying to test-compile this tiny program:\n\n    /* confdefs.h */\n    #define PACKAGE_NAME \"git\"\n    #define PACKAGE_TARNAME \"git\"\n    #define PACKAGE_VERSION \"2.42.GIT\"\n    #define PACKAGE_STRING \"git 2.42.GIT\"\n    #define PACKAGE_BUGREPORT \"git@vger.kernel.org\"\n    #define PACKAGE_URL \"\"\n    /* end confdefs.h.  */\n    int\n    main (void)\n    {\n      ;\n      return 0;\n    }\n\nwith the simplest command `gcc conftest.c`, but it's failing. Perhaps\ntry compiling that program manually in your `/home/haomi/git'\ndirectory and see what the result is (also check $?).\n"}]}