Hi,

On Tue, Aug 03, 2010 at 04:01:48PM -0400, Loïc Minier wrote:

>  I wonder whether it makes sense to look into /usr/lib at all when
>  cross-building?

Not really, I think.

>  If that's not an option, I think the routine checking the format of
>  executable could run the cross-objdump and if it fails try the host
>  objdump as a fallback.

I have an use case here where the native objdump will fail on the target
binary, so if there is a fallback, it needs to be per-file. I also
wonder whether "objdump fails to read it" might already be a strong hint
that the file is the wrong version.

If another file exists that can be read using the targetted objdump, and
has the correct architecture, then I'd expect the build to continue, and
ideally, to not complain too loudly.

   Simon



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to