Open mbalex99 opened 6 years ago
@mbalex99 We have made some changes related to alignment of data structures recently. Would you mind telling us which commit broke your build? Thanks!
346d1069c3031468cf5cb06299f018a873c9fb33 seems to have caused a similar failure on Mac OS X:
Undefined symbols for architecture x86_64:
"operator delete(void*, std::align_val_t)", referenced from:
rocksdb::LRUCacheShard::~LRUCacheShard() in lru_cache.o
rocksdb::StatisticsImpl::~StatisticsImpl() in statistics.o
std::__1::__shared_ptr_emplace<rocksdb::StatisticsImpl, std::__1::allocator<rocksdb::StatisticsImpl> >::~__shared_ptr_emplace() in statistics.o
Commenting out the setting of -faligned-new
in the Makefile can temporarily work around the problem.
We need to change "build_tools/build_detect_platform" to check aligned new is actually implemented before setting -DHAVE_ALIGNED_NEW
.
edit: Or it could go in the Makefile. We just need to test whether compilation using aligned new succeeds.
Expected behavior
It builds for iOS successfully
Actual behavior
Steps to reproduce the behavior
TARGET_OS=IOS make static_lib
This occurs for Xcode 9, 9.2, 9.3, 9.4 and 10 beta 1
However this commit onto master works without an issue: c60df9d9e7629fe208a9b848293a5599f83d5e77