difficulties with MythTV on a MacMini1.1

Ryan Schmidt ryandesign at macports.org
Mon Nov 5 06:43:05 PST 2012


On Nov 5, 2012, at 07:26, Craig Treleaven wrote:

> At 8:10 AM -0600 11/5/12, Ryan Schmidt wrote:
>> 
>> It looks like this assembly-language code is not compatible with the processor in your Mac mini. Specifically it looks like the code is trying to use more processor registers than your processor has available. That's according to this page I found with a quick search:
>> 
>> http://stackoverflow.com/questions/8275859/error-cant-find-a-register-in-class-general-regs-while-reloading-asm
>> 
>> Only the first series of Intel Macs used the 32-bit Core processor; all the others use 64-bit processors, and 64-bit Intel processors have a lot more registers.
>> 
>> You should report this problem to the developers of mythtv so they can fix it.
>> 
>> A solution might be to tell mythtv to not use assembly code. I'm not sure what configure arguments might need to be added to do that.
> 
> Thanks for digging that up, Ryan.  I know there is a configure flag to not use Yasm--but I think these are in-line assembler commands. I'll have to check if/how to disable.
> 
> In case I need to, how does one check the specific processor model in the portfile?  Could you point me to some sample code?

Since the mythtv ports don't have universal variants, you can just check if configure.build_arch is= "i386" and disable asm in that case.

if {${configure.build_arch} == "i386"} {
    configure.args-append ........
}



More information about the macports-dev mailing list