[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#673451: lintian: improve use of readelf



tags 673451 + moreinfo
thanks


On 2012-05-18 20:50, Marc Deslauriers wrote:
> [...] 
> 
> *** /tmp/tmpiekV9j/bug_body
> In Ubuntu, the attached patch was applied to achieve the following:
> 
>   * collection/objdump-info: objdump-info switched from objdump to readelf,
>     but readelf in Ubuntu doesn't seem to work properly when used with the
>     -D option, possibly due to differences in default hardening. Work
>     around issue by using different flags and adjusting parsing. This also
>     restores version parsing.
> 
> Thanks for considering the patch.
> 
> [...]

Hi,

Thanks for the patch, unfortunately it is causing "uninitialized value"
warnings in the legacy test suite[1]:

"""
Use of uninitialized value $ver in string eq at
<LINTIAN_ROOT>/collection/objdump-info line 169, <PIPE> line 58.
"""

As far as I can tell, the issue is that $symnum no longer refers to an
index in $symbol_versions (and the symbol does not match "a@b").

~Niels

[1] To only run the legacy suite, you can use:

debian/rules runtests onlyrun=--legacy-only




Reply to: