luna issueshttps://gitlab.ssd.sscc.ru/groups/luna/-/issues2019-11-20T12:38:10Zhttps://gitlab.ssd.sscc.ru/luna/luna5/-/issues/2Drop building2019-11-20T12:38:10Zdmitry_eltexDrop buildingНа моей хостовой машине сборка падает со следуюзими логами:
```
../../include/dfm/rope/rope_segment.h:25:39: error: ‘function’ in namespace ‘std’ does not name a template type
using IdToIndexMapFunction = std::function<IndexType(con...На моей хостовой машине сборка падает со следуюзими логами:
```
../../include/dfm/rope/rope_segment.h:25:39: error: ‘function’ in namespace ‘std’ does not name a template type
using IdToIndexMapFunction = std::function<IndexType(const df::DFId&)>;
^~~~~~~~
../../include/dfm/rope/rope_segment.h:28:64: error: ‘IdToIndexMapFunction’ has not been declared
RopeSegment(const IndexType &left, const IndexType &right, IdToIndexMapFunction mf);
^~~~~~~~~~~~~~~~~~~~
../../include/dfm/rope/rope_segment.h:56:5: error: ‘IdToIndexMapFunction’ does not name a type
IdToIndexMapFunction map_func;
^~~~~~~~~~~~~~~~~~~~
../../src/dfm/rope/rope_segment.cpp:9:73: error: ‘IdToIndexMapFunction’ has not been declared
RopeSegment::RopeSegment(const IndexType &left, const IndexType &right, IdToIndexMapFunction mf) :
^~~~~~~~~~~~~~~~~~~~
../../src/dfm/rope/rope_segment.cpp: In constructor ‘luna::dfm::rope::RopeSegment::RopeSegment(const IndexType&, const IndexType&, int)’:
../../src/dfm/rope/rope_segment.cpp:11:5: error: class ‘luna::dfm::rope::RopeSegment’ does not have any field named ‘map_func’
map_func(mf) {
^~~~~~~~
../../src/dfm/rope/rope_segment.cpp: In member function ‘void luna::dfm::rope::RopeSegment::addLoad(const luna::df::DFId&, const LoadType&)’:
../../src/dfm/rope/rope_segment.cpp:50:24: error: ‘map_func’ was not declared in this scope
const auto index = map_func(id);
^~~~~~~~
../../src/dfm/rope/rope_segment.cpp: In member function ‘void luna::dfm::rope::RopeSegment::removeLoad(const luna::df::DFId&, const LoadType&)’:
../../src/dfm/rope/rope_segment.cpp:56:24: error: ‘map_func’ was not declared in this scope
const auto index = map_func(id);
```
$ g++ --version
> g++ (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ g++ -v
> Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.4.0-1ubuntu1~18.04.1' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)
$ uname -a
> Linux dmitriyeltex 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linuxdmitry_eltexdmitry_eltex