Bug#820535: llvm-toolchain-3.8: FTBFS on armel
Sebastian Ramacher
sramacher at debian.org
Sat Apr 9 16:10:30 UTC 2016
Source: llvm-toolchain-3.8
Version: 1:3.8-2
Severity: important
llvm-toolchain-3.8 failed to build on armel:
| [ 4%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCWinEH.cpp.o
| cd /«PKGBUILDDIR»/build-llvm/lib/MC && /usr/bin/g++-5 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/«PKGBUILDDIR»/build-llvm/lib/MC -I/«PKGBUILDDIR»/lib/MC -I/«PKGBUILDDIR»/build-llvm/include -I/«PKGBUILDDIR»/include -std=c++0x -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMC.dir/MCWinEH.cpp.o -c /«PKGBUILDDIR»/lib/MC/MCWinEH.cpp
| In file included from /«PKGBUILDDIR»/lib/Support/ThreadPool.cpp:14:0:
| /«PKGBUILDDIR»/include/llvm/Support/ThreadPool.h: In member function 'std::shared_future<void> llvm::ThreadPool::async(Function&&, Args&& ...)':
| /«PKGBUILDDIR»/include/llvm/Support/ThreadPool.h:77:77: error: return type 'class std::shared_future<void>' is incomplete
| inline std::shared_future<VoidTy> async(Function &&F, Args &&... ArgList) {
| ^
| /«PKGBUILDDIR»/include/llvm/Support/ThreadPool.h: In member function 'std::shared_future<void> llvm::ThreadPool::async(Function&&)':
| /«PKGBUILDDIR»/include/llvm/Support/ThreadPool.h:95:57: error: return type 'class std::shared_future<void>' is incomplete
| inline std::shared_future<VoidTy> async(Function &&F) {
| ^
| /«PKGBUILDDIR»/lib/Support/ThreadPool.cpp: In lambda function:
| /«PKGBUILDDIR»/lib/Support/ThreadPool.cpp:34:24: error: aggregate 'llvm::ThreadPool::PackagedTaskTy Task' has incomplete type and cannot be defined
| PackagedTaskTy Task;
| ^
| /«PKGBUILDDIR»/lib/Support/ThreadPool.cpp: In member function 'std::shared_future<void> llvm::ThreadPool::asyncImpl(llvm::ThreadPool::TaskTy)':
| /«PKGBUILDDIR»/lib/Support/ThreadPool.cpp:82:73: error: return type 'class std::shared_future<void>' is incomplete
| std::shared_future<ThreadPool::VoidTy> ThreadPool::asyncImpl(TaskTy Task) {
| ^
| /«PKGBUILDDIR»/lib/Support/ThreadPool.cpp:84:36: error: variable 'llvm::ThreadPool::PackagedTaskTy PackagedTask' has initializer but incomplete type
| PackagedTaskTy PackagedTask(std::move(Task));
| ^
| In file included from /usr/include/c++/5/deque:64:0,
| from /usr/include/c++/5/queue:60,
| from /«PKGBUILDDIR»/include/llvm/Support/ThreadPool.h:40,
| from /«PKGBUILDDIR»/lib/Support/ThreadPool.cpp:14:
| /usr/include/c++/5/bits/stl_deque.h: In instantiation of 'void std::deque<_Tp, _Alloc>::_M_destroy_data(std::deque<_Tp, _Alloc>::iterator, std::deque<_Tp, _Alloc>::iterator, const std::allocator<_CharT>&) [with _Tp = std::packaged_task<void()>; _Alloc = std::allocator<std::packaged_task<void()> >; std::deque<_Tp, _Alloc>::iterator = std::_Deque_iterator<std::packaged_task<void()>, std::packaged_task<void()>&, std::packaged_task<void()>*>]':
| /usr/include/c++/5/bits/stl_deque.h:1039:24: required from 'std::deque<_Tp, _Alloc>::~deque() [with _Tp = std::packaged_task<void()>; _Alloc = std::allocator<std::packaged_task<void()> >]'
| /«PKGBUILDDIR»/lib/Support/ThreadPool.cpp:27:40: required from here
| /usr/include/c++/5/bits/stl_deque.h:2036:2: error: invalid use of incomplete type 'std::deque<std::packaged_task<void()>, std::allocator<std::packaged_task<void()> > >::value_type {aka class std::packaged_task<void()>}'
| if (!__has_trivial_destructor(value_type))
| ^
| In file included from /«PKGBUILDDIR»/include/llvm/Support/ThreadPool.h:30:0,
| from /«PKGBUILDDIR»/lib/Support/ThreadPool.cpp:14:
| /usr/include/c++/5/future:121:11: note: declaration of 'std::deque<std::packaged_task<void()>, std::allocator<std::packaged_task<void()> > >::value_type {aka class std::packaged_task<void()>}'
| class packaged_task;
| ^
| In file included from /usr/include/c++/5/deque:64:0,
| from /usr/include/c++/5/queue:60,
| from /«PKGBUILDDIR»/include/llvm/Support/ThreadPool.h:40,
| from /«PKGBUILDDIR»/lib/Support/ThreadPool.cpp:14:
| /usr/include/c++/5/bits/stl_deque.h: In instantiation of 'void std::deque<_Tp, _Alloc>::pop_front() [with _Tp = std::packaged_task<void()>; _Alloc = std::allocator<std::packaged_task<void()> >]':
| /usr/include/c++/5/bits/stl_queue.h:244:2: required from 'void std::queue<_Tp, _Sequence>::pop() [with _Tp = std::packaged_task<void()>; _Sequence = std::deque<std::packaged_task<void()>, std::allocator<std::packaged_task<void()> > >]'
| /«PKGBUILDDIR»/lib/Support/ThreadPool.cpp:53:21: required from here
| /usr/include/c++/5/bits/stl_deque.h:1551:40: error: invalid use of incomplete type 'class std::packaged_task<void()>'
| != this->_M_impl._M_start._M_last - 1)
| ^
| In file included from /«PKGBUILDDIR»/include/llvm/Support/ThreadPool.h:30:0,
| from /«PKGBUILDDIR»/lib/Support/ThreadPool.cpp:14:
| /usr/include/c++/5/future:121:11: note: declaration of 'class std::packaged_task<void()>'
| class packaged_task;
| ^
| In file included from /usr/include/c++/5/deque:64:0,
| from /usr/include/c++/5/queue:60,
| from /«PKGBUILDDIR»/include/llvm/Support/ThreadPool.h:40,
| from /«PKGBUILDDIR»/lib/Support/ThreadPool.cpp:14:
| /usr/include/c++/5/bits/stl_deque.h:1555:6: error: cannot increment a pointer to incomplete type 'std::packaged_task<void()>'
| ++this->_M_impl._M_start._M_cur;
| ^
| /usr/include/c++/5/bits/stl_deque.h: In instantiation of 'void std::_Deque_base<_Tp, _Alloc>::_M_initialize_map(std::size_t) [with _Tp = std::packaged_task<void()>; _Alloc = std::allocator<std::packaged_task<void()> >; std::size_t = unsigned int]':
| /usr/include/c++/5/bits/stl_deque.h:490:26: required from 'std::_Deque_base<_Tp, _Alloc>::_Deque_base() [with _Tp = std::packaged_task<void()>; _Alloc = std::allocator<std::packaged_task<void()> >]'
| /usr/include/c++/5/bits/stl_deque.h:883:23: required from 'std::deque<_Tp, _Alloc>::deque() [with _Tp = std::packaged_task<void()>; _Alloc = std::allocator<std::packaged_task<void()> >]'
| /«PKGBUILDDIR»/lib/Support/ThreadPool.cpp:27:40: required from here
| /usr/include/c++/5/bits/stl_deque.h:683:74: error: invalid application of 'sizeof' to incomplete type 'std::packaged_task<void()>'
| const size_t __num_nodes = (__num_elements/ __deque_buf_size(sizeof(_Tp))
| ^
| /usr/include/c++/5/bits/stl_deque.h:714:31: error: invalid application of 'sizeof' to incomplete type 'std::packaged_task<void()>'
| % __deque_buf_size(sizeof(_Tp)));
| ^
| /usr/include/c++/5/bits/stl_deque.h: In instantiation of 'void std::_Deque_base<_Tp, _Alloc>::_M_deallocate_node(std::_Deque_base<_Tp, _Alloc>::_Ptr) [with _Tp = std::packaged_task<void()>; _Alloc = std::allocator<std::packaged_task<void()> >; std::_Deque_base<_Tp, _Alloc>::_Ptr = std::packaged_task<void()>*]':
| /usr/include/c++/5/bits/stl_deque.h:742:20: required from 'void std::_Deque_base<_Tp, _Alloc>::_M_destroy_nodes(std::_Deque_base<_Tp, _Alloc>::_Map_pointer, std::_Deque_base<_Tp, _Alloc>::_Map_pointer) [with _Tp = std::packaged_task<void()>; _Alloc = std::allocator<std::packaged_task<void()> >; std::_Deque_base<_Tp, _Alloc>::_Map_pointer = std::packaged_task<void()>**]'
| /usr/include/c++/5/bits/stl_deque.h:664:20: required from 'std::_Deque_base<_Tp, _Alloc>::~_Deque_base() [with _Tp = std::packaged_task<void()>; _Alloc = std::allocator<std::packaged_task<void()> >]'
| /usr/include/c++/5/bits/stl_deque.h:883:23: required from 'std::deque<_Tp, _Alloc>::deque() [with _Tp = std::packaged_task<void()>; _Alloc = std::allocator<std::packaged_task<void()> >]'
| /«PKGBUILDDIR»/lib/Support/ThreadPool.cpp:27:40: required from here
| /usr/include/c++/5/bits/stl_deque.h:608:59: error: invalid application of 'sizeof' to incomplete type 'std::packaged_task<void()>'
| _Traits::deallocate(_M_impl, __p, __deque_buf_size(sizeof(_Tp)));
| ^
| lib/Support/CMakeFiles/LLVMSupport.dir/build.make:1505: recipe for target 'lib/Support/CMakeFiles/LLVMSupport.dir/ThreadPool.cpp.o' failed
See
https://buildd.debian.org/status/fetch.php?pkg=llvm-toolchain-3.8&arch=armel&ver=1:3.8-2&stamp=1457471147
for a full build log.
Regards
--
Sebastian Ramacher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-llvm-team/attachments/20160409/4398ef61/attachment.sig>
More information about the Pkg-llvm-team
mailing list