[MacPorts] #33804: lensfun fails to compile with clang
MacPorts
noreply at macports.org
Wed Mar 28 13:35:20 PDT 2012
#33804: lensfun fails to compile with clang
--------------------------------------+-------------------------------------
Reporter: thesaxophonist@… | Owner: julians37@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.4
Keywords: | Port: lensfun
--------------------------------------+-------------------------------------
Changes (by ryandesign@…):
* owner: macports-tickets@… => julians37@…
* port: => lensfun
Old 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
New 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
}}}
--
Comment:
Remember to use WikiFormatting, please, and to fill in the Port field.
--
Ticket URL: <https://trac.macports.org/ticket/33804#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list