[LLVMdev] Is the option --enable-shared discontinued in 2.7?

Jeffrey Yasskin jyasskin at google.com
Mon May 3 17:07:28 PDT 2010


On Thu, Apr 29, 2010 at 6:31 PM, Jeffrey Yasskin <jyasskin at google.com> wrote:
> On Wed, Apr 28, 2010 at 10:48 AM, Yuri <yuri at tsoft.com> wrote:
>> Jeffrey Yasskin wrote:
>>>
>>> We currently use two different techniques to get whole libraries
>>> included into the .so. On Linux (gnu ld and gold), we pass
>>> --whole-archive, while on OSX we pass -all_load. Which ld does FreeBSD
>>> use? If you can rearrange tools/llvm-shlib/Makefile until it works for
>>> you and send us a patch, we can probably get it working for llvm-2.8.
>>>
>>
>>
>> ld on FreeBSD is from binutils. It takes --whole-archive option.
>
> Would you try the patch at
> http://codereview.appspot.com/download/issue968046_1.diff? It should
> make the BSDs fall into the same path as Linux, and since you use gnu
> ld, that should work for you.

Ping?



More information about the llvm-dev mailing list