help-libidn
[Top][All Lists]
Advanced

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

Re: Test failure of the MinGW build of libidn-1.23


From: Simon Josefsson
Subject: Re: Test failure of the MinGW build of libidn-1.23
Date: Mon, 02 Jan 2012 22:08:50 +0100
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

> I built today libidn 1.23 using MinGW, and the test suite failed in
> lib/gltests:
>
>      make[4]: Entering directory `/d/usr/eli/utils/libidn-1.23/lib/gltests'
>        CC     localename.o
>      gcc.exe: ../../gl: linker input file unused because linking not done
>      gcc.exe: ../../gl: linker input file unused because linking not done
>      cc1.exe: ../../gl: No such file or directory
>      cc1.exe: internal compiler error: Segmentation fault
>      Please submit a full bug report,
>      with preprocessed source if appropriate.
>      See <URL:http://www.mingw.org/bugs.shtml> for instructions.
>      make[4]: *** [localename.o] Error 1
>
> Here's the full GCC command line:
>
>      depbase=`echo localename.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
>           gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..  
> -DIN_LIBIDN_GNULIB_TESTS=1 -I. -I. -I../.. -I./../.. -I../../lib/gl 
> -I./../../lib/gl ../../gl ../../gl -I/d/usr/include  -g -O2 -MT localename.o 
> -MD -MP -MF $depbase.Tpo -c -o localename.o localename.c &&\
>              mv -f $depbase.Tpo $depbase.Po
>
> Note the two instances of "../../gl", which is certainly not TRT.  The
> reason is this line in Makefile.am:
>
>      AM_CPPFLAGS += $(top_builddir)/gl $(top_srcdir)/gl
>
> which misses the "-I" part.
>
> I guess no one ran these tests, at least not in the MinGW build...
>
> After fixing this, all the tests pass (the tests that need symlinks
> were skipped, as expected).

Thank you for the report.  The problem was introduced in 1.23 and has
already been resolved in git master.  I'm going to push out 1.24 soon.

/Simon



reply via email to

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