miliuco Posted September 29, 2021 Share Posted September 29, 2021 (edited) Good night. Since a few builds ago (last tried is 75b6618) compiling OpenCore in Monterey (build_oc.tool) fails with multiple warnings: "clang: error: linker command failed with exit code 1". I think the system is the same as in others succeeded builds apart from successive Monterey beta (8 now). I don't know how to resolve this error. Thanks. EDIT: reinstalling Command Line Tools doesn't solve the problem. EDIT: solved in 0.7.5 builds, current build is 3eddcb1. Edited October 21, 2021 by miliuco Link to comment https://www.insanelymac.com/forum/topic/349100-solved-building-opencore-clang-error-linker-command-failed-with-exit-code-1/ Share on other sites More sharing options...
miliuco Posted September 29, 2021 Author Share Posted September 29, 2021 2 minutes ago, eSaF said: Bro - If like me you like to be on the cutting edge of installing nightly builds of OC, instead of building your self you can get the most latest from here - https://dortania.github.io/builds/?product=OpenCorePkg&viewall=true - although I do like to build them myself at times so I do understand your desire to do so. Yes, I usually get release builds also but, as you say, from time to time I feel curiosity and like to compile by myself. And I'm surprised when today I can't compile it although a few weeks ago it was succeeded. Link to comment https://www.insanelymac.com/forum/topic/349100-solved-building-opencore-clang-error-linker-command-failed-with-exit-code-1/#findComment-2767952 Share on other sites More sharing options...
MaLd0n Posted September 30, 2021 Share Posted September 30, 2021 why u need it? just use Actions / Artifacts. Login and done. https://github.com/acidanthera/OpenCorePkg/actions https://github.com/acidanthera/OpenCorePkg/actions/runs/1288461407 1 Link to comment https://www.insanelymac.com/forum/topic/349100-solved-building-opencore-clang-error-linker-command-failed-with-exit-code-1/#findComment-2767955 Share on other sites More sharing options...
miliuco Posted September 30, 2021 Author Share Posted September 30, 2021 Note: in Big Sur 11.6 I can compile it with build_oc-tool without errors. It's only in Monterey where it fails. Link to comment https://www.insanelymac.com/forum/topic/349100-solved-building-opencore-clang-error-linker-command-failed-with-exit-code-1/#findComment-2768016 Share on other sites More sharing options...
Anto65 Posted September 30, 2021 Share Posted September 30, 2021 Yesterday out of curiosity I tried on Mrey to compile 2 times and in both cases he created the build without errors 🙂 1 Link to comment https://www.insanelymac.com/forum/topic/349100-solved-building-opencore-clang-error-linker-command-failed-with-exit-code-1/#findComment-2768018 Share on other sites More sharing options...
miliuco Posted September 30, 2021 Author Share Posted September 30, 2021 Just now, antuneddu said: Yesterday out of curiosity I tried on Mrey to compile 2 times and in both cases he created the build without errors 🙂 Thanks. I see then it is not a Monterey issue. Link to comment https://www.insanelymac.com/forum/topic/349100-solved-building-opencore-clang-error-linker-command-failed-with-exit-code-1/#findComment-2768019 Share on other sites More sharing options...
Recommended Posts