Jump to content

{SOLVED} Building OpenCore clang: error: linker command failed with exit code 1


miliuco
 Share

7 posts in this topic

Recommended Posts

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 by miliuco
Link to comment
Share on other sites

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
Share on other sites

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
Share on other sites

  • miliuco changed the title to {SOLVED} Building OpenCore clang: error: linker command failed with exit code 1
 Share

×
×
  • Create New...