bug-autoconf
[Top][All Lists]
Advanced

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

False negative for $cross_compiling when cross-compiling


From: Jehan Pagès
Subject: False negative for $cross_compiling when cross-compiling
Date: Fri, 8 Aug 2014 22:20:07 +0000

Hi,

I made a bug report some time ago about a false negative for
$cross_compiling which happens on modern distributions, where the
binfmt_misc feature of the linux kernel is enabled and is able to run
non-native binaries through vm/emulators. In my case, it happened
because wine was configured by default on my Linux distribution to run
Windows binaries through wine. Because of this, the configure script
considered I was *not* cross-compiling (which was obviously a
mistake!). Of course it makes problems later in the compilation
process and the problem is not necessarily visible at first, which
makes this issue even more annoying to track.
I believe nowaydays this should be considered more and more common to
have distribution have this kind of defaults.

See the report, where a patch had been attached:
http://savannah.gnu.org/support/?108405

The patch is fairly straightforward and obvious. Basically when the
execution test is unsure, and if the build and target hosts are
different, then we consider to be cross_compiling.
I've checked my patch against the last master state. It still builds fine.

I had no news since then, would it be possible to review it?
Thanks a lot!

Jehan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]