[MacPorts] #21011: gimp2 opcode errors on OS X 10.6

MacPorts noreply at macports.org
Tue Sep 1 19:49:52 PDT 2009


#21011: gimp2 opcode errors on OS X 10.6
-------------------------------+--------------------------------------------
 Reporter:  hsivank@…          |       Owner:  macports-tickets@…                   
     Type:  defect             |      Status:  new                                  
 Priority:  Normal             |   Milestone:                                       
Component:  ports              |     Version:  1.8.0                                
 Keywords:                     |        Port:  gimp2                                
-------------------------------+--------------------------------------------

Comment(by hsivank@…):

 This is the faulty section (gimpcpuaccel.c)

 {{{
 #if !defined(ARCH_X86_64) && (defined(PIC) || defined(__PIC__))
 #define cpuid(op,eax,ebx,ecx,edx)  \
   __asm__ ("movl %%ebx, %%esi\n\t" \
            "cpuid\n\t"             \
            "xchgl %%ebx,%%esi"     \
            : "=a" (eax),           \
              "=S" (ebx),           \
              "=c" (ecx),           \
              "=d" (edx)            \
            : "0" (op))
 #else
 #define cpuid(op,eax,ebx,ecx,edx)  \
   __asm__ ("cpuid"                 \
            : "=a" (eax),           \
              "=b" (ebx),           \
              "=c" (ecx),           \
              "=d" (edx)            \
            : "0" (op))
 #endif
 }}}


 It seems there is a detection platform issue ...

 Attached a diff to solve the problem

-- 
Ticket URL: <http://trac.macports.org/ticket/21011#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list