[Lldb-commits] fix linux build by using LLVMLibsOptions instead of LD.flags

Viktor Kutuzov vkutuzov at accesssoftek.com
Mon Apr 30 11:59:30 PDT 2012


Hi everyone,

I didn't get any problems with this patch on FreeBSD 9. Also, it is possible to merge LD.Flags with LLVMLibsOptions for the FreeBSD part in lib/Makefile. I have tested it and I didn't get any problem with it either.

Viktor.

-----Original Message-----
From: lldb-commits-bounces at cs.uiuc.edu [mailto:lldb-commits-bounces at cs.uiuc.edu] On Behalf Of Filipe Cabecinhas
Sent: Monday, April 30, 2012 8:16 AM
To: Dragos Tatulea
Cc: lldb-commits Commits List
Subject: Re: [Lldb-commits] fix linux build by using LLVMLibsOptions instead of LD.flags

Shouldn't this be done for every platform? I don't know in what state the Darwin Makefiles are, or the FreeBSD ones, but it seems like the LLVMLibsOptions variable serves that purpose, in llvm's build system.

Regards,  

  Filipe


On Monday, April 30, 2012 at 12:51 PM, Dragos Tatulea wrote:

> Re-sending this to lldb-commits. Maybe it will get some love here :)
> 
> ---------- Forwarded message ----------
> From: Dragos Tatulea <dragos.tatulea at gmail.com 
> (mailto:dragos.tatulea at gmail.com)>
> Date: Thu, Apr 26, 2012 at 11:39 AM
> Subject: fix linux build by using LLVMLibsOptions instead of LD.flags
> To: lldb-dev at cs.uiuc.edu (mailto:lldb-dev at cs.uiuc.edu)
> 
> 
> Hi,
> 
> Here's a patch that fixes the Linux build. LD.flags is prepended to 
> list of objects to be built. This is not right because the linker will 
> fail to find the symbols from prepended libs.
> 
> Thanks,
> Dragos
> 
> _______________________________________________
> lldb-commits mailing list
> lldb-commits at cs.uiuc.edu (mailto:lldb-commits at cs.uiuc.edu) 
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits
> 
> 
> Attachments: 
> - lldb_linux_fix_ld_flags_var.patch
> 



_______________________________________________
lldb-commits mailing list
lldb-commits at cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits




More information about the lldb-commits mailing list