Opened 6 years ago

Closed 2 years ago

#58109 closed defect (fixed)

MPlayer: error: invalid output constraint '=o' in asm

Reported by: Dudemac Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: snowleopard Cc: jeremyhu (Jeremy Huddleston Sequoia)
Port: MPlayer

Description

I was not able to built smtube in a straightforward manner. It appears that the compiler picked on 10.6 (clang from Apple) does not want to build MPlayer. Eventually with help from Macports users I found a work-around in specifying Macports clang5 to build Mplayer. With Mplayer built and some other issues fixed smtube finally buit and runs.

So it appears that Macports picks the wrong compiler.

Uli

Attachments (1)

mplayer.log.zip (24.5 KB) - added by Dudemac 6 years ago.
logfile trying to build mplayer

Download all attachments as: .zip

Change History (7)

Changed 6 years ago by Dudemac

Attachment: mplayer.log.zip added

logfile trying to build mplayer

comment:1 Changed 6 years ago by kencu (Ken)

please post the output of

port info mplayer

thx

Last edited 6 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:2 Changed 6 years ago by jmroot (Joshua Root)

Cc: jeremyhu added
Port: MPlayer added; smtube and mplayer removed

From the log, system info:

:debug:sysinfo Mac OS X 10.6 (darwin/10.8.0) arch i386
:debug:sysinfo MacPorts 2.5.4
:debug:sysinfo Xcode 3.2
:debug:sysinfo SDK 10.6

Error:

:info:build libmpcodecs/vf_fspp.c:1598:48: error: invalid output constraint '=o' in asm
:info:build         : "+S"(data), "+D"(output), "+c"(cnt), "=o"(temps)
:info:build                                                ^

Probably worth updating to Xcode 3.2.6 even though clang should be blacklisted anyway. Ken's trying to determine if you have the current version of the MPlayer portfile; please make sure by selfupdating.

comment:3 Changed 6 years ago by kencu (Ken)

I tried nine ways from Sunday to reproduce this, and I can't.

comment:4 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: smtube/mplayer does not build on OS X 10.6.8MPlayer: error: invalid output constraint '=o' in asm

comment:5 Changed 6 years ago by kencu (Ken)

see also 58006 and 42743

Note: See TracTickets for help on using tickets.