Ticket #33804 (closed defect: fixed)
lensfun fails to compile with clang
| Reported by: | thesaxophonist@… | Owned by: | julians37@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.0.4 |
| Keywords: | Cc: | ||
| Port: | lensfun |
Description (last modified by ryandesign@…) (diff)
lensfun fails to compile with clang due to some assembly code in cpuid.cpp:
... :info:build clang: warning: argument unused during compilation: '-s' :info:build libs/lensfun/cpuid.cpp:65:13: error: cannot compile this __asm__ yet :info:build cpuid (0x00000000); :info:build ^~~~~~~~~~~~~~~~~~ :info:build libs/lensfun/cpuid.cpp:28:5: note: instantiated from: :info:build asm ( \ :info:build ^~~~~~~ ...
Workaround:
sudo port clean lensfun sudo port install lensfun configure.compiler=llvm-gcc-4.2
Change History
comment:1 Changed 14 months ago by ryandesign@…
- Owner changed from macports-tickets@… to julians37@…
- Description modified (diff)
- Port set to lensfun
comment:3 Changed 14 months ago by thesaxophonist@…
Sorry about the formatting, didn't realize. I'm running 10.7.3 and Xcode 4.3.2.
Note: See
TracTickets for help on using
tickets.


Remember to use WikiFormatting, please, and to fill in the Port field.