Opened 13 years ago
Last modified 12 years ago
#33804 closed defect
lensfun fails to compile with clang — at Version 1
Reported by: | thesaxophonist@… | Owned by: | julians37@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.4 |
Keywords: | Cc: | ||
Port: | lensfun |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
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 (1)
comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to julians37@… |
Port: | lensfun added |
Note: See
TracTickets for help on using
tickets.
Remember to use WikiFormatting, please, and to fill in the Port field.