On 6 April 2018 at 18:06, <alar...@ddci.com> wrote: > "Peter Maydell" <peter.mayd...@linaro.org> wrote on 04/06/2018 09:51:55 > AM: > >> I've now done this, and can reproduce the problem. So the >> issue is generic to 32-bit hosts. > > Supporting evidence: I compiled Cygwin/MINGW with x86_64 and the > resulting binaries work properly > > FWIW, the compile had some anomalous behavior: > > .../qemu-2.12.0-rc2/scripts/feature_to_c.sh: line 71: /usr/bin/sed: > Invalid argument > > line 71 is: > arrayname=xml_feature_$(echo $input | sed 's,.*/,,; s/[-.]/_/g') > > Not sure what the problem is, but I always use "-e" before scripts.
That's a bit odd. (POSIX allows both "-e script" and just "script".) What version of sed is this, and what version of /bin/sh ? thanks -- PMM