v4.0e C compiler problems?

From: Sylvain Robitaille <syl_at_alcor.concordia.ca>
Date: Fri, 14 May 1999 18:02:17 -0400 (EDT)

I recently installed (fresh install) DU-4.0e on a couple of my systems,
and it seems that certain software packages don't compile correctly,
notably perl-5.004.03 and openssl-0.9.2b. Both compile correctly and
appear to function properly on 4.0b systems we still have.

When they're compiled on the 4.0e systems, they appear to compile
correctly, but fail when one calls 'make test' (see appended for
details -- Sorry about the length).

In case anyone will be trying to duplicate my tests, I suggest the
following change in the openssl Makefile, or the link fails:

   /local/pkg/openssl/openssl-0.9.2b/Makefile.ssl:
   49c49
   < BN_ASM= asm/alpha.o
   ---
> BN_ASM= bn_asm.o

I do repeat that these packages do compile correctly on 4.0b systems
(with patchkit9 installed, but not on 4.0e systems with patchkit1
installed). Interestingly, Perl seems ok on 4.0d, but openssl fails at
the same place as it does on 4.0e.

Perl can be obtained at ftp.perl.org, and openssl can be found at
ftp.openssl.org. Thanks to anyone who can offer advice.

-- 
----------------------------------------------------------------------
Sylvain Robitaille                              syl_at_alcor.concordia.ca
 
Systems Manager                                   Concordia University
Instructional & Information Technology        Montreal, Quebec, Canada
----------------------------------------------------------------------
----- make test in openssl: -----
: aries[root] /local/pkg/openssl/openssl-0.9.2b; make rehash
Doing certs
ICE-CA.pem => 6bee6be3.0
ICE-root.pem => adbec561.0
ICE-user.pem => 3ecf89a3.0
ca-cert.pem => 1f6c59cd.0
dsa-ca.pem => 73912336.0
dsa-pca.pem => 24867d38.0
factory.pem => f3e90025.0
nortelCA.pem => 1ef89214.0
pca-cert.pem => 8caad35e.0
rsa-cca.pem => a99c5886.0
rsa-ssca.pem => f73e89fd.0
thawteCb.pem => ddc328ff.0
thawteCp.pem => c33a80d4.0
timCA.pem => 8c401b31.0
tjhCA.pem => 052eae11.0
vsign1.pem => 2edf7016.0
vsign2.pem => b5f329fa.0
vsign3.pem => 7651b327.0
vsign4.pem => 9d0c2a65.0
vsignss.pem => f73e89fd.0
vsigntca.pem => 18d46017.0
: aries[root] /local/pkg/openssl/openssl-0.9.2b; make test
testing...
./destest
Doing cbcm
Doing ecb
Doing ede ecb
Doing cbc
Doing desx cbc
Doing ede cbc
Doing pcbc
Doing cfb8 cfb16 cfb32 cfb48 cfb64 cfb64() ede_cfb64() done
Doing ofb
Doing ofb64
Doing ede_ofb64
Doing cbc_cksum
Doing quad_cksum
input word alignment test 0 1 2 3
output word alignment test 0 1 2 3
fast crypt test 
./ideatest
ecb idea ok
cbc idea ok
cfb64 idea ok
./shatest
test 1 ok
test 2 ok
test 3 ok
./sha1test
test 1 ok
test 2 ok
test 3 ok
./md5test
test 1 ok
test 2 ok
test 3 ok
test 4 ok
test 5 ok
test 6 ok
test 7 ok
./hmactest
test 0 ok
test 1 ok
test 2 ok
test 3 ok
./md2test
test 1 ok
test 2 ok
test 3 ok
test 4 ok
test 5 ok
test 6 ok
test 7 ok
./mdc2test
pad1 - ok
pad2 - ok
./rc2test
ecb RC2 ok
./rc4test
test 0 ok
test 1 ok
test 2 ok
test 3 ok
test 4 ok
test 5 ok
test end processing ....................done
test multi-call ....................done
./rc5test
ecb RC5 ok
cbc RC5 ok
./bftest
testing blowfish in raw ecb mode
testing blowfish in ecb mode
testing blowfish set_key
testing blowfish in cbc mode
testing blowfish in cfb64 mode
testing blowfish in ofb64
./casttest
ecb cast5 ok
This test will take some time....123456789ABCDEF ok
./randtest
test 1 done
test 2 done
test 3 done
test 4 done
cat
base64
rc4
rc4 base64
des-cfb
des-cfb base64
des-ede-cfb
des-ede-cfb base64
des-ede3-cfb
des-ede3-cfb base64
des-ofb
des-ofb base64
des-ede-ofb
des-ede-ofb base64
des-ede3-ofb
des-ede3-ofb base64
des-ecb
des-ecb base64
des-ede
des-ede base64
des-ede3
des-ede3 base64
desx
desx base64
des-cbc
des-cbc base64
des-ede-cbc
des-ede-cbc base64
des-ede3-cbc
des-ede3-cbc base64
idea-ecb
idea-ecb base64
idea-cfb
idea-cfb base64
idea-ofb
idea-ofb base64
idea-cbc
idea-cbc base64
rc2-ecb
rc2-ecb base64
rc2-cfb
rc2-cfb base64
rc2-ofb
rc2-ofb base64
rc2-cbc
rc2-cbc base64
bf-ecb
bf-ecb base64
bf-cfb
bf-cfb base64
bf-ofb
bf-ofb base64
bf-cbc
bf-cbc base64
rc4
rc4 base64
cast5-ecb
cast5-ecb base64
cast5-cfb
cast5-cfb base64
cast5-ofb
cast5-ofb base64
cast5-cbc
cast5-cbc base64
echo test normal x509v1 certificate
test normal x509v1 certificate
sh ./tx509 2>/dev/null
testing X509 conversions
p -> d
p -> n
p -> p
d -> d
n -> d
p -> d
d -> n
n -> n
p -> n
d -> p
n -> p
p -> p
echo test first x509v3 certificate
test first x509v3 certificate
sh ./tx509 v3-cert1.pem 2>/dev/null
testing X509 conversions
p -> d
p -> n
p -> p
d -> d
n -> d
p -> d
d -> n
n -> n
p -> n
d -> p
n -> p
p -> p
echo test second x509v3 certificate
test second x509v3 certificate
sh ./tx509 v3-cert2.pem 2>/dev/null
testing X509 conversions
p -> d
p -> n
p -> p
d -> d
n -> d
p -> d
d -> n
n -> n
p -> n
d -> p
n -> p
p -> p
testing rsa conversions
p -> d
p -> p
d -> d
p -> d
d -> p
p -> p
./rsa_oaep_test
Encryption failed!
Encryption failed!
Encryption failed!
*** Exit 1
Stop.
*** Exit 1
Stop.
----- make test in perl -----
: aries[root] /local/src/perl/perl-5.004; make test
        AutoSplitting perl library
        Making DynaLoader (static)
        Making DB_File (dynamic)
        Making Fcntl (dynamic)
        Making IO (dynamic)
        Making NDBM_File (dynamic)
        Making ODBM_File (dynamic)
        Making Opcode (dynamic)
        Making POSIX (dynamic)
        Making SDBM_File (dynamic)
        Making Socket (dynamic)
cd t && (rm -f perl; /usr/bin/ln -s ../perl perl)
cd t && ./perl TEST </dev/tty
base/cond.........ok
base/if...........ok
base/lex..........ok
base/pat..........ok
base/term.........ok
comp/cmdopt.......ok
comp/colon........ok
comp/cpp..........ok
comp/decl.........ok
comp/multiline....ok
comp/package......ok
comp/proto........ok
comp/redef........ok
comp/script.......ok
comp/term.........ok
comp/use..........ok
cmd/elsif.........ok
cmd/for...........ok
cmd/mod...........ok
cmd/subval........ok
cmd/switch........ok
cmd/while.........ok
io/argv...........ok
io/dup............ok
io/fs.............ok
io/inplace........ok
io/pipe...........ok
io/print..........ok
io/read...........ok
io/tell...........ok
op/append.........ok
op/arith..........ok
op/array..........ok
op/assignwarn.....ok
op/auto...........ok
op/bop............ok
op/chop...........ok
op/closure........ok
op/cmp............ok
op/cond...........ok
op/delete.........ok
op/do.............ok
op/each...........ok
op/eval...........ok
op/exec...........ok
op/exp............ok
op/flip...........ok
op/fork...........ok
op/glob...........ok
op/goto...........ok
op/groups.........ok
op/gv.............ok
op/inc............ok
op/index..........ok
op/int............ok
op/join...........ok
op/list...........ok
op/local..........ok
op/magic..........ok
op/method.........ok
op/misc...........ok
op/mkdir..........ok
op/my.............ok
op/oct............ok
op/ord............ok
op/pack...........FAILED at test 9
op/pat............ok
op/push...........ok
op/quotemeta......ok
op/rand...........ok
op/range..........ok
op/read...........ok
op/readdir........ok
op/recurse........ok
op/ref............ok
op/regexp.........ok
op/repeat.........ok
op/runlevel.......ok
op/sleep..........ok
op/sort...........ok
op/split..........ok
op/sprintf........ok
op/stat...........ok
op/study..........ok
op/subst..........ok
op/substr.........ok
op/sysio..........ok
op/taint..........ok
op/tie............ok
op/time...........ok
op/undef..........ok
op/universal......ok
op/unshift........ok
op/vec............ok
op/write..........ok
pragma/constant...ok
pragma/locale.....ok
pragma/overload...ok
pragma/strict.....ok
pragma/subs.......ok
pragma/warning....ok
lib/abbrev........ok
lib/anydbm........ok
lib/autoloader....ok
lib/basename......ok
lib/bigint........ok
lib/bigintpm......ok
lib/checktree.....ok
lib/complex.......ok
lib/db-btree......ok
lib/db-hash.......ok
lib/db-recno......ok
lib/dirhand.......ok
lib/english.......ok
lib/env...........ok
lib/filecache.....ok
lib/filecopy......ok
lib/filefind......ok
lib/filehand......ok
lib/filepath......ok
lib/findbin.......ok
lib/gdbm..........skipping test on this platform
lib/getopt........ok
lib/hostname......ok
lib/io_dup........ok
lib/io_pipe.......ok
lib/io_sel........ok
lib/io_sock.......ok
lib/io_taint......ok
lib/io_tell.......ok
lib/io_udp........ok
lib/io_xs.........ok
lib/ndbm..........ok
lib/odbm..........ok
lib/opcode........ok
lib/open2.........ok
lib/open3.........ok
lib/ops...........ok
lib/parsewords....ok
lib/posix.........ok
lib/safe1.........ok
lib/safe2.........ok
lib/sdbm..........ok
lib/searchdict....ok
lib/selectsaver...ok
lib/socket........ok
lib/soundex.......ok
lib/symbol........ok
lib/texttabs......ok
lib/textwrap......ok
lib/timelocal.....ok
lib/trig..........ok
Failed 1 test script out of 152, 98.68% okay.
   ### Since not all tests were successful, you may want to run some
   ### of them individually and examine any diagnostic messages they
   ### produce.  See the INSTALL document's section on "make test".
   ###
   ### Since most tests were successful, you have a good chance to
   ### get information with better granularity by running
   ###     ./perl harness
   ### in directory ./t.
u=0.183333  s=0.583333  cu=15.7667  cs=8.75  scripts=151  tests=4797
*** Exit 1
Stop.
: aries[root] /local/src/perl/perl-5.004; cd t
: aries[root] /local/src/perl/perl-5.004/t; ./perl harness
base/cond...........ok
base/if.............ok
base/lex............ok
base/pat............ok
base/term...........ok
comp/cmdopt.........ok
comp/colon..........ok
comp/cpp............ok
comp/decl...........ok
comp/multiline......ok
comp/package........ok
comp/proto..........ok
comp/redef..........ok
comp/script.........ok
comp/term...........ok
comp/use............ok
cmd/elsif...........ok
cmd/for.............ok
cmd/mod.............ok
cmd/subval..........ok
cmd/switch..........ok
cmd/while...........ok
io/argv.............ok
io/dup..............ok
io/fs...............ok
io/inplace..........ok
io/pipe.............ok
io/print............ok
io/read.............ok
io/tell.............ok
op/append...........ok
op/arith............ok
op/array............ok
op/assignwarn.......ok
op/auto.............ok
op/bop..............ok
op/chop.............ok
op/closure..........ok
op/cmp..............ok
op/cond.............ok
op/delete...........ok
op/do...............ok
op/each.............ok
op/eval.............ok
op/exec.............ok
op/exp..............ok
op/flip.............ok
op/fork.............ok
op/glob.............ok
op/goto.............ok
op/groups...........ok
op/gv...............ok
op/inc..............ok
op/index............ok
op/int..............ok
op/join.............ok
op/list.............ok
op/local............ok
op/magic............ok
op/method...........ok
op/misc.............ok
op/mkdir............ok
op/my...............ok
op/oct..............ok
op/ord..............ok
op/pack.............FAILED test 9
        Failed 1/29 tests, 96.55% okay
op/pat..............ok
op/push.............ok
op/quotemeta........ok
op/rand.............ok
op/range............ok
op/read.............ok
op/readdir..........ok
op/recurse..........ok
op/ref..............ok
op/regexp...........ok
op/repeat...........ok
op/runlevel.........ok
op/sleep............ok
op/sort.............ok
op/split............ok
op/sprintf..........ok
op/stat.............ok
op/study............ok
op/subst............ok
op/substr...........ok
op/sysio............ok
op/taint............ok
op/tie..............ok
op/time.............ok
op/undef............ok
op/universal........ok
op/unshift..........ok
op/vec..............ok
op/write............ok
pragma/constant.....ok
pragma/locale.......ok
pragma/overload.....ok
pragma/strict.......ok
pragma/subs.........ok
pragma/warning......ok
lib/abbrev..........ok
lib/anydbm..........ok
lib/autoloader......ok
lib/basename........ok
lib/bigint..........ok
lib/bigintpm........ok
lib/checktree.......ok
lib/complex.........ok
lib/db-btree........ok
lib/db-hash.........ok
lib/db-recno........ok
lib/dirhand.........ok
lib/english.........ok
lib/env.............ok
lib/filecache.......ok
lib/filecopy........ok
lib/filefind........ok
lib/filehand........ok
lib/filepath........ok
lib/findbin.........ok
lib/gdbm............skipping test on this platform
lib/getopt..........ok
lib/hostname........ok
lib/io_dup..........ok
lib/io_pipe.........ok
lib/io_sel..........ok
lib/io_sock.........ok
lib/io_taint........ok
lib/io_tell.........ok
lib/io_udp..........ok
lib/io_xs...........ok
lib/ndbm............ok
lib/odbm............ok
lib/opcode..........ok
lib/open2...........ok
lib/open3...........ok
lib/ops.............ok
lib/parsewords......ok
lib/posix...........ok
lib/safe1...........ok
lib/safe2...........ok
lib/sdbm............ok
lib/searchdict......ok
lib/selectsaver.....ok
lib/socket..........ok
lib/soundex.........ok
lib/symbol..........ok
lib/texttabs........ok
lib/textwrap........ok
lib/timelocal.......ok
lib/trig............ok
Failed Test  Status Wstat Total Fail  Failed  List of failed
------------------------------------------------------------------------------
op/pack.t                    29    1   3.45%  9
Failed 1/152 test scripts, 99.34% okay. 1/4797 subtests failed, 99.98% okay.
: aries[root] /local/src/perl/perl-5.004/t; ./op/pack.t
1..29
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
not ok 9 1.84467440737096e+19
ok 10
ok 11
ok 12
ok 13
ok 14
ok 15
ok 16
ok 17
ok 18
ok 19
ok 20
ok 21
ok 22
ok 23
ok 24
ok 25
ok 26
ok 27
ok 28
ok 29
: Ok. Lets see what fails:
: aries[root] /local/src/perl/perl-5.004/t; cat /tmp/perltest.pl
    #!./perl
    
    # This Perl script copied from /local/src/perl/perl-5.004/t/op/pack.t,
    # test 9, repeated with different numbers to try and identify where
    # failure occurs.
    print +($x = unpack("I",pack("I", 0x0FFFFFFF))) == 0x0FFFFFFF
            ? "ok 1\n" : "not ok 1 $x\n";
    printf "%X\n", $x;
    
    print +($x = unpack("I",pack("I", 0x7FFFFFFF))) == 0x7FFFFFFF
            ? "ok 2\n" : "not ok 2 $x\n";
    printf "%X\n", $x;
    
    print +($x = unpack("I",pack("I", 0x8FFFFFFF))) == 0x8FFFFFFF
            ? "ok 3\n" : "not ok 3 $x\n";
    printf "%X\n", $x;
    
    print +($x = unpack("I",pack("I", 0xFFFFFFFF))) == 0xFFFFFFFF
            ? "ok 4\n" : "not ok 4 $x\n";
    printf "%X\n", $x;
: aries[root] /local/src/perl/perl-5.004/t; /tmp/perltest.pl
ok 1
FFFFFFF
ok 2
7FFFFFFF
not ok 3 1.84467440718305e+19
90000000
not ok 4 1.84467440737096e+19
0
Received on Fri May 14 1999 - 22:04:41 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:39 NZDT