[cfe-dev] clang++ linker issues on Ubuntu AMD64.
ismail at namtrac.org
Wed Jan 5 00:31:07 PST 2011
2011/1/5 Török Edwin <edwintorok at gmail.com>:
> On 2011-01-05 10:19, İsmail Dönmez wrote:
>> On Wed, Jan 5, 2011 at 10:16 AM, Lang Hames <lhames at gmail.com> wrote:
>>> Specifically I was running with r122866, which was ToT as of earlier today.
>>> Updating to r122869, the current ToT, does not fix this issue, and (if I
>>> recall correctly) I saw the same issue when I checked clang out on a
>>> different AMD64 Ubuntu box a week or so back. Both were Debug+Asserts
>> I am also on x86-64 so this might be a Ubuntu specific problem.
> I think this depends on your version of binutils, I get the same on
> Debian with gcc on empty file. Ignore the invalid symbol index, the
> problem is the missing 'main' function :)
> $ gcc empty.c
> /usr/bin/ld: /usr/lib/debug/usr/lib/crt1.o(.debug_info): relocation 0
> has invalid symbol index 11
Ah! I have binutils 2.21. That might explain it.
More information about the cfe-dev