Odd behaviour when building on Win32 using MinGW



I'm trying to build glib-2.2.2 on Windows using MinGW only (not cygwin -
I've tried that too, and it doesn't work very well either - and btw.
both msys and cygwin paths where identical when I did this)
Initally the scripts in 'build\win32' didn't execute, but that was easy
to fix: just put 'sh ' in front of the script names in the make files.

make

ok

make check

9 out of 31 tests fail - see end of file for output 

The module-test seems to fail because PATH is not exported after the
necessary modifications 

shell-test : memory access error

Most of the other failures seems to be related to text handling.

So I'm wondering: is this the normal result on win32 ???

Best regards
Espen Harlinn


---------------------------- Related info ----------------------------

How I Invoke configure:
CC='gcc -O3 -mcpu=pentium4 -march=pentium4 -mmmx -msse -msse2
-mfpmath=sse -mthreads -mno-cygwin -mms-bitfields' CXX='g++
-mcpu=pentium4 -march=pentium4 -mmmx -msse -msse2 -mfpmath=sse -mthreads
-mno-cygwin -mms-bitfields' CPPFLAGS='-I/f/MinGW/include'
LDFLAGS='-L/f/MinGW/lib' configure --disable-static --prefix=/f/MinGW
--with-threads=win32 --build=i686-pc-mingw32

I'm linking against the following libraries:
libiconv-1.9.1
gettext-0.12.1 (for libintl)

And they are both configured with:
CC='gcc -O3 -mcpu=pentium4 -march=pentium4 -mmmx -msse -msse2
-mfpmath=sse -mthreads -mno-cygwin -mms-bitfields' CXX='g++
-mcpu=pentium4 -march=pentium4 -mmmx -msse -msse2 -mfpmath=sse -mthreads
-mno-cygwin -mms-bitfields' CPPFLAGS='-I/f/MinGW/include'
LDFLAGS='-L/f/MinGW/lib' configure --disable-static --prefix=/f/MinGW
--build=i686-pc-mingw32

'make check' for both of them was ok.


Output from 'make check' (glib-2.2.2):
PASS: array-test
PASS: cxx-test
PASS: date-test
PASS: dirname-test
gio-test: window_procedure for 0x114043c: 36,0,2288180
gio-test: window_procedure for 0x114043c: 129,0,2288172
gio-test: window_procedure for 0x114043c: 131,0,2288212
gio-test: window_procedure for 0x114043c: 1,0,2288148
gio-test: child writing 8+219 bytes to 6
gio-test: had to wait 0.030 s, result:1
gio-test: ...from 5: IN
gio-test: ...from 5: 219 bytes
gio-test: ...from 5: OK
gio-test: child writing 8+743 bytes to 6
gio-test: ...from 5: IN
gio-test: ...from 5: 743 bytes
gio-test: ...from 5: OK
gio-test: child writing 8+4072 bytes to 6
gio-test: ...from 5: IN
gio-test: ...from 5: 4072 bytes
gio-test: ...from 5: OK
gio-test: child writing 8+4692 bytes to 6
gio-test: ...from 5: IN
gio-test: ...from 5: 4692 bytes
gio-test: ...from 5: OK
gio-test: child writing 8+491 bytes to 6
gio-test: ...from 5: IN
gio-test: ...from 5: 491 bytes
gio-test: ...from 5: OK
gio-test: child writing 8+4677 bytes to 6
gio-test: ...from 5: IN
gio-test: ...from 5: 4677 bytes
gio-test: ...from 5: OK
gio-test: child writing 8+824 bytes to 6
gio-test: ...from 5: IN
gio-test: ...from 5: 824 bytes
gio-test: ...from 5: OK
gio-test: child writing 8+4676 bytes to 6
gio-test: ...from 5: IN
gio-test: ...from 5: 4676 bytes
gio-test: ...from 5: OK
gio-test: child writing 8+3467 bytes to 6
gio-test: ...from 5: IN
gio-test: ...from 5: 3467 bytes
gio-test: ...from 5: OK
gio-test: child writing 8+4859 bytes to 6
gio-test: ...from 5: IN
gio-test: ...from 5: 4859 bytes
gio-test: ...from 5: OK
gio-test: child writing 8+2094 bytes to 6
gio-test: ...from 5: IN
gio-test: ...from 5: 2094 bytes
gio-test: ...from 5: OK
gio-test: child writing 8+1628 bytes to 6
gio-test: ...from 5: IN
gio-test: ...from 5: 1628 bytes
gio-test: ...from 5: OK
gio-test: child posting message 1053,7111,27439 to 0x114043c
gio-test: ...Windows message for 0x114043c: 1053,7111,27439
gio-test: child writing 8+2547 bytes to 6
gio-test: ...from 5: IN
gio-test: ...from 5: 2547 bytes
gio-test: ...from 5: OK
gio-test: child writing 8+3212 bytes to 6
gio-test: ...from 5: IN
gio-test: ...from 5: 3212 bytes
gio-test: ...from 5: OK
gio-test: child writing 8+4675 bytes to 6
gio-test: ...from 5: IN
gio-test: ...from 5: 4675 bytes
gio-test: ...from 5: OK
gio-test: child writing 8+1779 bytes to 6
gio-test: ...from 5: IN
gio-test: ...from 5: 1779 bytes
gio-test: ...from 5: OK
gio-test: child writing 8+448 bytes to 6
gio-test: ...from 5: IN
gio-test: ...from 5: 448 bytes
gio-test: ...from 5: OK
gio-test: child writing 8+4703 bytes to 6
gio-test: ...from 5: IN
gio-test: ...from 5: 4703 bytes
gio-test: ...from 5: OK
gio-test: child writing 8+1390 bytes to 6
gio-test: ...from 5: IN
gio-test: ...from 5: 1390 bytes
gio-test: ...from 5: OK
gio-test: child writing 8+2165 bytes to 6
gio-test: ...from 5: IN
gio-test: ...from 5: 2165 bytes
gio-test: ...from 5: OK
gio-test: child writing 8+3094 bytes to 6
gio-test: ...from 5: IN
gio-test: ...from 5: 3094 bytes
gio-test: ...from 5: OK
gio-test: child writing 8+2928 bytes to 6
gio-test: ...from 5: IN
gio-test: ...from 5: 2928 bytes
gio-test: ...from 5: OK
gio-test: child writing 8+522 bytes to 6
gio-test: ...from 5: IN
gio-test: ...from 5: 522 bytes
gio-test: ...from 5: OK
gio-test: child writing 8+2422 bytes to 6
gio-test: ...from 5: IN
gio-test: ...from 5: 2422 bytes
gio-test: ...from 5: OK
gio-test: child exiting, closing 6
gio-test: ...from 5: HUP IN
gio-test: ...from 5: EOF
PASS: gio-test
PASS: hash-test

(process:4752): GLib-WARNING **: g_io_win32_set_flags () not
implemented.

 BLOCKING TRUE

Line one
Line two
Line three
/* Hello */
\x1234\x567890\x6666
read 62 bytes, wrote 62 bytes
PASS: iochannel-test
PASS: list-test
Timeout run 238 times
Timeout run 247 times
Timeout run 258 times
Timeout run 263 times
PASS: mainloop-test

abnormal program termination
FAIL: module-test
PASS: node-test
PASS: patterntest
PASS: queue-test
PASS: qsort-test
PASS: rand-test
PASS: relation-test
FAIL: shell-test
PASS: slist-test
The following errors are supposed to occur:
FAIL: spawn-test
PASS: spawn-test-win32-gui
Assertion failed: VALID(buffer), file trio.c, line 3941

abnormal program termination
FAIL: strfunc-test
PASS: string-test

abnormal program termination
FAIL: strtod-test
PASS: thread-test
PASS: threadpool-test
PASS: tree-test

abnormal program termination
FAIL: type-test
Cannot set locale to tr_TR, skipping
Cannot set locale to tr_TR, skipping
Cannot set locale to lt_LT, skipping
Cannot set locale to lt_LT, skipping
PASS: unicode-caseconv
line 94: valid but g_utf8_validate returned FALSE
FAIL: unicode-encoding
.........FAIL: uri-test
Parsing ./markups/fail-1.gmarkup, should fail
Test failed: unexpected error on ./markups/fail-1.gmarkup
FAIL: run-markup-tests.sh
====================
9 of 31 tests failed
====================
make[2]: *** [check-TESTS] Error 1
make[2]: Leaving directory `/f/Src/MinGW/Source/glib-2.2.2/tests'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/f/Src/MinGW/Source/glib-2.2.2/tests'
make: *** [check-recursive] Error 1




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