[lldb-dev] Getting a "__cxa_throw_bad_array_new_length" error when attempting to compile

Malea, Daniel daniel.malea at intel.com
Fri May 31 09:09:43 PDT 2013


Hmm, what compiler and standard library are you using?

I've been building LLDB successfully with Clang 3.3, GCC 4.7 and I believe the buildbots also use GCC 4.7.

Sorry for the delay, this email almost slipped through,
Dan

From: Daniel B Mosesson <dmosess1 at binghamton.edu<mailto:dmosess1 at binghamton.edu>>
Date: Wednesday, 29 May, 2013 11:49 PM
To: "lldb-dev at cs.uiuc.edu<mailto:lldb-dev at cs.uiuc.edu>" <lldb-dev at cs.uiuc.edu<mailto:lldb-dev at cs.uiuc.edu>>
Subject: [lldb-dev] Getting a "__cxa_throw_bad_array_new_length" error when attempting to compile

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?




More information about the lldb-dev mailing list