Test case: test.c == extern one(); main () { one(); } === Compilation command: cr16-elf-gcc test.c -g -O2 === ld:Dwarf Error: Offset (78) greater than or equal to (null) size (135095464). /tmp/cceIbvAM.o: In function `': r/align/1.c:5: undefined reference to `_one' collect2: ld returned 1 exit status ====
-- Summary: Dwarf offset error with -g -O2 options Product: binutils Version: 2.19 Status: NEW Severity: critical Priority: P2 Component: ld AssignedTo: unassigned at sources dot redhat dot com ReportedBy: swami at india dot nsc dot com CC: bug-binutils at gnu dot org GCC build triplet: native linux GCC host triplet: Native Linux GCC target triplet: cr16-elf http://sourceware.org/bugzilla/show_bug.cgi?id=7037 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils