WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 195938
199515
[GTK][WPE] Fix building on Linux with Clang/libc++
https://bugs.webkit.org/show_bug.cgi?id=199515
Summary
[GTK][WPE] Fix building on Linux with Clang/libc++
Adrian Perez
Reported
2019-07-05 06:31:25 PDT
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Adrian Perez
Comment 1
2019-07-05 06:34:13 PDT
This applied only to the stable webkit-2.24 branch, “trunk” builds just fine.
Adrian Perez
Comment 2
2019-07-05 06:36:07 PDT
(In reply to Adrian Perez from
comment #1
)
> This applied only to the stable webkit-2.24 branch, “trunk” > builds just fine.
Fixed in
r244422
*** This bug has been marked as a duplicate of
bug 195938
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug