Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make test fails on solaris 7 #518

Closed
p5pRT opened this issue Sep 14, 1999 · 5 comments
Closed

make test fails on solaris 7 #518

p5pRT opened this issue Sep 14, 1999 · 5 comments

Comments

@p5pRT
Copy link

p5pRT commented Sep 14, 1999

Migrated from rt.perl.org#1365 (status was 'resolved')

Searchable as RT1365$

@p5pRT
Copy link
Author

p5pRT commented Sep 14, 1999

From Dave_Blaylock@nbc.gov

I am trying to make Perl on a sparc Solaris 7 machine with gcc. using the OS supplied make, ld and as. The machine has Oracle 8i running on it and the OS has no patches. The make test fails on :

lib/anydb
lib/dumper
lib/io_taint
lib/io_tell
lib/io_xs
lib/ipc_sysv
lib/ndbm
lib/odbm
lib/ops
lib/ph
lib/sdbm

They all fail at test 0

myconfig output is​:
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration​:
  Platform​:
  osname=solaris, osvers=2.7, archname=sun4-solaris
  uname='sunos densun1 5.7 generic sun4u sparc sunw,ultra-250 '
  hint=recommended, useposix=true, d_sigaction=define
  usethreads=undef useperlio=undef d_sfio=undef
  Compiler​:
  cc='gcc -B/usr/ccs/bin/', optimize='-O', gccversion=2.95.1 19990816 (release
)
  cppflags='-I/usr/local/include'
  ccflags ='-I/usr/local/include'
  stdchar='char', d_stdstdio=define, usevfork=false
  intsize=4, longsize=4, ptrsize=4, doublesize=8
  d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
  alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries​:
  ld='gcc -B/usr/ccs/bin/', ldflags =' -L/usr/local/lib'
  libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
  libs=-lsocket -lnsl -ldl -lm -lc -lcrypt
  libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking​:
  dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
  cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'

Here is the output of harness.

base/cond...........ok
base/if.............ok
base/lex............ok
base/pat............ok
base/rs.............ok, 4/14 subtests skipped
base/term...........ok
comp/cmdopt.........ok
comp/colon..........ok
comp/cpp............gcc​: file path prefix `/usr/ccs/bin/' never used
gcc​: file path prefix `/usr/ccs/bin/' never used
ok
comp/decl...........ok
comp/multiline......ok
comp/package........ok
comp/proto..........ok
comp/redef..........ok
comp/require........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/iprefix..........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/avhv.............ok
op/bop..............ok
op/chop.............ok
op/closure..........ok
op/cmp..............ok
op/cond.............ok
op/context..........ok
op/defins...........ok
op/delete...........ok
op/die..............ok
op/die_exit.........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/goto_xs..........dubious
  Test returned status 0 (wstat 139, 0x8b)
  test program seems to have generated a core
  after all the subtests completed successfully
op/grep.............ok
op/groups...........ok
op/gv...............ok
op/hashwarn.........ok
op/inc..............ok
op/index............ok
op/int..............ok
op/join.............ok
op/list.............ok
op/local............ok
op/magic............ok, 4/35 subtests skipped
op/method...........ok
op/misc.............ok
op/mkdir............ok
op/my...............ok
op/nothread.........ok
op/oct..............ok
op/ord..............ok
op/pack.............ok
op/pat..............ok
op/pos..............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/regexp_noamp.....ok
op/repeat...........ok
op/runlevel.........ok
op/sleep............ok
op/sort.............ok
op/splice...........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, 6/149 subtests skipped
op/tie..............ok
op/tiearray.........ok
op/tiehandle........ok
op/time.............ok
op/tr...............ok
op/undef............ok
op/universal........ok
op/unshift..........ok
op/vec..............ok
op/wantarray........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..........dubious
  Test returned status 0 (wstat 132, 0x84)
  test program seems to have generated a core
lib/autoloader......ok
lib/basename........ok
lib/bigint..........ok
lib/bigintpm........ok
lib/cgi-form........ok
lib/cgi-function....ok
lib/cgi-html........ok
lib/cgi-request.....ok
lib/checktree.......ok
lib/complex.........ok
lib/db-btree........skipping test on this platform
lib/db-hash.........skipping test on this platform
lib/db-recno........skipping test on this platform
lib/dirhand.........ok
lib/dosglob.........ok
lib/dumper-ovl......ok
lib/dumper..........dubious
  Test returned status 0 (wstat 138, 0x8a)
  test program seems to have generated a core
lib/english.........ok
lib/env.............ok
lib/errno...........ok
lib/fatal...........ok
lib/fields..........ok
lib/filecache.......ok
lib/filecopy........dubious
  Test returned status 0 (wstat 132, 0x84)
  test program seems to have generated a core
  after all the subtests completed successfully
lib/filefind........ok
lib/filehand........dubious
  Test returned status 0 (wstat 4, 0x4)
  after all the subtests completed successfully
lib/filepath........ok
lib/filespec........ok
lib/findbin.........ok
lib/gdbm............skipping test on this platform
lib/getopt..........ok
lib/h2ph............ok
lib/hostname........ok
lib/io_dup..........dubious
  Test returned status 0 (wstat 132, 0x84)
  test program seems to have generated a core
  after all the subtests completed successfully
lib/io_pipe.........dubious
  Test returned status 0 (wstat 132, 0x84)
  test program seems to have generated a core
  after all the subtests completed successfully
lib/io_sel..........ok
lib/io_sock.........dubious
  Test returned status 0 (wstat 139, 0x8b)
  test program seems to have generated a core
  after all the subtests completed successfully
lib/io_taint........Bus Error - core dumped
dubious
  Test returned status 138 (wstat 35328, 0x8a00)
lib/io_tell.........dubious
  Test returned status 0 (wstat 139, 0x8b)
  test program seems to have generated a core
lib/io_udp..........dubious
  Test returned status 0 (wstat 132, 0x84)
  test program seems to have generated a core
  after all the subtests completed successfully
lib/io_xs...........dubious
  Test returned status 0 (wstat 139, 0x8b)
  test program seems to have generated a core
lib/ipc_sysv........dubious
  Test returned status 0 (wstat 139, 0x8b)
  test program seems to have generated a core
lib/ndbm............dubious
  Test returned status 0 (wstat 132, 0x84)
  test program seems to have generated a core
lib/odbm............dubious
  Test returned status 0 (wstat 132, 0x84)
  test program seems to have generated a core
lib/opcode..........dubious
  Test returned status 0 (wstat 132, 0x84)
  test program seems to have generated a core
  after all the subtests completed successfully
lib/open2...........dubious
  Test returned status 0 (wstat 139, 0x8b)
  test program seems to have generated a core
  after all the subtests completed successfully
lib/open3...........dubious
  Test returned status 0 (wstat 139, 0x8b)
  test program seems to have generated a core
  after all the subtests completed successfully
lib/ops.............dubious
  Test returned status 0 (wstat 138, 0x8a)
  test program seems to have generated a core
lib/parsewords......ok
lib/ph..............dubious
  Test returned status 0 (wstat 139, 0x8b)
  test program seems to have generated a core
lib/posix...........ok
lib/safe1...........dubious
  Test returned status 0 (wstat 132, 0x84)
  test program seems to have generated a core
  after all the subtests completed successfully
lib/safe2...........dubious
  Test returned status 0 (wstat 132, 0x84)
  test program seems to have generated a core
  after all the subtests completed successfully
lib/sdbm............dubious
  Test returned status 0 (wstat 138, 0x8a)
  test program seems to have generated a core
lib/searchdict......ok
lib/selectsaver.....ok
lib/socket..........ok
lib/soundex.........ok
lib/symbol..........ok
lib/textfill........ok
lib/texttabs........ok
lib/textwrap........ok
lib/thread..........skipping test on this platform
lib/tie-push........ok
lib/tie-stdarray....ok
lib/tie-stdpush.....ok
lib/timelocal.......ok
lib/trig............ok
Failed Test Status Wstat Total Fail Failed List of failed


lib/anydbm.t 0 132 ?? ?? % ??
lib/dumper.t 0 138 ?? ?? % ??
lib/filecopy.t 0 132 11 0 0.00% ??
lib/filehand.t 0 4 11 0 0.00% ??
lib/io_dup.t 0 132 6 0 0.00% ??
lib/io_pipe.t 0 132 10 0 0.00% ??
lib/io_sock.t 0 139 5 0 0.00% ??
lib/io_taint.t 138 35328 ?? ?? % ??
lib/io_tell.t 0 139 ?? ?? % ??
lib/io_udp.t 0 132 3 0 0.00% ??
lib/io_xs.t 0 139 ?? ?? % ??
lib/ipc_sysv.t 0 139 ?? ?? % ??
lib/ndbm.t 0 132 ?? ?? % ??
lib/odbm.t 0 132 ?? ?? % ??
lib/opcode.t 0 132 25 0 0.00% ??
lib/open2.t 0 139 7 0 0.00% ??
lib/open3.t 0 139 21 0 0.00% ??
lib/ops.t 0 138 ?? ?? % ??
lib/ph.t 0 139 ?? ?? % ??
lib/safe1.t 0 132 28 0 0.00% ??
lib/safe2.t 0 132 32 0 0.00% ??
lib/sdbm.t 0 138 ?? ?? % ??
op/goto_xs.t 0 139 10 0 0.00% ??
5 tests skipped, plus 14 subtests skipped.
Failed 23/190 test scripts, 87.89% okay. 0/6156 subtests failed, 100.00% okay.

If I run harness it keeps reporting that it has generated a core file. We are going to use DBI to go against a oracle database. Please let me know what to try. I have really enjoyed using Perl, it is a nice tool.

Thank you

Dave

@p5pRT
Copy link
Author

p5pRT commented Sep 14, 1999

From [Unknown Contact. See original ticket]

Dave Blaylock <Dave_Blaylock@​nbc.gov> writes​:

Hi All,

myconfig output is​:
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration​:
Platform​:
osname=solaris, osvers=2.7, archname=sun4-solaris
uname='sunos densun1 5.7 generic sun4u sparc sunw,ultra-250 '
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef useperlio=undef d_sfio=undef
Compiler​:
cc='gcc -B/usr/ccs/bin/', optimize='-O', gccversion=2.95.1 19990816 (release
)
If I run harness it keeps reporting that it has generated a core file. We are going to use DBI to go against a oracle database. Please let me know what to try. I have really enjoyed using Perl, it is a nice tool.

There has been some discussion on the gcc list regarding using gcc-2.95.*
with system's as/ld being sensetive to bugs in one of the Sun patches
to as/ld.

Also can you run

gcc -v

to confirm that gcc is infact build for solaris2.7 and not 2.6, 2.5.1 or
whatever.

Thank you

Dave
--
Nick Ing-Simmons <nik@​tiuk.ti.com>
Via, but not speaking for​: Texas Instruments Ltd.

@p5pRT
Copy link
Author

p5pRT commented Mar 28, 2000

From [Unknown Contact. See original ticket]

No they were not - at least if you had any XS code. XS_VERSION_BOOTCHECK
did (and does!) a string compare​:

# define XS_VERSION_BOOTCHECK \
...
if (tmpsv && (!SvOK(tmpsv) || strNE(XS_VERSION, SvPV(tmpsv, n_a)))) \
...

There's even more interesting code in universal.c about this,
which I hadn't looked at when I sent this in. Still, my
results remain confusing at the very very best.

--tom

@p5pRT
Copy link
Author

p5pRT commented Dec 9, 2000

From [Unknown Contact. See original ticket]

At 16​:32 +0200 1999-09-14, Dave Blaylock wrote​:

lib/anydb
...
lib/sdbm

They all fail at test 0

The test files should all have 555 (read & execute for owner, group and
all). If they haven't, change them (although the build procedure should
have done this already).

@p5pRT
Copy link
Author

p5pRT commented Nov 28, 2003

From The RT System itself

the suggested measures are very likely to be the right solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant