8000 error: there are no arguments to ‘occupiedMask’ that depend on a template parameter, so a declaration of ‘occupiedMask’ must be available · Issue #2416 · facebook/folly · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

error: there are no arguments to ‘occupiedMask’ that depend on a template parameter, so a declaration of ‘occupiedMask’ must be available #2416

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
andreas-schwab opened this issue Apr 15, 2025 · 1 comment

Comments

@andreas-schwab
Copy link

folly fails to build on riscv64 when compiled as part of dawrfs 0.12.1:

/usr/bin/c++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DDWARFS_HAVE_CLOSE_RANGE=1 -DFMT_SHARED -DFOLLY_CFG_NO_COROUTINES -DGLOG_NO_ABBREVIATED_SEVERITIES -DGLOG_USE_GLOG_EXPORT -DNOGDI -DNOMINMAX -D_GNU_SOURCE -D_REENTRANT -I/home/abuild/rpmbuild/BUILD/dwarfs-0.12.1-build/dwarfs-0.12.1/include -isystem /home/abuild/rpmbuild/BUILD/dwarfs-0.12.1-build/dwarfs-0.12.1/build/folly -isystem /home/abuild/rpmbuild/BUILD/dwarfs-0.12.1-build/dwarfs-0.12.1/folly -isystem /home/abuild/rpmbuild/BUILD/dwarfs-0.12.1-build/dwarfs-0.12.1/fast_float -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g -O2 -g -DNDEBUG -std=c++20 -fPIC -fdiagnostics-color=always -g -finput-charset=UTF-8 -fsigned-char -Wall -Wno-deprecated -Wno-deprecated-declarations -Wno-sign-compare -Wno-unused -Wuninitialized -Wunused-label -Wunused-result -Wextra -pedantic -Wno-stringop-overflow -MD -MT CMakeFiles/dwarfs_folly_lite.dir/folly/folly/container/detail/F14Table.cpp.o -MF CMakeFiles/dwarfs_folly_lite.dir/folly/folly/container/detail/F14Table.cpp.o.d -o CMakeFiles/dwarfs_folly_lite.dir/folly/folly/container/detail/F14Table.cpp.o -c /home/abuild/rpmbuild/BUILD/dwarfs-0.12.1-build/dwarfs-0.12.1/folly/folly/container/detail/F14Table.cpp
In file included from /home/abuild/rpmbuild/BUILD/dwarfs-0.12.1-build/dwarfs-0.12.1/folly/folly/container/detail/F14Table.cpp:17:
/home/abuild/rpmbuild/BUILD/dwarfs-0.12.1-build/dwarfs-0.12.1/folly/folly/container/detail/F14Table.h: In member function ‘folly::f14::detail::DenseMaskIter folly::f14::detail::F14Chunk::occupiedIter() const’:
/home/abuild/rpmbuild/BUILD/dwarfs-0.12.1-build/dwarfs-0.12.1/folly/folly/container/detail/F14Table.h:792:37: error: there are no arguments to ‘occupiedMask’ that depend on a template parameter, so a declaration of ‘occupiedMask’ must be available [-fpermissive]
792 | return DenseMaskIter{&tags_[0], occupiedMask()};
| ^~~~~~~~~~~~

@andreas-schwab
Copy link
Author

Manually defining FOLLY_HAVE_INT128_T doesn't work either:

/home/abuild/rpmbuild/BUILD/dwarfs-0.12.1-build/dwarfs-0.12.1/fbthrift/thrift/lib/cpp2/gen/module_types_cpp.cpp:34:78: error: static assertion failed: oversized
34 | !FOLLY_F14_VECTOR_INTRINSICS_AVAILABLE || !folly::has_extended_alignment ||
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
35 | sizeof(enum_find) <= folly::cacheline_align_v,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0