Subject: bug#1079: GNUstep port segfaults making autoloads on x86_64

From: Glenn Morris <[email-masked]>
Date: Mon, 06 Oct 2008 14:39:42 -0400

Glenn Morris wrote:

> Disclosure: my GNUstep.conf file is not in /etc, so I patched
> configure to accept a path to GNUstep.conf.

Emacs's configure, in case that was unclear, ie will not affect these tests.

You also wanted the tests.log output. Here are the failed pieces from
x86_64:

Testing base/GSMime/test01.m...
This is gnustep-make 2.0.6. Type 'make print-gnustep-make-help' for help.
gmake[1]: Entering directory `/scratch/gmorris/emacs/cvs/trunk/gnustep-testsuite/base/GSMime'
Making all for test_tool test01...
 Compiling file test01.m ...
test01.m: In function 'main':
test01.m:16: warning: unused variable 'complete'
 Linking test_tool test01 ...
gmake[1]: Leaving directory `/scratch/gmorris/emacs/cvs/trunk/gnustep-testsuite/base/GSMime'
Running base/GSMime/test01.m...
This is gnustep-make 2.0.6. Type 'make print-gnustep-make-help' for help.
PASS: can parse one header
PASS: First Header not complete until next starts
PASS: Adding partial headers is ok
PASS: Parsed first header as expected
PASS: Completing partial header is ok
PASS: Partial header not complete until next starts
PASS: Folded header is ok
PASS: Parsed partial header as expected <hello>
PASS: Folded header not complete until next starts
PASS: partial end-of-line is ok
PASS: Parsed folded header as expected testing
PASS: completing end-of-line is ok
PASS: charset is inferred
PASS: raw mime data for long header is OK
FAIL: can parse HTTP 200 reponse in one go
PASS: parse is complete
COMPLETED: base/GSMime/test01.m

Testing base/NSInvocation/general.m...
This is gnustep-make 2.0.6. Type 'make print-gnustep-make-help' for help.
gmake[1]: Entering directory `/scratch/gmorris/emacs/cvs/trunk/gnustep-testsuite/base/NSInvocation'
Making all in ../GenericTests...
gmake[2]: Entering directory `/scratch/gmorris/emacs/cvs/trunk/gnustep-testsuite/base/GenericTests'
Making all for subproject generictests...
gmake[3]: Nothing to be done for `internal-subproject-all'.
gmake[2]: Leaving directory `/scratch/gmorris/emacs/cvs/trunk/gnustep-testsuite/base/GenericTests'
Making all in Resources...
gmake[2]: Entering directory `/scratch/gmorris/emacs/cvs/trunk/gnustep-testsuite/base/NSInvocation/Resources'
Making all for bundle InvokeProxy...
gmake[3]: Nothing to be done for `internal-bundle-all'.
gmake[2]: Leaving directory `/scratch/gmorris/emacs/cvs/trunk/gnustep-testsuite/base/NSInvocation/Resources'
Making all for test_tool general...
 Compiling file general.m ...
 Linking test_tool general ...
gmake[1]: Leaving directory `/scratch/gmorris/emacs/cvs/trunk/gnustep-testsuite/base/NSInvocation'
Running base/NSInvocation/general.m...
This is gnustep-make 2.0.6. Type 'make print-gnustep-make-help' for help.
PASS: loading resources from bundle
PASS: Invoke retChar
PASS: Can return chars
PASS: Invoke retShort
PASS: Can return short
PASS: Invoke retInt
PASS: Can return int
PASS: Invoke retLong
PASS: Can return long
PASS: Invoke retFloat
PASS: Can return float
PASS: Invoke retDouble
PASS: Can return double
PASS: Invoke retObject
PASS: Can return object
PASS: Invoke loopChar:
PASS: Can send/return chars
PASS: Invoke loopShort:
PASS: Can send/return shorts
PASS: Invoke loopInt:
PASS: Can send/return ints
PASS: Invoke loopLong:
PASS: Can send/return longs
PASS: Invoke loopFloat:
PASS: Can send/return floats
PASS: Invoke loopDouble:
PASS: Can send/return double
PASS: Invoke loopObject:
PASS: Can send/return objects
PASS: Invoke loopString:
PASS: Can send/return char *
PASS: Invoke loopSmall:
PASS: Can send/return small structs
PASS: Invoke loopLarge:
FAIL: Can send/return large structs
COMPLETED: base/NSInvocation/general.m

Testing base/NSInvocation/test01.m...
This is gnustep-make 2.0.6. Type 'make print-gnustep-make-help' for help.
gmake[1]: Entering directory `/scratch/gmorris/emacs/cvs/trunk/gnustep-testsuite/base/NSInvocation'
Making all in ../GenericTests...
gmake[2]: Entering directory `/scratch/gmorris/emacs/cvs/trunk/gnustep-testsuite/base/GenericTests'
Making all for subproject generictests...
gmake[3]: Nothing to be done for `internal-subproject-all'.
gmake[2]: Leaving directory `/scratch/gmorris/emacs/cvs/trunk/gnustep-testsuite/base/GenericTests'
Making all in Resources...
gmake[2]: Entering directory `/scratch/gmorris/emacs/cvs/trunk/gnustep-testsuite/base/NSInvocation/Resources'
Making all for bundle InvokeProxy...
gmake[3]: Nothing to be done for `internal-bundle-all'.
gmake[2]: Leaving directory `/scratch/gmorris/emacs/cvs/trunk/gnustep-testsuite/base/NSInvocation/Resources'
Making all for test_tool test01...
 Compiling file test01.m ...
 Linking test_tool test01 ...
gmake[1]: Leaving directory `/scratch/gmorris/emacs/cvs/trunk/gnustep-testsuite/base/NSInvocation'
Running base/NSInvocation/test01.m...
This is gnustep-make 2.0.6. Type 'make print-gnustep-make-help' for help.
PASS: loading resources from bundle
PASS: Retain return value
PASS: Will Retain arguments after -retainArguments
PASS: default will not retain arguments
PASS: Check if nil target works
PASS: Exception in invocation #1
PASS: Exception getting return value #1
gmake[1]: *** [test] Segmentation fault
FAIL: base/NSInvocation/test01.m

Testing base/NSProxy/test01.m...
This is gnustep-make 2.0.6. Type 'make print-gnustep-make-help' for help.
gmake[1]: Entering directory `/scratch/gmorris/emacs/cvs/trunk/gnustep-testsuite/base/NSProxy'
Making all for test_tool test01...
 Compiling file test01.m ...
test01.m: In function '-[TypeTester idPid:]':
test01.m:116: warning: pointer type mismatch in conditional expression
 Linking test_tool test01 ...
gmake[1]: Leaving directory `/scratch/gmorris/emacs/cvs/trunk/gnustep-testsuite/base/NSProxy'
Running base/NSProxy/test01.m...
This is gnustep-make 2.0.6. Type 'make print-gnustep-make-help' for help.
PASS: Proxy signed char
PASS: Proxy unsigned char
PASS: Proxy signed short
PASS: Proxy unsigned short
PASS: Proxy singed int
PASS: Proxy unsigned int
PASS: Proxy signed long
PASS: Proxy unsigned long
PASS: Proxy signed long long
PASS: Proxy unsigned long long
PASS: Proxy float
PASS: Proxy float
PASS: Proxy id
PASS: Proxy enum
PASS: Proxy NSRange
FAIL: Proxy NSPoint
PASS: Proxy NSDecimal
FAIL: Proxy GSFinePoint
gmake[1]: *** [test] Segmentation fault
FAIL: base/NSProxy/test01.m

Testing base/NSStream/socket.m...
This is gnustep-make 2.0.6. Type 'make print-gnustep-make-help' for help.
gmake[1]: Entering directory `/scratch/gmorris/emacs/cvs/trunk/gnustep-testsuite/base/NSStream'
Making all for test_tool socket...
 Compiling file socket.m ...
socket.m:12: warning: pointer targets in initialization differ in signedness
 Linking test_tool socket ...
gmake[1]: Leaving directory `/scratch/gmorris/emacs/cvs/trunk/gnustep-testsuite/base/NSStream'
Running base/NSStream/socket.m...
This is gnustep-make 2.0.6. Type 'make print-gnustep-make-help' for help.
2008-10-06 18:30:04.942 socket[6877] Unknown time zone name `PST'.
2008-10-06 18:30:04.942 socket[6877] Using time zone with absolute offset 0.
2008-10-06 18:30:04.938 socket[6877] Got 8 on 0x1d3dfdb0
2008-10-06 18:30:04.944 socket[6877] Got 8 on 0x1d3dbaa0
FAIL: read www.google.com https
COMPLETED: base/NSStream/socket.m

Testing base/NSString/order.m...
This is gnustep-make 2.0.6. Type 'make print-gnustep-make-help' for help.
gmake[1]: Entering directory `/scratch/gmorris/emacs/cvs/trunk/gnustep-testsuite/base/NSString'
Making all for test_tool order...
 Compiling file order.m ...
 Linking test_tool order ...
gmake[1]: Leaving directory `/scratch/gmorris/emacs/cvs/trunk/gnustep-testsuite/base/NSString'
Running base/NSString/order.m...
This is gnustep-make 2.0.6. Type 'make print-gnustep-make-help' for help.
2008-10-06 18:30:38.608 order[7286] Unknown time zone name `PST'.
2008-10-06 18:30:38.608 order[7286] Using time zone with absolute offset 0.
2008-10-06 18:30:38.603 order[7286] No iconv for encoding x90000100
gmake[1]: *** [test] Segmentation fault
FAIL: base/NSString/order.m