On 04/03/2013 02:21 PM, LRN wrote: >> I'm still stumped on how to reproduce this; on latest gnulib.git >> installed in a Cygwin setup, I did: > >> ./gnulib-tool --create-testdir --dir=testdir0 fseeko > >> then in that directory did a configure with a cross compiler: > >> ./configure --host=i686-pc-mingw32 --build=i686-pc-cygwin > >> and the resulting build passed all tests.
Rebuilding with --host=i686-w64-mingw32, I see a different story, and match the results you posted earlier, with different results on whether fseeko exists and needs replacing. But I'm still not hitting test failures, so maybe it is a bug that has been fixed (or been introduced) between the version of mingw64 on the machine I'm testing, vs. the machine where you are testing. > H-m-m-m...if the problem is in the way gnulib detects whether it needs > to replace fseek or not, then using mingw-w64 might give you different > results, since mingw.org and mingw-w64 headers and crt differ > significantly. > I'll try doing the same thing you listed above on my msys+mingw-w64 > installation. Any particular things in the output i should send back? It could also be something msys does differently than cygwin. At any rate, I'm fairly confident that if the lseek bug is present, and fseeko is detected, then it should be replaced, so I'm still playing around with my cross-compile to see if I can get that to happen. I'll let you know if I need more help. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature