trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From supraja sridhar <suprajasridha...@gmail.com>
Subject Re: Building ATS 8.0.5 with clang-5.0 - compilation error
Date Thu, 19 Dec 2019 06:48:15 GMT
How can I check that?

Not sure if this helps -

Build environment:
  AKAMAKE_HASH = d41d8cd98f00b204e9800998ecf8427e
  BASEOS = linux
  CC = clang
  CXX = clang++
  CXXSTD = default
  FILE_OFFSET_BITS = 32
  GLOBAL_PIC = pic
  OS = alsi9
  TARGET_ARCH = x86_64
  TARGET_CPU = classic

Compiler versions:
  CC: clang version 5.0.2-svn328729-1~exp1~20180509124008.99
(branches/release_50) /usr/bin/clang
  CXX: clang version 5.0.2-svn328729-1~exp1~20180509124008.99
(branches/release_50) /usr/bin/clang++

Global compiler flags:
  CFLAGS:     -m64 -march=opteron -mno-3dnow -fpic -ggdb -O2 -Wall
  CXXFLAGS:   -m64 -march=opteron -mno-3dnow -fpic -ggdb -O2

-Supraja

On Thu, Dec 19, 2019 at 10:14 AM Leif Hedstrom <zwoop@apache.org> wrote:

> Are you using the right STL, from LLVM, that had full C++17 support?
>
> — Leif
>
> On Dec 18, 2019, at 21:40, supraja sridhar <suprajasridhar95@gmail.com>
> wrote:
>
> 
> Hello,
>
> When building ATS 8.0.5 with clang-5.0 I get the following error -
>
>>  12 make[3]: Entering directory
>> '/home/P4CLIENTS/centaur/centaur/centaur.build/src/tscpp/util'
>>   11   CXX      TextView.lo
>>   10 In file included from TextView.cc:26:
>>    9 ../../../include/tscpp/util/TextView.h:37:10: fatal error:
>> 'string_view' file not found
>>    8 #include <string_view>
>>    7          ^~~~~~~~~~~~~
>>    6 1 error generated.
>>    5 Makefile:917: recipe for target 'TextView.lo' failed
>>    4 make[3]: *** [TextView.lo] Error 1
>>
>
> Can you please help out?
>
>
> Thanks
> Supraja
>
>

-- 
Regards,
S.SUPRAJA
MIT

Mime
View raw message