[poky] [PATCH 1/1] gcc/collect2: Added --sysroot support into collect2 in gcc.

Lu, Lianhao lianhao.lu at intel.com
Fri Mar 11 01:29:36 PST 2011


Khem Raj wrote on 2011-03-11:
> On (10/03/11 14:21), Lianhao Lu wrote:
>> From: Lianhao Lu <lianhao.lu at intel.com>
>> 
>> [YOCTO #815] Added --sysroot into COLLECT_GCC_OPTIONS to allow the
>> collect2 support user specifed sysroot.
> 
> interesting. What happens if you remove -frepo option while compiling
> your test program ?

By removing -frepo option, the problem seems gone. It seems that -frepo triggers the collect2 to recompile the object files which need template instantiations. By removing the -frepo the object files don't get recompiled, so the missing --sysroot wouldn't be a problem.

-Lianhao



More information about the poky mailing list