Re: Make FIO for Android

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

 



On Fri, Apr 12 2013, Aaron Carroll wrote:
> tuff
> > should be basic enough that it isn't a lot of trouble to carry it. At
> > least when we figure out why the Android NDK doesn't like the current
> > restraints :-)
> 
> Digging around the GCC headers seems to have helped.  If you change
> the constraint on ebx to:
>         : "=a" (*eax), "=r" (*ebx), "=c" (*ecx), "=d" (*edx)
> then it builds.

But it doesn't work, we lose the output :-)

> The relevant comment from cpuid.h:
>   /* %ebx may be the PIC register.  */
> which is ifdef'd on __PIC__
> 
> Dunno what that means, but it builds with that, plus a very small
> Android-specific fix.  Both in attached patch.

Patch is garbled?

-- 
Jens Axboe

--
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