Build error in Android/x86

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm trying to build FIO with an Android/x86 cross compiler:

 make CROSS_COMPILE=~/dev/android-toolchains-r8c/x86-4.6/bin/i686-linux-android-

but get the following error:

  arch/arch-x86-common.h:9:2: error: inconsistent operand constraints in an 'asm'

which is complaining about this function:

  static inline void do_cpuid(unsigned int *eax, unsigned int *ebx,
                  unsigned int *ecx, unsigned int *edx)
  {
      asm volatile("cpuid"
          : "=a" (*eax), "=b" (*ebx), "=c" (*ecx), "=d" (*edx)
          : "0" (*eax), "2" (*ecx)
          : "memory");
  }

Unfortunately I don't do x86 ASM. I'm wondering if this is a genuine error, or if something has broken in the cross compile.



Cheers,
    -- Aaron

--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux