Eli Zaretskii <[email protected]> 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

_______________________________________________
Help-libidn mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-libidn

Reply via email to