help-libidn
[Top][All Lists]
Advanced

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

Re: Win64, libidn-1.19, one failing test.


From: Simon Josefsson
Subject: Re: Win64, libidn-1.19, one failing test.
Date: Tue, 01 Mar 2011 16:28:49 +0100
User-agent: Gnus/5.110014 (No Gnus v0.14) Emacs/23.2 (gnu/linux)

"Sisyphus" <address@hidden> writes:

> Hi,
>
> I build using the MinGW64 cross-compiler in the msys shell with:

Hi.  Can you try the latest 1.20 release?  It has updated gnulib files
(which is where getopt comes from) and I built some other projects using
recent gnulib under MinGW64 and that worked fine.

I really should create some mingw32/mingw64 make scripts and publish
official DLLs, I do that for some other projects already.

/Simon

> ./configure --enable-static --disable-shared
> --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32
> CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ AR=
> x86_64-w64-mingw32-ar LD=x86_64-w64-mingw32-ld
> NM=x86_64-w64-mingw32-nm RANLIB=x86_64-w64-mingw32-ranlib
> LDFLAGS=-L/usr/local/lib CPPFLAGS=-I/usr/local/include
> --prefix=/usr/local && make && make check
>
> Everything is fine, but one (and only one) test fails:
>
> PASS: test-errno.exe
> test-getopt.h:773: assertion failed
> FAIL: test-getopt.exe
>
> test-getopt.h contains:
>
> 769:         }
> 770:       else
> 771:         {
> 772:           ASSERT (strcmp (argv[0], "program") == 0);
> 773:           ASSERT (strcmp (argv[1], "-p") == 0);
> 774:           ASSERT (strcmp (argv[2], "billy") == 0);
> 775:           ASSERT (strcmp (argv[3], "-a") == 0);
> 776:           ASSERT (strcmp (argv[4], "donald") == 0);
> 777:           ASSERT (strcmp (argv[5], "duck") == 0);
> 778:           ASSERT (strcmp (argv[6], "bar") == 0);
>
> How would that error arise ?
> What further action can I take to help answer the previous question ?
>
> When I build using a 32-bit MinGW compiler test-getopt.exe passes, as
> do all of the other tests (except, of course, those that are skipped).
>
> Cheers,
> Rob



reply via email to

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