Hello, i'm using Ubuntu 14.10 trying to compile folly but i got this message error when i call make:
In file included from Bits.cpp:19:0:
./../folly/CpuId.h: In function 'int (* {anonymous}::folly_popcount_ifunc())(unsigned int)':
./../folly/CpuId.h:49:62: error: PIC register clobbered by 'ebx' in 'asm'
__asm__("cpuid" : "=a"(n) : "a"(0) : "ebx", "edx", "ecx");
^
./../folly/CpuId.h:51:65: error: PIC register clobbered by 'ebx' in 'asm'
__asm__("cpuid" : "=c"(f1c_), "=d"(f1d_) : "a"(1) : "ebx");
^
./../folly/CpuId.h: In function 'int (* {anonymous}::folly_popcountll_ifunc())(long long unsigned int)':
./../folly/CpuId.h:49:62: error: PIC register clobbered by 'ebx' in 'asm'
__asm__("cpuid" : "=a"(n) : "a"(0) : "ebx", "edx", "ecx");
^
./../folly/CpuId.h:51:65: error: PIC register clobbered by 'ebx' in 'asm'
__asm__("cpuid" : "=c"(f1c_), "=d"(f1d_) : "a"(1) : "ebx")
I'm using gcc version 4.9 for compilation, followed the steps described on the README file.