Open MPI logo

Hardware Locality Users' Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: Re: [hwloc-users] build issue with CFLAGS='-mcmodel=medium'
From: Brice Goglin (Brice.Goglin_at_[hidden])
Date: 2012-01-31 04:25:14


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

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 :)
Brice