-
Notifications
You must be signed in to change notification settings - Fork 2.4k
LLVM 3.9.0 fails with "error: ‘bind’ is not a member of ‘std’" #5954
Copy link
Copy link
Closed
Labels
Description
$ spack install -j8 --restage -v [email protected]
...
cc1plus: warning: unrecognized command line option ‘-Wno-vla-extension’
cc1plus: warning: unrecognized command line option ‘-Wno-deprecated-register’
In file included from /home/certik/repos/spack/var/spack/stage/llvm-3.9.0-4fz5z3c5ou25wt4bp3agk4vydjybim2n/llvm-3.9.0.src/tools/lldb/source/Utility/TaskPool.cpp:10:0:
/home/certik/repos/spack/var/spack/stage/llvm-3.9.0-4fz5z3c5ou25wt4bp3agk4vydjybim2n/llvm-3.9.0.src/tools/lldb/include/lldb/Utility/TaskPool.h: In static member function ‘static std::future<typename std::result_of<_Functor(_ArgTypes ...)>::type> TaskPool::AddTask(F&&, Args&& ...)’:
/home/certik/repos/spack/var/spack/stage/llvm-3.9.0-4fz5z3c5ou25wt4bp3agk4vydjybim2n/llvm-3.9.0.src/tools/lldb/include/lldb/Utility/TaskPool.h:110:14: error: ‘bind’ is not a member of ‘std’
std::bind(std::forward<F>(f), std::forward<Args>(args)...));
^~~~
/home/certik/repos/spack/var/spack/stage/llvm-3.9.0-4fz5z3c5ou25wt4bp3agk4vydjybim2n/llvm-3.9.0.src/tools/lldb/include/lldb/Utility/TaskPool.h:110:14: note: suggested alternative: ‘end’
std::bind(std::forward<F>(f), std::forward<Args>(args)...));
^~~~
end
Here is the spec:
$ spack spec [email protected]
Input spec
--------------------------------
[email protected]
Normalized
--------------------------------
[email protected]
^[email protected]:
^py-lit
^py-setuptools
^[email protected]:2.8
^bzip2
^ncurses
^pkg-config
^openssl
^zlib
^readline
^sqlite
Concretized
--------------------------------
[email protected]%[email protected]+all_targets build_type=Release +clang+compiler-rt+gold+internal_unwind+libcxx~link_dylib+lldb+polly~shared_libs arch=linux-ubuntu16.04-x86_64
^[email protected]%[email protected]+gold~libiberty patches=0a0ca84889b6727dc0cc88650f55fd79452dddba762674a83a153374792fdaac ~plugins arch=linux-ubuntu16.04-x86_64
^[email protected]%[email protected] patches=b72914fe38e54a6fc25f29019e0a0786705c4f61ce20d414cc2010c8d62448c7 arch=linux-ubuntu16.04-x86_64
^[email protected]%[email protected] patches=3877ab548f88597ab2327a2230ee048d2d07ace1062efe81fc92e91b7f39cd00 +sigsegv arch=linux-ubuntu16.04-x86_64
^[email protected]%[email protected] arch=linux-ubuntu16.04-x86_64
^[email protected]%[email protected]+lex arch=linux-ubuntu16.04-x86_64
^[email protected]%[email protected]+bzip2+curses+git~libunistring+libxml2 patches=9acdb4e73f67c241b5ef32505c9ddf7cf6884ca8ea661692f21dca28483b04b8 +tar+xz arch=linux-ubuntu16.04-x86_64
^[email protected]%[email protected]+shared arch=linux-ubuntu16.04-x86_64
^[email protected]%[email protected]~python arch=linux-ubuntu16.04-x86_64
^[email protected]%[email protected]+internal_glib arch=linux-ubuntu16.04-x86_64
^[email protected]%[email protected] arch=linux-ubuntu16.04-x86_64
^[email protected]%[email protected]+optimize+pic+shared arch=linux-ubuntu16.04-x86_64
^[email protected]%[email protected] patches=4110a40613b800da2b2888c352b64c75a82809d48341061e4de5861e8b28423f,f84b2708a42777aadcc7f502a261afe10ca5646a51c1ef8b5e60d2070d926b57 ~symlinks arch=linux-ubuntu16.04-x86_64
^[email protected]%[email protected] patches=08921fcbd732050c74ddf1de7d8ad95ffdbc09f8b4342456fa2f6a0dd02a957c,5c314db58d005043bf407abaf25eb9823b9032a22fd12a0b142d4bf548130fa4,d428578be7fb99b831eb61e53b8d88a859afe08b479a21238180899707d79ce4,e34d2470461037933737c0a60fbcc5d5ea905fefb6b414b4a2e88a440fcae23a arch=linux-ubuntu16.04-x86_64
^[email protected]%[email protected] arch=linux-ubuntu16.04-x86_64
^[email protected]%[email protected]~doc+ncurses+openssl+ownlibs~qt arch=linux-ubuntu16.04-x86_64
^[email protected]%[email protected] arch=linux-ubuntu16.04-x86_64
^[email protected]%[email protected] arch=linux-ubuntu16.04-x86_64
^[email protected]%[email protected] arch=linux-ubuntu16.04-x86_64
^[email protected]%[email protected] arch=linux-ubuntu16.04-x86_64
^[email protected]%[email protected] arch=linux-ubuntu16.04-x86_64
^[email protected]%[email protected] patches=123082ab3483ded78e86d7c809e98a804b3465b4683c96bd79a2fd799f572244 +pic+shared~tk~ucs4 arch=linux-ubuntu16.04-x86_64
^[email protected]%[email protected] arch=linux-ubuntu16.04-x86_64
^[email protected]%[email protected] arch=linux-ubuntu16.04-x86_64
^[email protected]%[email protected] arch=linux-ubuntu16.04-x86_64
^[email protected]%[email protected] arch=linux-ubuntu16.04-x86_64
^[email protected]%[email protected] arch=linux-ubuntu16.04-x86_64
^[email protected]%[email protected] arch=linux-ubuntu16.04-x86_64
^[email protected]%[email protected]~jit+utf arch=linux-ubuntu16.04-x86_64
Reactions are currently unavailable