[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/19872] nm and probably addr2line can't handle binaries pro
From: |
britton.kerin at gmail dot com |
Subject: |
[Bug binutils/19872] nm and probably addr2line can't handle binaries produced with gold --incremental |
Date: |
Tue, 29 Mar 2016 19:44:51 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=19872
--- Comment #2 from Britton Kerin <britton.kerin at gmail dot com> ---
$ cat test.c
int
main (void)
{
return 0;
}
$ gcc -Wall -Wextra -Werror -g -c test.c -o test.o
$ rm -f test && gcc -fuse-ld=gold -Wl,--incremental test.o -o test
test: stat: No such file or directory
linking with --incremental-full
$ nm --line-numbers test >/dev/null
nm: Dwarf Error: Bad abbrev number: 0.
nm: Dwarf Error: found dwarf version '0', this reader only handles version 2, 3
and 4 information.
$
--
You are receiving this mail because:
You are on the CC list for the bug.