Error: './a.out' doesn't contain the architecture {i386, x86_64}

Hello,

I don't know when this started but lldb has some problems under
GNU/Linux Debian.
The following commands are failing:

$ clang-3.6 test.c
$ lldb-3.6 a.out
(lldb) target create "a.out"
error: a.out failed to load objfile for /tmp/a.out
error: '/tmp/a.out' doesn't contain any 'host' platform architectures:
x86_64, i386

Reported here:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=777616
and here:
http://llvm.org/bugs/show_bug.cgi?id=20768

And it is causing many issues in the lldb test suite here:
https://buildd.debian.org/status/fetch.php?pkg=llvm-toolchain-3.6&arch=i386&ver=1%3A3.6~%2Brc2-2&stamp=1422992769

Any idea where this can come from?

Thanks

Cheers,
Sylvestre
PS: I could not try with the trunk as it fails with this bug:
http://llvm.org/bugs/show_bug.cgi?id=22543

FYI, bug http://llvm.org/bugs/show_bug.cgi?id=20400 is much better about
this bug.
I marked bug 20768 as duplicate of this one.

Cheers,
Sylvestre