Re: [Boost-users] Building boost 1_70_0 with PGI 18.5 on CentOS 7

From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2019-05-15 23:54:30


AMDG

On 5/15/19 5:43 PM, Gavin Lambert via Boost-users wrote:
> On 16/05/2019 09:39, Christopher Harrop wrote:
>> <snip>
>> Performing configuration checks
>>
>>      - default address-model    : none
>>      - default architecture     : none
>
> It looks like the build didn't properly detect your address model and
> architecture.
>

This is a side-effect of the bad toolset property.

> You can try either passing these on the b2 install command line (eg.
> address-model=32) or editing project-config.jam to insert or update them.
>
>> error: No best alternative for libs/context/build/asm_sources
>>      next alternative: required properties: <abi>aapcs
>> <address-model>32 <architecture>arm <binary-format>elf
>> <threading>multi <toolset>clang
>>          not matched
>
> If you provide values for those properties then this should go away, but
> if you're still having trouble and you don't need any of Boost.Context
> or Boost.Coroutine (and possibly also not Boost.Asio) then you can try
> building using --without-context to disable this library.
>
>> gcc.compile.c++
>> bin.v2/libs/regex/build/gcc/debug/threading-multi/visibility-hidden/posix_api.o
>>
>> /bin/sh: line 1: -fvisibility-inlines-hidden: command not found
>
> This one seems a bit weird.  I'm not familiar with the PGI compiler;
> does it just use gcc under the hood?  If not, this seems suspicious.
>

It's wrong. Even when a Boost.Build toolset
inherits from another toolset, it still gets
its own name.

In Christ,
Steven Watanabe


This archive was generated by hypermail 2.1.7 : 2019-06-06 04:10:02 UTC