windows: sporadic configure errors in cygwin
Magnus Ihse Bursie
magnus.ihse.bursie at oracle.com
Mon Sep 4 10:09:11 UTC 2017
On 2017-08-11 13:00, Thomas Stüfe wrote:
> Hi all,
>
> when building OpenJDK 10/hs on Windows, I get sporadic configure errors.
> Usually one of two things, either:
>
> configure: The tested number of bits in the target (0) differs from the
> number of bits expected to be found in the target (32).
>
> or the endianness test failing.
>
> Most of the time, just retrying the configure run works.
>
> I have the feeling this happens mostly when running several builds in
> parallel. I am currently using 32bit cygwin.
You cannot/should not run multiple "configure" in parallel in the same
directory. This is due to a limitation of the autoconf framework that we
are using -- they test features (like word size) by creating a file in
the current directory (conf.c I believe it's called), compiling and
running it. So if you run multiple configure calls in parallel, these
tests can interfere with each other.
Once the configure step is done, you can build multiple configurations
using "make" at the same time.
/Magnus
>
> Does anyone see similar errors or maybe have a solution?
>
> Best Regards, Thomas
More information about the build-dev
mailing list