#21331 closed defect (fixed)
x264: gcc-4.2: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | dbevans (David B. Evans) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.0 |
Keywords: | snow-leopard | Cc: | |
Port: | x264 |
Description
On Mac OS X 10.6 trying to install x264 @20090810_2 I see:
gcc-4.2: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags
I am building x264 universal for x86_64/i386. x264 @20090810_1 installed in this way with no problems.
Attachments (2)
Change History (6)
Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
comment:1 Changed 15 years ago by dbevans (David B. Evans)
Status: | new → assigned |
---|
Changed 15 years ago by dbevans (David B. Evans)
Attachment: | patch-x264-sl-universal.diff added |
---|
Proposed patch for Portfile
comment:2 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Thanks, universal now builds.
Maybe there's a way to use the muniversal portgroup that you're already using to enable asm only for x86_64?
comment:3 follow-up: 4 Changed 15 years ago by dbevans (David B. Evans)
Keywords: | snow-leopard added |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
OK, patch committed in r57653. Thanks for the suggestion, will look into it.
comment:4 Changed 15 years ago by bgrupe27
Note: See
TracTickets for help on using
tickets.
Attached is a patch that may help at the expense of no asm optimizations when building +universal.
The problem is that asm optimizations build OK for x86_i386 but not for i386 when using gcc-4.2. Although it is reported that i386 should work if gcc-4.0 is used on snow leopard.
Let me know if this allows you to build and any further suggestions on how to deal with this situation in a universal setting.