Boost logo

Boost-Build :

Subject: Re: [Boost-build] [EXTERNAL] Using boost with cray c++
From: avib369 . (avibahra_at_[hidden])
Date: 2013-07-15 12:22:17


Noel >> We use Boost with Cray, do you have a specific question or issue?

 I am using the latest module 8.2. Boost itself compile ok.
However my application, which pulls in some of the boost
asio headers does not compile.

get the following errors/warnings:

CC-1121 crayc++: ERROR File =
/home/users/p01869/boost_1_53_0/boost/asio/detail/gcc_x86_fenced_block.hpp,
Line = 58
  The asm constraint letter 'r' is unknown.

          "=r"(r), "=m"(m) :
          ^

CC-1359 crayc++: WARNING File =
/home/users/p01869/boost_1_53_0/boost/asio/detail/gcc_x86_fenced_block.hpp,
Line = 56
  The "asm" construct is ignored.

      __asm__ __volatile__ (

This seemed strange, because I am using cray C++ but the files refers to gcc
however on closer inspection its uses

#if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))

So I assume its because 'defined(__x86_64__)' is valid.

Any way I have no clue, how to fix it, and may have to resort to intel/gnu
compilers ?

Best regards
Avi



Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk