[Buildroot] [PATCH] libtasn1: bump to version 4.6

Arnout Vandecappelle arnout at mind.be
Mon Sep 14 22:09:05 UTC 2015


On 13-09-15 23:20, Thomas Petazzoni wrote:
> Peter,
> 
> On Sun, 13 Sep 2015 21:52:30 +0200, Peter Korsgaard wrote:
> 
>>  > BTW, the fact that you are regularly verifying that the binaries built
>>  > by Buildroot are built for MIPS, I am wondering if it wouldn't be worth
>>  > the effort to add a final check at the end of the build to verify that
>>  > all binaries are built for the proper architecture/ABI. I remember that
>>  > some time ago, the nfs-utils package was installing binaries built for
>>  > the host machine into the target filesystem.
>>
>> Yes, it could be a nice test. How would we do it? With readelf? We would
>> need to filter out any shell scripts and similar.
> 
> Either readelf, or just "file". But maybe readelf is fine as it's
> available in the toolchain. We can skip scripts by testing the first
> two bytes of each file and see if they are #!, no?

 file has the advantage of also working for scripts, and should even work for
FLAT binaries (which readelf wouldn't like). But it doesn't show the CPU, ISA
and FP details, which are useful to check as well.

 So the perfect approach would be: file, and readelf if file says it's an ELF.

 Or, of course, python-magic and python-pyelftools :-)

 Regards,
 Arnout

-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF



More information about the buildroot mailing list