Opened 13 years ago
Closed 5 years ago
#33156 closed defect (fixed)
x264 @20111023 +universal Build failure - MMX error on i386
Reported by: | abarnert@… | Owned by: | dbevans (David B. Evans) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | Cc: | ||
Port: | x264 |
Description
On Lion 10.7.2 with Xcode 4.2, "port upgrade x264 +universal" failed. I tried uninstall and clean reinstall, and got the same error.
Apparently configure ends up with a set of arguments for the i386 build that has MMX disabled, but mmintrin.h included. See the attached log.
I wasn't sure what made it decide to use mmintrin.h, but it was easy to check that adding -mmmx made it build. So, after that test, I edited the portfile to add "configure.cflags-append -mmmx" and did a clean port install. The resulting binary seems to work in both architectures. It might be slower in 32-bit than it would be (since it's presumably using MMX instead of SSE2 somewhere or other, or there wouldn't have been a build failure in the first place, right?). That doesn't bother me too much, but you probably want a more general/better solution.
Attachments (1)
Change History (4)
Changed 13 years ago by abarnert@…
Attachment: | x264-1.log added |
---|
comment:1 Changed 13 years ago by mf2k (Frank Schima)
Owner: | changed from macports-tickets@… to devans@… |
---|
comment:2 Changed 6 years ago by jmroot (Joshua Root)
comment:3 Changed 5 years ago by kencu (Ken)
Resolution: | → fixed |
---|---|
Status: | new → closed |
years of updates since this ticket. appears fixed. please reopen with new information if otherwise.
The current version (20171225) seems to have built on i386. Is this issue resolved for you?