[MacPorts] #33804: lensfun fails to compile with clang

MacPorts noreply at macports.org
Wed Mar 28 12:31:08 PDT 2012


#33804: lensfun fails to compile with clang
--------------------------------------+-------------------------------------
 Reporter:  thesaxophonist@…          |       Owner:  macports-tickets@…                   
     Type:  defect                    |      Status:  new                                  
 Priority:  Normal                    |   Milestone:                                       
Component:  ports                     |     Version:  2.0.4                                
 Keywords:                            |        Port:                                       
--------------------------------------+-------------------------------------
 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

-- 
Ticket URL: <https://trac.macports.org/ticket/33804>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list