[Webkit-unassigned] [Bug 199515] New: Fix building on Linux with Clang/libc++

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 5 06:31:25 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=199515

            Bug ID: 199515
           Summary: Fix building on Linux with Clang/libc++
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: bmalloc
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: aperez at igalia.com
                CC: ggaren at apple.com

Configuring with:

  CC=clang CXX=clang++ CXXFLAGS='-stdlib=libc++' LDFLAGS='-stdlib=libc++ -fuse-ld=lld' \
  cmake -GNinja -DPORT=GTK <…>

results in the following build error:

  Source/bmalloc/bmalloc/AvailableMemory.cpp:120:31: error: implicit instantiation of undefined template 'std::__1::array<char, 256>'
          std::array<char, 256> statmBuffer;
                                ^
  /usr/bin/../include/c++/v1/__tuple:223:64: note: template is declared here
  template <class _Tp, size_t _Size> struct _LIBCPP_TEMPLATE_VIS array;
                                                                 ^
  Source/bmalloc/bmalloc/AvailableMemory.cpp:125:30: error: implicit instantiation of undefined template 'std::__1::array<char, 32>'
          std::array<char, 32> rssBuffer;                                                                                                                                   
                             ^
  /usr/bin/../include/c++/v1/__tuple:223:64: note: template is declared here
  template <class _Tp, size_t _Size> struct _LIBCPP_TEMPLATE_VIS array;
                                                                 ^
  2 errors generated.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190705/7cd8aaf7/attachment-0001.html>


More information about the webkit-unassigned mailing list