[MacPorts] #42743: build error "invalid output constraint '=o'" for mplayer-devel with clang
MacPorts
noreply at macports.org
Thu Mar 6 14:01:23 PST 2014
#42743: build error "invalid output constraint '=o'" for mplayer-devel with clang
----------------------------+--------------------
Reporter: astrofitz@… | Owner: acho@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Resolution: | Keywords:
Port: mplayer-devel |
----------------------------+--------------------
Changes (by macsforever2000@…):
* owner: macports-tickets@… => acho@…
* cc: jeremyhu@… (added)
Old description:
> Hello all,
>
> I am having a build error for mplayer-devel versions 36449_4 (and _3) on
> OSX 10.6.8 using clang. Version 36449_2 builds OK.
>
> The error in the build log is appended below.
>
> Mike
>
> :info:build In file included from libmpdemux/demux_lavf.c:32:
> :info:build ./stream/stream.h:281:50: note: passing argument to parameter
> 'mem'
> here
> :info:build static inline int stream_read(stream_t *s, char *mem, int
> total)
> :info:build ^
> :info:build libmpcodecs/vf_fspp.c:1599:48: error: invalid output
> constraint '=o'
> in asm
> :info:build : "+S"(data), "+D"(output), "+c"(cnt), "=o"(temps)
> :info:build ^
> :info:build libmpcodecs/vf_fspp.c:1868:57: error: invalid output
> constraint '=o' in asm
> :info:build : "+S"(workspace), "+D"(output_adr), "+c"(cnt),
> "=o"(temps)
> :info:build ^
> :info:build libmpcodecs/vf_fspp.c:2113:48: error: invalid output
> constraint '=o' in asm
> :info:build : "+S"(pixels), "+D"(data), "+c"(cnt), "=o"(temps)
New description:
Hello all,
I am having a build error for mplayer-devel versions 36449_4 (and _3) on
OSX 10.6.8 using clang. Version 36449_2 builds OK.
The error in the build log is appended below.
Mike
{{{
:info:build In file included from libmpdemux/demux_lavf.c:32:
:info:build ./stream/stream.h:281:50: note: passing argument to parameter
'mem'
here
:info:build static inline int stream_read(stream_t *s, char *mem, int
total)
:info:build ^
:info:build libmpcodecs/vf_fspp.c:1599:48: error: invalid output
constraint '=o'
in asm
:info:build : "+S"(data), "+D"(output), "+c"(cnt), "=o"(temps)
:info:build ^
:info:build libmpcodecs/vf_fspp.c:1868:57: error: invalid output
constraint '=o' in asm
:info:build : "+S"(workspace), "+D"(output_adr), "+c"(cnt),
"=o"(temps)
:info:build ^
:info:build libmpcodecs/vf_fspp.c:2113:48: error: invalid output
constraint '=o' in asm
:info:build : "+S"(pixels), "+D"(data), "+c"(cnt), "=o"(temps)
}}}
--
Comment:
In the future, please use WikiFormatting and Cc the port maintainers
({{{port info --maintainers mplayer-devel}}}).
--
Ticket URL: <https://trac.macports.org/ticket/42743#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list