Bug#895574: lintian: binary-compiled-with-profiling-enabled test fails on Ubuntu's armhf
On Wed, Apr 18, 2018 at 06:19:51PM +0100, Steve McIntyre wrote:
>On Thu, Apr 12, 2018 at 10:36:59PM +0100, Chris Lamb wrote:
>>tags 895574 + moreinfo
>>thanks
>>
>>Hi Jeremy,
>>
>>Thanks for the report!
>>
>>> armhf is a bit different than the other Ubuntu architectures because
>>> it uses a different kind of virtualization
>>
>>I suspect the underlying problem is that we are not detecting
>>profiling information on armhf correctly. The relevant code is:
>>
>> https://salsa.debian.org/lintian/lintian/blob/master/checks/binaries.pm#L192-207
>>
>>I have attached the "readelf -WltdVs" output of "basic.c" compiled
>>on the harris.debian.org porterbox.
>>
>>Whilst I see a "GLIBC_" section, I do see an mcount:
>>
>> 117: 00000000 0 FUNC GLOBAL DEFAULT UND __gnu_mcount_nc@@GLIBC_2.8
>>
>>Can someone with some ELF knowledge chime in here? :)
>
>I can have a look. So we're looking at the same thing, what's in "basic.c"?
Gah, sent that from the wrong address by mistake. Please ignore that
bit... :-)
--
Steve McIntyre, Cambridge, UK. steve@einval.com
"C++ ate my sanity" -- Jon Rabone
Reply to: