Bug#745372: When build apt (1.0.1) with gcc-4.9, it cannot start with libstdc++6 (4.8)
On Wed, Apr 23, 2014 at 2:18 PM, Matthias Klose <doko@debian.org> wrote:
> Am 23.04.2014 07:52, schrieb Matthias Klose:
>> Control: tags -1 + moreinfo
>>
>> Am 23.04.2014 07:34, schrieb Matthias Klose:
>>> Am 21.04.2014 03:27, schrieb Yunqiang Su:
>>>> Package: gcc-4.9
>>>> Version: 4.9-20140411-2
>>>>
>>>> I built apt with gcc-4.9, then install it on a system with libstdc++6
>>>> (4.8), it failed to start:
>>>>
>>>> apt-get: /usr/lib/mips64el-linux-gnuabi64/libstdc++.so.6: version
>>>> `GLIBCXX_3.4.20' not found (required by apt-get)
>>>> apt-get: /usr/lib/mips64el-linux-gnuabi64/libstdc++.so.6: version
>>>> `GLIBCXX_3.4.20' not found (required by
>>>> /usr/lib/mips64el-linux-gnuabi64/libapt-pkg.so.4.12)
>>>> apt-get: /usr/lib/mips64el-linux-gnuabi64/libstdc++.so.6: version
>>>> `GLIBCXX_3.4.20' not found (required by
>>>> /usr/lib/mips64el-linux-gnuabi64/libapt-private.so.0.0)
>>>>
>>>>
>>>> While apt doesn't depend on libstdc++6 with version.
>>>> It must be something wrong.
>>>>
>>>> After install libstdc++6 (4.9), all of them works well now.
>>>
>>> I think we did some similar issues during the 4.6 to 4.7 upgrades. Need to find
>>> out why apt doesn't get the required dependency. Afaics, the libstc++ symbols
>>> file is correct.
>>>
>>> $ grep GLIBCXX_3.4.20 /var/lib/dpkg/info/libstdc++6\:amd64.symbols
>>> GLIBCXX_3.4.20@GLIBCXX_3.4.20 4.9
>>> _ZNSt11regex_errorC1ENSt15regex_constants10error_typeE@GLIBCXX_3.4.20 4.9
>>> _ZSt13get_terminatev@GLIBCXX_3.4.20 4.9
>>> _ZSt14get_unexpectedv@GLIBCXX_3.4.20 4.9
>>> _ZSt15get_new_handlerv@GLIBCXX_3.4.20 4.9
>>> _ZSt24__throw_out_of_range_fmtPKcz@GLIBCXX_3.4.20 4.9
>>>
>>>
>>
>> if I rebuild apt, it ends up with a dependency on
>> libstdc++6 (>= 4.9)
>>
>> so everything looks fine.
>
> this is a missing symbols file on your architecture. Please provide all of these
> for your new architecture.
>
Do you have a script to generate symbol files?
--
Yunqiang Su
Reply to: