GCC-4.8.0 lto plugin depends from old libgcc
Alexpux
alexpux@gmail.com
Fri Mar 29 16:12:00 GMT 2013
29.03.2013, в 17:16, Ian Lance Taylor <iant@google.com> написал(а):
> On Fri, Mar 29, 2013 at 2:14 AM, Алексей Павлов <alexpux@gmail.com> wrote:
>>
>> When building MinGW-w64 toolchains with GCC-4.8.0 toolchain under
>> windows I have liblto_plugin-0.dll depended on old libgcc_s*.dll.
>>
>> For example:
>> 1. I have GCC-4.8.0 SJLJ multilib toolchain.
>> 2. I need build GCC-4.8.0 DWARF toolchain.
>> 3. After building DWARF toolchain has liblto_plugin-0.dll depended
>> fron libgcc_s_sjlj-1.dll. DependsWalker show that liblto_plugin-0.dll
>> need __udivdi3 and __umoddi3 functions from libgcc*.dll
>>
>> If I build new toolchain with earlier GCC (<=4.7.2)
>> liblto_plugin-0.dll doesn't depends from any libgcc*.dll.
>> Is it bug in new gcc-4.8.0?
>
> Maybe it is a bug but it doesn't sound like one. It's normal for code
> compiled by GCC to depend on libgcc. Why is it a problem in this
> case?
>
All our previous builds 4.6*, 4.7* doesn't has this depends. Problem is that host toolchain is SJLJ and target toolchain is DWARF and DWARF toolchain need dll from SJLJ toolchain.
More information about the Gcc-help
mailing list