Bug 20243 - undefined reference to __gxx_personality_v0
Summary: undefined reference to __gxx_personality_v0
Status: CLOSED NOTABUG
Alias: None
Product: Sisyphus
Classification: Development
Component: gcc4.4-c++ (show other bugs)
Version: unstable
Hardware: all Linux
: P3 critical
Assignee: Gleb F-Malinovskiy
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-31 13:28 MSD by Kachalov Anton
Modified: 2012-03-16 14:00 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kachalov Anton 2009-05-31 13:28:49 MSD
$ cat a.cc 
struct some_type { int member; };

int main()
{
  sizeof(some_type::member);
  return 0;
}
$ gcc -std=c++0x  a.cc -o a
/tmp/.private/mouse/ccba5haq.o:(.eh_frame+0x12): undefined reference to `__gxx_personality_v0'
collect2: ld returned 1 exit status

PS. Вопрос по ходу,
http://en.wikipedia.org/wiki/C%2B%2B0x
Тут написано про ещё две вкусности:
1. for (int x : my_array)
2. for_each (list.begin(), list.end(), [&](x) { ... });
В какой версии GCC планируются сие фичи? 4.5? Или в более поздней? И будет ли у нас бэкпорт этих фич?
Comment 1 Sir Raorn 2009-05-31 15:42:24 MSD
"g++ -std=c++0x a.cc -o a" работает.
Comment 2 Sir Raorn 2009-05-31 15:49:36 MSD
"gcc -std=c++0x a.cc -o a -lstdc++" тоже.