When I try to compile (using cmake -DCMAKE_BUILD_TYPE=release) I get the following error:
lib/liblldb.so.3.4: undefined reference to `__cxa_throw_bad_array_new_length’
collect2: error: ld returned 1 exit status
Any ideas on what is causing it, and how it can be fixed?