Rookie problem

Hi,

this is probably a stupid rookie mistake, but when I compile

// ---------------------------------------
#include<iostream>

int main()
{
   std::cerr << "Kaesekuchen";
}
// ---------------------------------------

with

clang -std=c++11 -stdlib=libc++ test.cpp -lc++

and run the output, I get

$ ./a.out
KaesekuchenAborted (core dumped)

Here is the scenario:

clang version 3.2 (trunk 155315)
Target: x86_64-unknown-linux-gnu
Thread model: posix

libcxx checked out from the svn today as well.

$ ldd ./a.out
        linux-vdso.so.1 => (0x00007ffffe5ff000)
        libc++.so.1 => /usr/local/lib/libc++.so.1 (0x00007fcb2ff32000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1
(0x00007fcb2fcfc000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fcb2f966000)
        libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
(0x00007fcb2f660000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
(0x00007fcb2f442000)
        librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fcb2f239000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fcb301d5000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fcb2efb4000)

(gdb) bt
#0 0x00007f85cbf1bd05 in raise (sig=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1 0x00007f85cbf1fab6 in abort () at abort.c:92
#2 0x00007f85cc4d2ddf in std::uncaught_exception () at
../src/exception.cpp:107
#3 0x00007f85cc4db6c6 in std::__1::basic_ostream<char>::sentry::~sentry
(this=<value optimized out>) at ../include/ostream:243
#4 0x0000000000400d42 in std::__1::basic_ostream<char,
std::__1::char_traits<char> >& std::__1::operator<<
<std::__1::char_traits<char> >(std::__1::basic_ostream<char,
std::__1::char_traits<char> >&, char const*) ()
#5 0x0000000000400a4d in main ()

Compiling with clang test.cpp -lstdc++ and subsequent running works fine.

Any suggestions about what I might be doing wrong?

Thanks and regards,

Roland