I realise I did not mention the flags I used when configuring hwloc. I am
using
-g -h gnu -O3
which explicitly asks to recognise GNU extensions. (I need to use -h gnu to
compile certain other code.) This would explain why __GNUC__ is defined...
Apologies for omitting this earlier.
-erik
On
Does Cray fix such bugs quickly usually? If so, no need to change hwloc. If
not, I'll need somebody to test the change on other cray platforms and compiler
versions.
Brice
Jeff Hammond a écrit :
>This is a bug in the Cray compiler. They cannot and should not set
>the
Brice
This worked earlier. Maybe "earlier" was version 1.5 of hwloc.
I agree with your statements regarding __GNUC__. Instead of testing for
_CRAYC, one could introduce an autoconf check whether __builtin_ffsl works
correctly.
-erik
On Thu, Jan 17, 2013 at 1:22 PM, Brice Goglin
Did this work in the past? I don't think we changed this code recently.
Can you run "make check" to make sure this change doesn't break anything?
Thanks
Brice
Le 17/01/2013 19:19, Erik Schnetter a écrit :
> hwloc-1.6.1rc2 fails to build with the Cray compiler
>
> Cray C : Version 8.1.2 Thu Jan