Opened 12 years ago

Last modified 12 years ago

#33804 closed defect

lensfun fails to compile with clang — at Initial Version

Reported by: thesaxophonist@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc:
Port: lensfun

Description

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 (0)

Note: See TracTickets for help on using tickets.