[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/6656] [regression] linking with -g results in assembler error
From: |
amodra at bigpond dot net dot au |
Subject: |
[Bug ld/6656] [regression] linking with -g results in assembler error |
Date: |
22 Jun 2008 03:49:03 -0000 |
------- Additional Comments From amodra at bigpond dot net dot au 2008-06-22
03:49 -------
Actually, I should have recognized the problem just from the description.
Asking the assembler to generate dwarf debug info, when the file already has
debug info generated by the compiler, is just one of those things you should not
do. Of course, the assembler ought to give a better error message..
You see, the compiler emits file and line number info referring to the C (or
other language) source file and line numbers, while "as -g" emits file and line
number info for the assembly file. Having both sets of debug info doesn't make
much sense, since they give contradictory information.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6656
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.