Opened 9 years ago
Closed 9 years ago
#48716 closed defect (worksforme)
clang-3.5 @3.5.2_6: eprintf/libcompiler_rt.a: No such file or directory
Reported by: | da.hoffman.pb@… | Owned by: | jeremyhu (Jeremy Huddleston Sequoia) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | Cc: | ||
Port: | clang-3.5 |
Description
I have been unable to build clang-3.5 on MAC OS 10.8.5. I have attempted to build the default variant (+analyzer +arm_runtime), a variant without the arm_runtime, and a variant without the analyzer and arm_runtime. I have attempted to install a binary port, but none seem to exist. I have found no useful advice in the MacPorts tickets unearthed by google, except "clean and recompile", which I have done repeatedly, with no effect. Clang-3.5 appears to be completely dead as far as Mac OS 10.8.5 is concerned.
Attachments (1)
Change History (5)
comment:1 follow-ups: 2 3 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to jeremyhu@… |
---|---|
Port: | clang-3.5 added |
Summary: | clang-3.5 fails to build on Mac OS 10.8.5 (Mountain Lion) → clang-3.5 @3.5.2_6: eprintf/libcompiler_rt.a: No such file or directory |
Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | main.log.bz2 added |
---|
compressed version of da.hoffman.pb's log
comment:2 Changed 9 years ago by da.hoffman.pb@…
Replying to ryandesign@…:
What version of Xcode and clang do you have? If it's not the latest one for Mountain Lion (Xcode 5.1.1 / clang-503.0.40), maybe upgrading Xcode and the Xcode command line tools would help.
I also note you are building with 24 make jobs, and that the error message is about a missing file. You could try disabling parallel building, which will take longer but if it succeeds that will let us know it is a parallel build problem:
sudo port clean clang-3.5 sudo port install clang-3.5 build.jobs=1
Thanks for your suggestions. I will give them a try. I have updated Xcode to 5.1.1 and installed the command line tools. I will then clean and rebuild. If that fails, I will clean and rebuild with parallel make disabled. I will let you know the results.
comment:3 Changed 9 years ago by da.hoffman.pb@…
Upgrading to Xcode 5.1.1 fixed the problem. Clang-3.5 compiled successfully on my system. Thank you for your help!
comment:4 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
What version of Xcode and clang do you have? If it's not the latest one for Mountain Lion (Xcode 5.1.1 / clang-503.0.40), maybe upgrading Xcode and the Xcode command line tools would help.
I also note you are building with 24 make jobs, and that the error message is about a missing file. You could try disabling parallel building, which will take longer but if it succeeds that will let us know it is a parallel build problem: