[Pkg-electronics-devel] Bug#962855: verilator FTBFS on 32bit
Adrian Bunk
bunk at debian.org
Mon Jun 15 07:39:48 BST 2020
Source: verilator
Version: 4.036-1
Severity: serious
Tags: ftbfs
https://buildd.debian.org/status/package.php?p=verilator&suite=sid
...
In file included from /<<PKGBUILDDIR>>/include/verilated.cpp:25:
/<<PKGBUILDDIR>>/include/verilated_imp.h: In static member function ‘static IData VerilatedImp::fdNew(const char*, const char*)’:
/<<PKGBUILDDIR>>/include/verilated_imp.h:490:78: error: no matching function for call to ‘max(long unsigned int, std::vector<_IO_FILE*>::size_type)’
490 | const size_t start = std::max(31ul + 1ul + 3ul, s_s.m_fdps.size());
| ^
In file included from /usr/include/c++/9/deque:60,
from /<<PKGBUILDDIR>>/include/verilated_heavy.h:29,
from /<<PKGBUILDDIR>>/include/verilated_imp.h:29,
from /<<PKGBUILDDIR>>/include/verilated.cpp:25:
/usr/include/c++/9/bits/stl_algobase.h:222:5: note: candidate: ‘template<class _Tp> constexpr const _Tp& std::max(const _Tp&, const _Tp&)’
222 | max(const _Tp& __a, const _Tp& __b)
| ^~~
/usr/include/c++/9/bits/stl_algobase.h:222:5: note: template argument deduction/substitution failed:
In file included from /<<PKGBUILDDIR>>/include/verilated.cpp:25:
/<<PKGBUILDDIR>>/include/verilated_imp.h:490:78: note: deduced conflicting types for parameter ‘const _Tp’ (‘long unsigned int’ and ‘std::vector<_IO_FILE*>::size_type’ {aka ‘unsigned int’})
490 | const size_t start = std::max(31ul + 1ul + 3ul, s_s.m_fdps.size());
| ^
In file included from /usr/include/c++/9/deque:60,
from /<<PKGBUILDDIR>>/include/verilated_heavy.h:29,
from /<<PKGBUILDDIR>>/include/verilated_imp.h:29,
from /<<PKGBUILDDIR>>/include/verilated.cpp:25:
/usr/include/c++/9/bits/stl_algobase.h:268:5: note: candidate: ‘template<class _Tp, class _Compare> constexpr const _Tp& std::max(const _Tp&, const _Tp&, _Compare)’
268 | max(const _Tp& __a, const _Tp& __b, _Compare __comp)
| ^~~
/usr/include/c++/9/bits/stl_algobase.h:268:5: note: template argument deduction/substitution failed:
In file included from /<<PKGBUILDDIR>>/include/verilated.cpp:25:
/<<PKGBUILDDIR>>/include/verilated_imp.h:490:78: note: deduced conflicting types for parameter ‘const _Tp’ (‘long unsigned int’ and ‘std::vector<_IO_FILE*>::size_type’ {aka ‘unsigned int’})
490 | const size_t start = std::max(31ul + 1ul + 3ul, s_s.m_fdps.size());
| ^
More information about the Pkg-electronics-devel
mailing list