View Single Post
  #1 (permalink)  
Old 03-17-2004
peter.s peter.s is offline
Registered User
 
 
Join Date: Mar 2004
Posts: 12
patch for alpha and linux-ppc

hello,

i created a small patch for the include/IceUtil/Config.h and the src/icecpp/config.h include files to make Ice compile (and at least partly run) on

Debian/powerpc/sid Linux (a G4 450MHz)
and on
Debian/alpha/sid Linux (a Digital AlphaPC 164SX 533 MHz)

(the changes are mainly due to the architecture (alpha = 64bit little endian, ppc = 32bit big endian) and due to the fact that the preprocessor symbol for 'powerpc' is not only "__ppc__" but on some linux distributions "__powerpc__" or "powerpc" or on 64bit powerpc architectures "powerpc64"

the patch consists of separate patch files in context diff format for the two header files

unfortunately the tests were not completely satisfying:
the ppc had the following error:
Code:
...

*** running tests in ./test/Freeze/evictor
starting server... ok
starting client... ok
testing Freeze Evictor... ok

*** running tests in ./test/IceStorm/single
starting icestorm service... failed!
test in ./test/IceStorm/single failed with exit status 256
the alpha had the following error:
Code:
...

*** running tests in ./test/Ice/exceptions
tests with regular server.
starting server... ok
starting client... ok
testing servant registration exceptions... ok
testing servant locator registrations exceptions... ok
testing object factory registration exceptions... ok
testing stringToProxy... ok
testing checked cast... ok
catching exact types... ok
catching base types... ok
catching derived types... ok
catching unknown user exception... ok
catching object not exist exception... ok
catching facet not exist exception... ok
catching operation not exist exception... ok
catching unknown local exception... warning: connection exception:
SslTransceiver.cpp:267: Ice::ConnectionLostException:
connection lost: recv() returned zero
local address = 127.0.0.1:12345
remote address = 127.0.0.1:32894
test in ./test/Ice/exceptions failed with exit status 256
is there a possibility to get a better error reporting from these tests?

thanks for reading up to this point ;-)
Peter
Attached Files
File Type: gz alpha_ppc_config-1.3.0.tar.gz (765 Bytes, 245 views)
Reply With Quote