Le 30/01/2012 19:00, Samuel Thibault a écrit :
> Devendar Bureddy, le Mon 30 Jan 2012 18:59:11 +0100, a écrit :
>> /home/bureddy/hwloc-1.4/include/private/cpuid.h: In function 'hwloc_cpuid':
>> /home/bureddy/hwloc-1.4/include/private/cpuid.h:54: error: can't find
>> a register in class 'BREG' while reloading 'asm'
> Could you check in the config.log that the test for buildability of
> cpuid.h includes your -mcmodel option and (would be surprising) doesn't
The build failure goes away when I remove -fPIC from my command line.
Obviously this option is not passed to configure, so it doesn't fail there.
Building the static lib only seems to work as well.
./configure CFLAGS=-mcmodel=medium --enable-static --disable-shared
No idea what to do now :)