Comments (4)
Indeed. This is a real bug. Thank you!
We are assuming that std::map is relocatable (movable around using memcpy()), but it's not; it has a _Rb_tree member which has a pointer to itself. The fix is to remove
FOLLY_ASSUME_FBVECTOR_COMPATIBLE_4(std::map);
FOLLY_ASSUME_FBVECTOR_COMPATIBLE_3(std::set);
from folly/Traits.h.
from folly.
And as far as getting folly to build more smoothly, that's in the works. We use a custom build system at Facebook (and we build folly in the same tree as a lot of our other C++ stuff, with scripts to export to github), and so the autoconf stuff is an afterthought, and often goes unmaintained.
from folly.
Thank you for reporting this issue and appreciate your patience. We've notified the core team for an update on this issue. We're looking for a response within the next 30 days or the issue may be closed.
from folly.
Thank you for your patience. After 30 days with no updates from the core team, we're closing out the issue. If you're still experiencing the problem described, please reopen the issue - thanks!
from folly.
Related Issues (20)
- `small_vector.MoveAndCopyTrivial` fails with GCC 12.3.0 (no problem with GCC 9.x 10.x 11.x 13.x) HOT 1
- folly::ConcurrentHashMap crashes under high contention HOT 1
- [macOS] `AsyncFdSocket.h: error: 'reinterpret_cast<char*>(15)' is not a constant expression` and other related build errors
- error C2382: 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>::_Eos': redefinition; different exception specifications HOT 7
- undefined reference to `folly::f14::detail::F14LinkCheck HOT 1
- ‘scm_timestamping’ does not name a type
- Is ConcurrentHashMap read lock-free? HOT 2
- Folly fails to build on Windows 11 with build.bat and getdeps.py scripts.
- how to enable folly with sse4.2
- Integrate with google/oss-fuzz for continuous fuzz testing?
- A question about coro::Mutex implementation
- [powerpc] Some build errors and test results: issues to be addressed – threading, endianness HOT 22
- Build failure with Fedora 40's GCC 14.0.1
- Eroor
- Sweep: write an app with main.py
- [MSVC] Folly failed due to error C7555: use of designated initializers requires at least '/std:c++20' HOT 1
- EventBaseAtomicNotificationQueue - Check Failed
- Broken check for std::ranges?
- v2024.02.19 branch FTBFS / glog was not included correctly
- loadUnaligned and strict aliasing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from folly.