[gold] [PATCH] Add -m -m elf_x86_64 -plugin-opt=mtriple=x86_64-linux-gnu

H.J. Lu hjl.tools at gmail.com
Tue Mar 24 14:04:28 PDT 2015


On Tue, Mar 24, 2015 at 2:01 PM, Rafael EspĂ­ndola
<rafael.espindola at gmail.com> wrote:
> Instead of
>
>  -plugin-opt=mtriple=x86_64-linux-gnu
>
> Please make sure the files have a
>
> target triple = "x86_64-unknown-linux-gnu"

I verified that all files this patch changes have

target triple = "x86_64-unknown-linux-gnu"

> LGTM with that.
>
>
> On 21 March 2015 at 11:37, H.J. Lu <hjl.tools at gmail.com> wrote:
>> Gold with elf_x86_64 support may not default to elf_x86_64 and the llvm
>> default triple may not be x86_64-linux-gnu.  This patch passes explicit
>> -m elf_x86_64 -plugin-opt=mtriple=x86_64-linux-gnu to gold.  This fixes
>>
>> https://llvm.org/bugs/show_bug.cgi?id=22966
>>
>>
>> --
>> H.J.
>>
>> _______________________________________________
>> llvm-commits mailing list
>> llvm-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>>



-- 
H.J.




More information about the llvm-commits mailing list