[cfe-dev] choosing the gcc toolchain

Chandler Carruth chandlerc at google.com
Thu Feb 27 15:34:30 PST 2014


My best guess is that the multilib stuff wasn't setup correctly. Note that
MIPS has custom logic for this (findMIPSMultilibs). If that fails, then
we'll not use the newer GCC installation. You could add logging there to
try and figure out why.


On Thu, Feb 27, 2014 at 3:31 PM, Chandler Carruth <chandlerc at google.com>wrote:

> Weird, the code is supposed to select 4.7 there... lemme check why it
> would do this.
>
>
> On Thu, Feb 27, 2014 at 3:27 PM, Reed Kotler <rkotler at mips.com> wrote:
>
>> I built a Mips llvm for one of our target machines.
>> When I run it there it unfortunately chooses the wrong gcc toolchain.
>> 4.7.2 is what I want it to choose.
>>
>> Can this be overriden?
>>
>> Found candidate GCC installation: /usr/lib/gcc/mipsel-linux-gnu/4.4
>> Found candidate GCC installation: /usr/lib/gcc/mipsel-linux-gnu/4.4.6
>> Found candidate GCC installation: /usr/lib/gcc/mipsel-linux-gnu/4.4.7
>> Found candidate GCC installation: /usr/lib/gcc/mipsel-linux-gnu/4.6
>> Found candidate GCC installation: /usr/lib/gcc/mipsel-linux-gnu/4.6.3
>> Found candidate GCC installation: /usr/lib/gcc/mipsel-linux-gnu/4.7
>> Found candidate GCC installation: /usr/lib/gcc/mipsel-linux-gnu/4.7.2
>> Selected GCC installation: /usr/lib/gcc/mipsel-linux-gnu/4.6
>>
>> Tia.
>>
>> Reed
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140227/680ec34d/attachment.html>


More information about the cfe-dev mailing list