What does this g++ error mean : undefined reference to ‘__cxa_throw_bad_array_new_length’?

*** Hello,

my code compiles with gcc 4.9.2 and runs on my ubuntu 12.04.
But, on another machine with the same setting, I get this error message during the linking step:

undefined reference to ‘__cxa_throw_bad_array_new_length’

I would like to try to solve the problem but I have no idea of what it means.

Has someone already seen this message?

Thank you for your help!


Source: gcc

Leave a Reply