On Mon, Oct 11, 2010 at 10:43 AM, Chris Lattner <span dir="ltr"><<a href="mailto:clattner@apple.com">clattner@apple.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im"><br>
On Oct 11, 2010, at 8:17 AM, Devang Patel wrote:<br>
<br>
>> Interestingly enough, I just upgraded to the latest Ubuntu (10.10 - Maverick Meercat), and the LLVM-generated code no longer builds: I get the following error in the assembler stage (after the bitcode is converted to assembly):<br>


>><br>
>>    SwitchStmtTest.s: Assembler messages:<br>
>>    SwitchStmtTest.s:294899: Fatal error: duplicate .debug_line sections<br>
>><br>
><br>
> This is a known Linux binutils bug. There is a llvm pr in bugzilla database, I don't remember the no. though.<br>
<br>
</div>Direct .o file writing support for ELF is nearing functionality, it will define away this sort of issue.<br></blockquote><div><br></div><div>While that is great news, I'd like to also keep the ability to build via assembly language, as the ability to examine the assembly has been useful in solving many otherwise difficult bugs. (Especially given the difficulties I've had getting source-level debugging to work.)</div>

<div><br></div><div>For now, however, do you know if there is a workaround for this issue?</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<font color="#888888"><br>
-Chris</font></blockquote></div><br>-- <br>-- Talin<br>