zsh-workers
 help / color / mirror / code / Atom feed
* zsh 4.0.1 make check failures on irix, freebsd, solaris, aix, linux
@ 2001-06-09  1:03 Timothy Miller
  2001-06-09  4:59 ` Bart Schaefer
  0 siblings, 1 reply; 5+ messages in thread
From: Timothy Miller @ 2001-06-09  1:03 UTC (permalink / raw)
  To: zsh-workers

[-- Attachment #1: Type: text/plain, Size: 351 bytes --]

I seem to be getting make check failures on the new version of zsh on all
the architectures we have around here! As the README asks, I am not a
subscriber to this list. The Y03's are all the same, but not all the C02's
are the same.

On freebsd 4.1.1 on x86, Y03 fails. I enclose the result of Util/reporter
followed by the verbose log of that test.


[-- Attachment #2: freebsd 4.1.1 failure report & log --]
[-- Type: application/octet-stream, Size: 20356 bytes --]

[-- Attachment #3: Type: text/plain, Size: 224 bytes --]


On Irix 6.3, gcc 2.8.0, C02, Y01, Y02, Y03 fail. Y0[123] appear to be due to 
zpty failure, which is documented as a lack of support, so I don't include
them (just C02). Using the SGI cc gives essentially the same result.


[-- Attachment #4: irix 6.3 gcc 2.8.0 report & log --]
[-- Type: application/octet-stream, Size: 7001 bytes --]

# START zsh saveset
# uname:  IRIX water 6.3 12161207 IP32

# Aliases.

alias run-help=man
alias which-command=whence

# Key bindings.

Util/reporter:231: failed to load module: zsh/zle
Util/reporter:bindkey:231: autoload failed
Util/reporter:241: failed to load module: zsh/zle
Util/reporter:bindkey:241: autoload failed

# Completions.

Util/reporter:256: command not found: compctl

# Undefined functions.


# Defined functions.


# Limits.

Util/reporter:295: failed to load module: zsh/rlimits
Util/reporter:limit:295: autoload failed
Util/reporter:313: failed to load module: zsh/rlimits
Util/reporter:limit:313: autoload failed

# Modules.

zmodload -d zsh/zutil zsh/complete
zmodload -d zsh/compctl zsh/complete zsh/zle
zmodload -d zsh/complete zsh/zle
zmodload -d zsh/complist zsh/complete zsh/zle
zmodload -d zsh/computil zsh/complete zsh/zle
zmodload -d zsh/zleparameter zsh/zle

zmodload -ab zsh/rlimits ulimit
zmodload -ab zsh/computil compfiles
zmodload -ab zsh/zle zle
zmodload -ab zsh/sched sched
zmodload -ab zsh/zutil zparseopts
zmodload -ab zsh/computil comptags
zmodload -ab zsh/computil compdescribe
zmodload -ab zsh/zutil zregexparse
zmodload -ab zsh/complete compadd
zmodload -ab zsh/computil comparguments
zmodload -ab zsh/computil comptry
zmodload -ab zsh/zle bindkey
zmodload -ab zsh/complete compset
zmodload -ab zsh/computil compvalues
zmodload -ab zsh/computil compgroups
zmodload -ab zsh/rlimits limit
zmodload -ab zsh/termcap echotc
zmodload -ab zsh/terminfo echoti
zmodload -ab zsh/computil compquote
zmodload -ab zsh/zle vared
zmodload -ab zsh/compctl compcall
zmodload -ab zsh/zutil zformat
zmodload -ab zsh/rlimits unlimit

zmodload -ac zsh/complete after
zmodload -ac zsh/complete between
zmodload -ac zsh/complete suffix
zmodload -ac zsh/complete prefix

zmodload -ap zsh/parameter aliases
zmodload -ap zsh/parameter builtins
zmodload -ap zsh/parameter commands
zmodload -ap zsh/parameter dirstack
zmodload -ap zsh/parameter dis_aliases
zmodload -ap zsh/parameter dis_builtins
zmodload -ap zsh/parameter dis_functions
zmodload -ap zsh/parameter dis_galiases
zmodload -ap zsh/parameter dis_reswords
zmodload -ap zsh/parameter funcstack
zmodload -ap zsh/parameter functions
zmodload -ap zsh/parameter galiases
zmodload -ap zsh/parameter history
zmodload -ap zsh/parameter historywords
zmodload -ap zsh/parameter jobdirs
zmodload -ap zsh/parameter jobstates
zmodload -ap zsh/parameter jobtexts
zmodload -ap zsh/zleparameter keymaps
zmodload -ap zsh/parameter modules
zmodload -ap zsh/parameter nameddirs
zmodload -ap zsh/parameter options
zmodload -ap zsh/parameter parameters
zmodload -ap zsh/parameter reswords
zmodload -ap zsh/termcap termcap
zmodload -ap zsh/terminfo terminfo
zmodload -ap zsh/parameter userdirs
zmodload -ap zsh/zleparameter widgets

zmodload zsh/main

# Non-array variables.

ARGC=0
Illegal option -- w
Usage: grep -hblcnsvi pattern file ...
prompt='test%'

# Array variables.

argv=()
cdpath=('.' '/pro/uga/script' '/map/gfx0/users/tsm/cmucl/local' '/map/gfx0/common/cmucl/src/alpha' '/map/gfx0/common/cmucl/build' '/map/gfx0/common/cmucl' '/pro/uga/megalib' '/pro/uga/pkg' '/pro/uga/cmd')
fignore=('')
fpath=('/cs/share/zsh/site-functions' '/cs/share/zsh/4.0.1/functions')
mailpath=('')
manpath=('/cs/man' '/usr/kerberos/man' '/map/gfx0/users/tsm/sgistuff/man' '/usr/man' '/usr/share/man' '/pro/uga/man' '/cs/src/tex/man' '/pro/man' '/usr/freeware/catman' '/usr/catman' '/usr/share/catman' '/usr/local/man' '/cs/data/openinventor/man')
module_path=('/cs/lib/zsh/4.0.1')
path=('/u/tsm/bin/sgi' '/u/tsm/bin' '/usr/java/bin' '/map/gfx0/users/tsm/sgistuff/bin' '/system/bin' '/cs/bin' '/usr/sbin' '/pro/uga/bin/sgi/O' '/usr/bsd' '/bin' '/cs/bin/gnu' '/usr/local/bin' '/etc' '/pro/uga/admin/bin' '/com/avs/bin' '/usr/bin' '/usr/freeware/bin' '/map/gfx0/common/cmucl/sgi/beta/bin' '/usr/ucb' '/usr/etc' '/usr/bin/X11' '/cs/bin/krb' '/sbin' '/usr/kerberos/bin' '/system/bin/gnu/bin')
pipestatus=('0')
psvar=('')
signals=('EXIT' 'HUP' 'INT' 'QUIT' 'ILL' 'TRAP' 'IOT' 'EMT' 'FPE' 'KILL' 'BUS' 'SEGV' 'SYS' 'PIPE' 'ALRM' 'TERM' 'USR1' 'USR2' 'CLD' 'PWR' 'WINCH' 'URG' 'POLL' 'STOP' 'TSTP' 'CONT' 'TTIN' 'TTOU' 'VTALRM' 'PROF' 'XCPU' 'XFSZ' '32' 'CKPT' '34' '35' '36' '37' '38' '39' '40' '41' '42' '43' '44' '45' '46' 'PTINTR' 'PTRESCHED' 'RTMIN' 'ZERR' 'DEBUG')
watch=('')

# Exported variables.

export ARCH
export AVS_PATH
export BOOKVIEWER
export CDPATH
export CMUCLLIB
export COLUMNS
export DISPLAY
export FNORD_PATH
export HOME
export IMGVIEWER
export INDEXPATH
export INFOPATH
export LANG
export LASTLOGIN
export LESS
export LINES
export LOGNAME
export LS_COLORS
export MAIL
export MAILBOXPROG
export MANPATH
export MAP3270
export MSGVERB
export NOMSGLABEL
export NOMSGSEVERITY
export NPX_PLUGIN_PATH
export OLDPWD
export PAGER
export PATH
export PKFONTS
export PRINTER
export PSVIEWER
export PWD
export REAL_UGA_ROOT
export RMANCONFIG
export SHELL
export SHLVL
export STARTUPSDIR
export S_CLEDITOR
export TERM
export TERMINFO
export TEXPKS
export TFMFONTS
export TZ
export UGA_ARCH
export UGA_ROOT
export USER
export USE_VIDEO
export WEBBROWSER
export WEBEDITOR
export WINDOWID
export WINEDITOR
export XRDBCOMMAND
export XUSERFILESEARCHPATH
export latex209_inputs
export latex2e_inputs
export plaintex_inputs

# Setopt.

setopt norcs

# Styles.

Util/reporter:465: command not found: zstyle

# END zsh saveset

output of "ZTST_verbose=1 make TESTNUM=C02 check" follows:

cd Test ; gmake check
gmake[1]: Entering directory `/tmp_mnt/godzilla/cs-new/src/zsh/zsh-4.0.1/Test'
if test -n "gcc"; then \
  cd .. && \
  gmake MODDIR=`pwd`/Test/Modules install.modules > /dev/null; \
fi
for f in ./C02*.ztst; do \
  ../Src/zsh +Z -f ./ztst.zsh $f; \
done
./C02cond.ztst: starting.
Running test: -a cond
Test successful.
Running test: -b cond
Test successful.
Running test: -c cond
Test successful.
Running test: -d cond
Test successful.
Running test: -e cond
Test successful.
Running test: -f cond
Test successful.
Running test: -g cond
Test successful.
Running test: -h cond
Test successful.
Running test: -k cond
Test successful.
Running test: -n cond
Test successful.
Running test: -o cond
Test successful.
Running test: -p cond
Test successful.
Running test: -r cond
Test successful.
Running test: -s cond
Test successful.
Running test: -u cond
Test successful.
Running test: -x cond
Test successful.
Running test: -z cond
Test successful.
Running test: -L cond
Test successful.
Running test: -O cond
Test successful.
Running test: -G cond
Test successful.
Running test: -N cond
Test ./C02cond.ztst failed: bad status 1, expected 0 from:
  sleep 1
  cat unmodified
  touch newnewnew
  if [[ $OSTYPE == "cygwin" ]]; then
    print -u8 "Warning: not testing [[ -N file ]] (not supported on Cygwin)"
    true
  else
    [[ -N newnewnew && ! -N unmodified ]]
  fi
Was testing: -N cond
./C02cond.ztst: test failed.
gmake[1]: [check] Error 1 (ignored)
rm -rf Modules .zcompdump
gmake[1]: Leaving directory `/tmp_mnt/godzilla/cs-new/src/zsh/zsh-4.0.1/Test'

[-- Attachment #5: Type: text/plain, Size: 88 bytes --]


On Irix 6.5, gcc 2.91.66, again fails C02 and Y0[123]. The Y tests are again
omitted.


[-- Attachment #6: irix 6.5 gcc 2.91.66 report & log --]
[-- Type: application/octet-stream, Size: 17649 bytes --]

# START zsh saveset
# uname:  IRIX64 z 6.5 10120733 IP30

# Aliases.

alias run-help=man
alias which-command=whence

# Key bindings.

bindkey -N emacs
bindkey -N main
bindkey -N vicmd
bindkey -N viins

bindkey -M emacs "^@" set-mark-command
bindkey -M emacs "^A" beginning-of-line
bindkey -M emacs "^B" backward-char
bindkey -M emacs "^D" delete-char-or-list
bindkey -M emacs "^E" end-of-line
bindkey -M emacs "^F" forward-char
bindkey -M emacs "^G" send-break
bindkey -M emacs "^H" backward-delete-char
bindkey -M emacs "^I" expand-or-complete
bindkey -M emacs "^J" accept-line
bindkey -M emacs "^K" kill-line
bindkey -M emacs "^L" clear-screen
bindkey -M emacs "^M" accept-line
bindkey -M emacs "^N" down-line-or-history
bindkey -M emacs "^O" accept-line-and-down-history
bindkey -M emacs "^P" up-line-or-history
bindkey -M emacs "^Q" push-line
bindkey -M emacs "^R" history-incremental-search-backward
bindkey -M emacs "^S" history-incremental-search-forward
bindkey -M emacs "^T" transpose-chars
bindkey -M emacs "^U" kill-whole-line
bindkey -M emacs "^V" quoted-insert
bindkey -M emacs "^W" backward-kill-word
bindkey -M emacs "^X^B" vi-match-bracket
bindkey -M emacs "^X^F" vi-find-next-char
bindkey -M emacs "^X^J" vi-join
bindkey -M emacs "^X^K" kill-buffer
bindkey -M emacs "^X^N" infer-next-history
bindkey -M emacs "^X^O" overwrite-mode
bindkey -M emacs "^X^U" undo
bindkey -M emacs "^X^V" vi-cmd-mode
bindkey -M emacs "^X^X" exchange-point-and-mark
bindkey -M emacs "^X*" expand-word
bindkey -M emacs "^X=" what-cursor-position
bindkey -M emacs "^XG" list-expand
bindkey -M emacs "^Xg" list-expand
bindkey -M emacs "^Xr" history-incremental-search-backward
bindkey -M emacs "^Xs" history-incremental-search-forward
bindkey -M emacs "^Xu" undo
bindkey -M emacs "^Y" yank
bindkey -M emacs "^[^D" list-choices
bindkey -M emacs "^[^G" send-break
bindkey -M emacs "^[^H" backward-kill-word
bindkey -M emacs "^[^I" self-insert-unmeta
bindkey -M emacs "^[^J" self-insert-unmeta
bindkey -M emacs "^[^L" clear-screen
bindkey -M emacs "^[^M" self-insert-unmeta
bindkey -M emacs "^[^_" copy-prev-word
bindkey -M emacs "^[ " expand-history
bindkey -M emacs "^[!" expand-history
bindkey -M emacs "^[\"" quote-region
bindkey -M emacs "^[\$" spell-word
bindkey -M emacs "^['" quote-line
bindkey -M emacs "^[-" neg-argument
bindkey -M emacs "^[." insert-last-word
bindkey -M emacs "^[0" digit-argument
bindkey -M emacs "^[1" digit-argument
bindkey -M emacs "^[2" digit-argument
bindkey -M emacs "^[3" digit-argument
bindkey -M emacs "^[4" digit-argument
bindkey -M emacs "^[5" digit-argument
bindkey -M emacs "^[6" digit-argument
bindkey -M emacs "^[7" digit-argument
bindkey -M emacs "^[8" digit-argument
bindkey -M emacs "^[9" digit-argument
bindkey -M emacs "^[<" beginning-of-buffer-or-history
bindkey -M emacs "^[>" end-of-buffer-or-history
bindkey -M emacs "^[?" which-command
bindkey -M emacs "^[A" accept-and-hold
bindkey -M emacs "^[B" backward-word
bindkey -M emacs "^[C" capitalize-word
bindkey -M emacs "^[D" kill-word
bindkey -M emacs "^[F" forward-word
bindkey -M emacs "^[G" get-line
bindkey -M emacs "^[H" run-help
bindkey -M emacs "^[L" down-case-word
bindkey -M emacs "^[N" history-search-forward
bindkey -M emacs "^[OA" up-line-or-history
bindkey -M emacs "^[OB" down-line-or-history
bindkey -M emacs "^[OC" forward-char
bindkey -M emacs "^[OD" backward-char
bindkey -M emacs "^[P" history-search-backward
bindkey -M emacs "^[Q" push-line
bindkey -M emacs "^[S" spell-word
bindkey -M emacs "^[T" transpose-words
bindkey -M emacs "^[U" up-case-word
bindkey -M emacs "^[W" copy-region-as-kill
bindkey -M emacs "^[[A" up-line-or-history
bindkey -M emacs "^[[B" down-line-or-history
bindkey -M emacs "^[[C" forward-char
bindkey -M emacs "^[[D" backward-char
bindkey -M emacs "^[_" insert-last-word
bindkey -M emacs "^[a" accept-and-hold
bindkey -M emacs "^[b" backward-word
bindkey -M emacs "^[c" capitalize-word
bindkey -M emacs "^[d" kill-word
bindkey -M emacs "^[f" forward-word
bindkey -M emacs "^[g" get-line
bindkey -M emacs "^[h" run-help
bindkey -M emacs "^[l" down-case-word
bindkey -M emacs "^[n" history-search-forward
bindkey -M emacs "^[p" history-search-backward
bindkey -M emacs "^[q" push-line
bindkey -M emacs "^[s" spell-word
bindkey -M emacs "^[t" transpose-words
bindkey -M emacs "^[u" up-case-word
bindkey -M emacs "^[w" copy-region-as-kill
bindkey -M emacs "^[x" execute-named-cmd
bindkey -M emacs "^[y" yank-pop
bindkey -M emacs "^[z" execute-last-named-cmd
bindkey -M emacs "^[|" vi-goto-column
bindkey -M emacs "^[^?" backward-kill-word
bindkey -M emacs "^_" undo
bindkey -R -M emacs " "-"~" self-insert
bindkey -M emacs "^?" backward-delete-char
bindkey -R -M emacs "\M-^@"-"\M-^?" self-insert

bindkey "^@" set-mark-command
bindkey "^A" beginning-of-line
bindkey "^B" backward-char
bindkey "^D" delete-char-or-list
bindkey "^E" end-of-line
bindkey "^F" forward-char
bindkey "^G" send-break
bindkey "^H" backward-delete-char
bindkey "^I" expand-or-complete
bindkey "^J" accept-line
bindkey "^K" kill-line
bindkey "^L" clear-screen
bindkey "^M" accept-line
bindkey "^N" down-line-or-history
bindkey "^O" accept-line-and-down-history
bindkey "^P" up-line-or-history
bindkey "^Q" push-line
bindkey "^R" history-incremental-search-backward
bindkey "^S" history-incremental-search-forward
bindkey "^T" transpose-chars
bindkey "^U" kill-whole-line
bindkey "^V" quoted-insert
bindkey "^W" backward-kill-word
bindkey "^X^B" vi-match-bracket
bindkey "^X^F" vi-find-next-char
bindkey "^X^J" vi-join
bindkey "^X^K" kill-buffer
bindkey "^X^N" infer-next-history
bindkey "^X^O" overwrite-mode
bindkey "^X^U" undo
bindkey "^X^V" vi-cmd-mode
bindkey "^X^X" exchange-point-and-mark
bindkey "^X*" expand-word
bindkey "^X=" what-cursor-position
bindkey "^XG" list-expand
bindkey "^Xg" list-expand
bindkey "^Xr" history-incremental-search-backward
bindkey "^Xs" history-incremental-search-forward
bindkey "^Xu" undo
bindkey "^Y" yank
bindkey "^[^D" list-choices
bindkey "^[^G" send-break
bindkey "^[^H" backward-kill-word
bindkey "^[^I" self-insert-unmeta
bindkey "^[^J" self-insert-unmeta
bindkey "^[^L" clear-screen
bindkey "^[^M" self-insert-unmeta
bindkey "^[^_" copy-prev-word
bindkey "^[ " expand-history
bindkey "^[!" expand-history
bindkey "^[\"" quote-region
bindkey "^[\$" spell-word
bindkey "^['" quote-line
bindkey "^[-" neg-argument
bindkey "^[." insert-last-word
bindkey "^[0" digit-argument
bindkey "^[1" digit-argument
bindkey "^[2" digit-argument
bindkey "^[3" digit-argument
bindkey "^[4" digit-argument
bindkey "^[5" digit-argument
bindkey "^[6" digit-argument
bindkey "^[7" digit-argument
bindkey "^[8" digit-argument
bindkey "^[9" digit-argument
bindkey "^[<" beginning-of-buffer-or-history
bindkey "^[>" end-of-buffer-or-history
bindkey "^[?" which-command
bindkey "^[A" accept-and-hold
bindkey "^[B" backward-word
bindkey "^[C" capitalize-word
bindkey "^[D" kill-word
bindkey "^[F" forward-word
bindkey "^[G" get-line
bindkey "^[H" run-help
bindkey "^[L" down-case-word
bindkey "^[N" history-search-forward
bindkey "^[OA" up-line-or-history
bindkey "^[OB" down-line-or-history
bindkey "^[OC" forward-char
bindkey "^[OD" backward-char
bindkey "^[P" history-search-backward
bindkey "^[Q" push-line
bindkey "^[S" spell-word
bindkey "^[T" transpose-words
bindkey "^[U" up-case-word
bindkey "^[W" copy-region-as-kill
bindkey "^[[A" up-line-or-history
bindkey "^[[B" down-line-or-history
bindkey "^[[C" forward-char
bindkey "^[[D" backward-char
bindkey "^[_" insert-last-word
bindkey "^[a" accept-and-hold
bindkey "^[b" backward-word
bindkey "^[c" capitalize-word
bindkey "^[d" kill-word
bindkey "^[f" forward-word
bindkey "^[g" get-line
bindkey "^[h" run-help
bindkey "^[l" down-case-word
bindkey "^[n" history-search-forward
bindkey "^[p" history-search-backward
bindkey "^[q" push-line
bindkey "^[s" spell-word
bindkey "^[t" transpose-words
bindkey "^[u" up-case-word
bindkey "^[w" copy-region-as-kill
bindkey "^[x" execute-named-cmd
bindkey "^[y" yank-pop
bindkey "^[z" execute-last-named-cmd
bindkey "^[|" vi-goto-column
bindkey "^[^?" backward-kill-word
bindkey "^_" undo
bindkey -R " "-"~" self-insert
bindkey "^?" backward-delete-char
bindkey -R "\M-^@"-"\M-^?" self-insert

bindkey -a "^D" list-choices
bindkey -a "^G" list-expand
bindkey -a "^H" vi-backward-char
bindkey -a "^J" accept-line
bindkey -a "^L" clear-screen
bindkey -a "^M" accept-line
bindkey -a "^N" down-history
bindkey -a "^P" up-history
bindkey -a "^R" redisplay
bindkey -a "^[OA" up-line-or-history
bindkey -a "^[OB" down-line-or-history
bindkey -a "^[OC" vi-forward-char
bindkey -a "^[OD" vi-backward-char
bindkey -a "^[[A" up-line-or-history
bindkey -a "^[[B" down-line-or-history
bindkey -a "^[[C" vi-forward-char
bindkey -a "^[[D" vi-backward-char
bindkey -a " " vi-forward-char
bindkey -a "\"" vi-set-buffer
bindkey -a "#" pound-insert
bindkey -a "\$" vi-end-of-line
bindkey -a "%" vi-match-bracket
bindkey -a "'" vi-goto-mark-line
bindkey -a "+" vi-down-line-or-history
bindkey -a "," vi-rev-repeat-find
bindkey -a -- "-" vi-up-line-or-history
bindkey -a "." vi-repeat-change
bindkey -a "/" vi-history-search-backward
bindkey -a "0" vi-digit-or-beginning-of-line
bindkey -R -a "1"-"9" digit-argument
bindkey -a ";" vi-repeat-find
bindkey -a "<" vi-unindent
bindkey -a "=" list-choices
bindkey -a ">" vi-indent
bindkey -a "?" vi-history-search-forward
bindkey -a "A" vi-add-eol
bindkey -a "B" vi-backward-blank-word
bindkey -a "C" vi-change-eol
bindkey -a "D" vi-kill-eol
bindkey -a "E" vi-forward-blank-word-end
bindkey -a "F" vi-find-prev-char
bindkey -a "G" vi-fetch-history
bindkey -a "I" vi-insert-bol
bindkey -a "J" vi-join
bindkey -a "N" vi-rev-repeat-search
bindkey -a "O" vi-open-line-above
bindkey -a "P" vi-put-before
bindkey -a "R" vi-replace
bindkey -a "S" vi-change-whole-line
bindkey -a "T" vi-find-prev-char-skip
bindkey -a "W" vi-forward-blank-word
bindkey -a "X" vi-backward-delete-char
bindkey -a "Y" vi-yank-whole-line
bindkey -a "\^" vi-first-non-blank
bindkey -a "\`" vi-goto-mark
bindkey -a "a" vi-add-next
bindkey -a "b" vi-backward-word
bindkey -a "c" vi-change
bindkey -a "d" vi-delete
bindkey -a "e" vi-forward-word-end
bindkey -a "f" vi-find-next-char
bindkey -a "h" vi-backward-char
bindkey -a "i" vi-insert
bindkey -a "j" down-line-or-history
bindkey -a "k" up-line-or-history
bindkey -a "l" vi-forward-char
bindkey -a "m" vi-set-mark
bindkey -a "n" vi-repeat-search
bindkey -a "o" vi-open-line-below
bindkey -a "p" vi-put-after
bindkey -a "r" vi-replace-chars
bindkey -a "s" vi-substitute
bindkey -a "t" vi-find-next-char-skip
bindkey -a "u" vi-undo-change
bindkey -a "w" vi-forward-word
bindkey -a "x" vi-delete-char
bindkey -a "y" vi-yank
bindkey -a "|" vi-goto-column
bindkey -a "~" vi-swap-case
bindkey -a "^?" vi-backward-char

bindkey -R -M viins "^A"-"^C" self-insert
bindkey -M viins "^D" list-choices
bindkey -R -M viins "^E"-"^F" self-insert
bindkey -M viins "^G" list-expand
bindkey -M viins "^H" vi-backward-delete-char
bindkey -M viins "^I" expand-or-complete
bindkey -M viins "^J" accept-line
bindkey -M viins "^K" self-insert
bindkey -M viins "^L" clear-screen
bindkey -M viins "^M" accept-line
bindkey -R -M viins "^N"-"^P" self-insert
bindkey -M viins "^Q" vi-quoted-insert
bindkey -M viins "^R" redisplay
bindkey -R -M viins "^S"-"^T" self-insert
bindkey -M viins "^U" vi-kill-line
bindkey -M viins "^V" vi-quoted-insert
bindkey -M viins "^W" vi-backward-kill-word
bindkey -R -M viins "^X"-"^Z" self-insert
bindkey -M viins "^[" vi-cmd-mode
bindkey -M viins "^[OA" up-line-or-history
bindkey -M viins "^[OB" down-line-or-history
bindkey -M viins "^[OC" vi-forward-char
bindkey -M viins "^[OD" vi-backward-char
bindkey -M viins "^[[A" up-line-or-history
bindkey -M viins "^[[B" down-line-or-history
bindkey -M viins "^[[C" vi-forward-char
bindkey -M viins "^[[D" vi-backward-char
bindkey -R -M viins "^\\\\"-"~" self-insert
bindkey -M viins "^?" vi-backward-delete-char
bindkey -R -M viins "\M-^@"-"\M-^?" self-insert

# Completions.

compctl -C -c -tn
compctl -D -f -tn
compctl -T

# Undefined functions.


# Defined functions.


# Limits.

limit datasize        2048MB
limit stacksize       64MB
limit coredumpsize    0kB
limit descriptors     200
limit vmemorysize     2048MB
limit resident        243MB
limit maxpthreads     1024

# Modules.

zmodload -d zsh/zutil zsh/complete
zmodload -d zsh/compctl zsh/complete zsh/zle
zmodload -d zsh/complete zsh/zle
zmodload -d zsh/complist zsh/complete zsh/zle
zmodload -d zsh/computil zsh/complete zsh/zle
zmodload -d zsh/zleparameter zsh/zle

zmodload -ab zsh/computil compfiles
zmodload -ab zsh/sched sched
zmodload -ab zsh/zutil zparseopts
zmodload -ab zsh/computil comptags
zmodload -ab zsh/computil compdescribe
zmodload -ab zsh/zutil zregexparse
zmodload -ab zsh/computil comparguments
zmodload -ab zsh/zutil zstyle
zmodload -ab zsh/computil comptry
zmodload -ab zsh/computil compvalues
zmodload -ab zsh/computil compgroups
zmodload -ab zsh/termcap echotc
zmodload -ab zsh/terminfo echoti
zmodload -ab zsh/computil compquote
zmodload -ab zsh/zutil zformat


zmodload -ap zsh/parameter aliases
zmodload -ap zsh/parameter builtins
zmodload -ap zsh/parameter commands
zmodload -ap zsh/parameter dirstack
zmodload -ap zsh/parameter dis_aliases
zmodload -ap zsh/parameter dis_builtins
zmodload -ap zsh/parameter dis_functions
zmodload -ap zsh/parameter dis_galiases
zmodload -ap zsh/parameter dis_reswords
zmodload -ap zsh/parameter funcstack
zmodload -ap zsh/parameter functions
zmodload -ap zsh/parameter galiases
zmodload -ap zsh/parameter history
zmodload -ap zsh/parameter historywords
zmodload -ap zsh/parameter jobdirs
zmodload -ap zsh/parameter jobstates
zmodload -ap zsh/parameter jobtexts
zmodload -ap zsh/zleparameter keymaps
zmodload -ap zsh/parameter modules
zmodload -ap zsh/parameter nameddirs
zmodload -ap zsh/parameter options
zmodload -ap zsh/parameter parameters
zmodload -ap zsh/parameter reswords
zmodload -ap zsh/termcap termcap
zmodload -ap zsh/terminfo terminfo
zmodload -ap zsh/parameter userdirs
zmodload -ap zsh/zleparameter widgets

zmodload zsh/compctl
zmodload zsh/complete
zmodload zsh/main
zmodload zsh/zle
zmodload zsh/rlimits

# Non-array variables.

ARGC=0
Illegal option -- w
Usage: grep [-E|-F][-c|-l|-q][-xhbnsviyC] -e pattern_list [-f pattern_file] [file ...]
prompt='test%'

# Array variables.

argv=()
cdpath=('.' '/pro/uga/script' '/map/gfx0/users/tsm/cmucl/local' '/map/gfx0/common/cmucl/src/alpha' '/map/gfx0/common/cmucl/build' '/map/gfx0/common/cmucl' '/pro/uga/megalib' '/pro/uga/pkg' '/pro/uga/cmd')
fignore=('')
fpath=('/cs/share/zsh/site-functions' '/cs/share/zsh/4.0.1/functions')
mailpath=('')
manpath=('/cs/man' '/usr/kerberos/man' '/map/gfx0/users/tsm/sgistuff/man' '/usr/man' '/usr/share/man' '/pro/uga/man' '/cs/src/tex/man' '/pro/man' '/usr/freeware/catman' '/usr/catman' '/usr/share/catman' '/usr/local/man' '/cs/data/openinventor/man')
module_path=('/cs/lib/zsh/4.0.1')
path=('/u/tsm/bin/sgi' '/u/tsm/bin' '/usr/java/bin' '/map/gfx0/users/tsm/sgistuff/bin' '/system/bin' '/cs/bin' '/usr/sbin' '/pro/uga/bin/sgi/O' '/usr/bsd' '/bin' '/cs/bin/gnu' '/usr/local/bin' '/etc' '/pro/uga/admin/bin' '/com/avs/bin' '/usr/bin' '/usr/freeware/bin' '/map/gfx0/common/cmucl/sgi/beta/bin' '/usr/ucb' '/usr/etc' '/usr/bin/X11' '/cs/bin/krb' '/sbin' '/usr/kerberos/bin' '/system/bin/gnu/bin')
pipestatus=('0')
psvar=('')
signals=('EXIT' 'HUP' 'INT' 'QUIT' 'ILL' 'TRAP' 'IOT' 'EMT' 'FPE' 'KILL' 'BUS' 'SEGV' 'SYS' 'PIPE' 'ALRM' 'TERM' 'USR1' 'USR2' 'CLD' 'PWR' 'WINCH' 'URG' 'POLL' 'STOP' 'TSTP' 'CONT' 'TTIN' 'TTOU' 'VTALRM' 'PROF' 'XCPU' 'XFSZ' 'K32' 'CKPT' 'RESTART' '35' '36' '37' '38' '39' '40' '41' '42' '43' '44' '45' '46' 'PTINTR' 'PTRESCHED' 'RTMIN' 'ZERR' 'DEBUG')
watch=('')

# Exported variables.

export ARCH
export AVS_PATH
export CDPATH
export CMUCLLIB
export COLUMNS
export DISPLAY
export FNORD_PATH
export HOME
export HZ
export INDEXPATH
export INFOPATH
export LANG
export LESS
export LINES
export LOGNAME
export LS_COLORS
export MAIL
export MANPATH
export MAP3270
export MSGVERB
export NOMSGLABEL
export NOMSGSEVERITY
export NPX_PLUGIN_PATH
export OLDPWD
export PAGER
export PATH
export PKFONTS
export PRINTER
export PWD
export REAL_UGA_ROOT
export REMOTEHOST
export REMOTEUSER
export RMANCONFIG
export SHELL
export SHLVL
export STARTUPSDIR
export S_CLEDITOR
export TERM
export TERMINFO
export TEXPKS
export TFMFONTS
export TZ
export UGA_ARCH
export UGA_ROOT
export USER
export USE_VIDEO
export XUSERFILESEARCHPATH
export latex209_inputs
export latex2e_inputs
export plaintex_inputs

# Setopt.

setopt norcs

# Styles.


# END zsh saveset

output of "ZTST_verbose=1 gmake TESTNUM=C02 check" follows:

cd Test ; gmake check
/cs/src/zsh/zsh-4.0.1/Test
gmake[1]: Entering directory `/cs/src/zsh/zsh-4.0.1/Test'
if test -n "gcc"; then \
  cd .. && \
  gmake MODDIR=`pwd`/Test/Modules install.modules > /dev/null; \
fi
mkdir /cs/src/zsh/zsh-4.0.1/Test/Modules
mkdir /cs/src/zsh/zsh-4.0.1/Test/Modules/zsh
for f in ./C02*.ztst; do \
  ../Src/zsh +Z -f ./ztst.zsh $f; \
done
./C02cond.ztst: starting.
Running test: -a cond
Test successful.
Running test: -b cond
Warning: Not testing [[ -b blockdevice ]] (no devices found)
Test successful.
Running test: -c cond
Test successful.
Running test: -d cond
Test successful.
Running test: -e cond
Test successful.
Running test: -f cond
Test successful.
Running test: -g cond
Test ./C02cond.ztst failed: bad status 1, expected 0 from:
  [[ -g modish && ! -g zerolength ]]
Was testing: -g cond
./C02cond.ztst: test failed.
gmake[1]: [check] Error 1 (ignored)
rm -rf Modules .zcompdump
gmake[1]: Leaving directory `/cs/src/zsh/zsh-4.0.1/Test'

[-- Attachment #7: Type: text/plain, Size: 116 bytes --]


On Solaris 2.7 (Sunos 5.7), gcc 2.95.3, C02 and Y03 fail. Using SUNWspro 4.2 
gives essentially the same results.


[-- Attachment #8: Solaris 2.7 (sunos 5.7) gcc 2.95.3 report & log --]
[-- Type: application/octet-stream, Size: 18971 bytes --]

# START zsh saveset
# uname:  SunOS transit 5.7 Generic_106541-14 sun4u sparc SUNW,Ultra-5_10

# Aliases.

alias run-help=man
alias which-command=whence

# Key bindings.

bindkey -N emacs
bindkey -N main
bindkey -N vicmd
bindkey -N viins

bindkey -M emacs "^@" set-mark-command
bindkey -M emacs "^A" beginning-of-line
bindkey -M emacs "^B" backward-char
bindkey -M emacs "^D" delete-char-or-list
bindkey -M emacs "^E" end-of-line
bindkey -M emacs "^F" forward-char
bindkey -M emacs "^G" send-break
bindkey -M emacs "^H" backward-delete-char
bindkey -M emacs "^I" expand-or-complete
bindkey -M emacs "^J" accept-line
bindkey -M emacs "^K" kill-line
bindkey -M emacs "^L" clear-screen
bindkey -M emacs "^M" accept-line
bindkey -M emacs "^N" down-line-or-history
bindkey -M emacs "^O" accept-line-and-down-history
bindkey -M emacs "^P" up-line-or-history
bindkey -M emacs "^Q" push-line
bindkey -M emacs "^R" history-incremental-search-backward
bindkey -M emacs "^S" history-incremental-search-forward
bindkey -M emacs "^T" transpose-chars
bindkey -M emacs "^U" kill-whole-line
bindkey -M emacs "^V" quoted-insert
bindkey -M emacs "^W" backward-kill-word
bindkey -M emacs "^X^B" vi-match-bracket
bindkey -M emacs "^X^F" vi-find-next-char
bindkey -M emacs "^X^J" vi-join
bindkey -M emacs "^X^K" kill-buffer
bindkey -M emacs "^X^N" infer-next-history
bindkey -M emacs "^X^O" overwrite-mode
bindkey -M emacs "^X^U" undo
bindkey -M emacs "^X^V" vi-cmd-mode
bindkey -M emacs "^X^X" exchange-point-and-mark
bindkey -M emacs "^X*" expand-word
bindkey -M emacs "^X=" what-cursor-position
bindkey -M emacs "^XG" list-expand
bindkey -M emacs "^Xg" list-expand
bindkey -M emacs "^Xr" history-incremental-search-backward
bindkey -M emacs "^Xs" history-incremental-search-forward
bindkey -M emacs "^Xu" undo
bindkey -M emacs "^Y" yank
bindkey -M emacs "^[^D" list-choices
bindkey -M emacs "^[^G" send-break
bindkey -M emacs "^[^H" backward-kill-word
bindkey -M emacs "^[^I" self-insert-unmeta
bindkey -M emacs "^[^J" self-insert-unmeta
bindkey -M emacs "^[^L" clear-screen
bindkey -M emacs "^[^M" self-insert-unmeta
bindkey -M emacs "^[^_" copy-prev-word
bindkey -M emacs "^[ " expand-history
bindkey -M emacs "^[!" expand-history
bindkey -M emacs "^[\"" quote-region
bindkey -M emacs "^[\$" spell-word
bindkey -M emacs "^['" quote-line
bindkey -M emacs "^[-" neg-argument
bindkey -M emacs "^[." insert-last-word
bindkey -M emacs "^[0" digit-argument
bindkey -M emacs "^[1" digit-argument
bindkey -M emacs "^[2" digit-argument
bindkey -M emacs "^[3" digit-argument
bindkey -M emacs "^[4" digit-argument
bindkey -M emacs "^[5" digit-argument
bindkey -M emacs "^[6" digit-argument
bindkey -M emacs "^[7" digit-argument
bindkey -M emacs "^[8" digit-argument
bindkey -M emacs "^[9" digit-argument
bindkey -M emacs "^[<" beginning-of-buffer-or-history
bindkey -M emacs "^[>" end-of-buffer-or-history
bindkey -M emacs "^[?" which-command
bindkey -M emacs "^[A" accept-and-hold
bindkey -M emacs "^[B" backward-word
bindkey -M emacs "^[C" capitalize-word
bindkey -M emacs "^[D" kill-word
bindkey -M emacs "^[F" forward-word
bindkey -M emacs "^[G" get-line
bindkey -M emacs "^[H" run-help
bindkey -M emacs "^[L" down-case-word
bindkey -M emacs "^[N" history-search-forward
bindkey -M emacs "^[OA" up-line-or-history
bindkey -M emacs "^[OB" down-line-or-history
bindkey -M emacs "^[OC" forward-char
bindkey -M emacs "^[OD" backward-char
bindkey -M emacs "^[P" history-search-backward
bindkey -M emacs "^[Q" push-line
bindkey -M emacs "^[S" spell-word
bindkey -M emacs "^[T" transpose-words
bindkey -M emacs "^[U" up-case-word
bindkey -M emacs "^[W" copy-region-as-kill
bindkey -M emacs "^[[A" up-line-or-history
bindkey -M emacs "^[[B" down-line-or-history
bindkey -M emacs "^[[C" forward-char
bindkey -M emacs "^[[D" backward-char
bindkey -M emacs "^[_" insert-last-word
bindkey -M emacs "^[a" accept-and-hold
bindkey -M emacs "^[b" backward-word
bindkey -M emacs "^[c" capitalize-word
bindkey -M emacs "^[d" kill-word
bindkey -M emacs "^[f" forward-word
bindkey -M emacs "^[g" get-line
bindkey -M emacs "^[h" run-help
bindkey -M emacs "^[l" down-case-word
bindkey -M emacs "^[n" history-search-forward
bindkey -M emacs "^[p" history-search-backward
bindkey -M emacs "^[q" push-line
bindkey -M emacs "^[s" spell-word
bindkey -M emacs "^[t" transpose-words
bindkey -M emacs "^[u" up-case-word
bindkey -M emacs "^[w" copy-region-as-kill
bindkey -M emacs "^[x" execute-named-cmd
bindkey -M emacs "^[y" yank-pop
bindkey -M emacs "^[z" execute-last-named-cmd
bindkey -M emacs "^[|" vi-goto-column
bindkey -M emacs "^[^?" backward-kill-word
bindkey -M emacs "^_" undo
bindkey -R -M emacs " "-"~" self-insert
bindkey -M emacs "^?" backward-delete-char
bindkey -R -M emacs "\M-^@"-"\M-^?" self-insert

bindkey "^@" set-mark-command
bindkey "^A" beginning-of-line
bindkey "^B" backward-char
bindkey "^D" delete-char-or-list
bindkey "^E" end-of-line
bindkey "^F" forward-char
bindkey "^G" send-break
bindkey "^H" backward-delete-char
bindkey "^I" expand-or-complete
bindkey "^J" accept-line
bindkey "^K" kill-line
bindkey "^L" clear-screen
bindkey "^M" accept-line
bindkey "^N" down-line-or-history
bindkey "^O" accept-line-and-down-history
bindkey "^P" up-line-or-history
bindkey "^Q" push-line
bindkey "^R" history-incremental-search-backward
bindkey "^S" history-incremental-search-forward
bindkey "^T" transpose-chars
bindkey "^U" kill-whole-line
bindkey "^V" quoted-insert
bindkey "^W" backward-kill-word
bindkey "^X^B" vi-match-bracket
bindkey "^X^F" vi-find-next-char
bindkey "^X^J" vi-join
bindkey "^X^K" kill-buffer
bindkey "^X^N" infer-next-history
bindkey "^X^O" overwrite-mode
bindkey "^X^U" undo
bindkey "^X^V" vi-cmd-mode
bindkey "^X^X" exchange-point-and-mark
bindkey "^X*" expand-word
bindkey "^X=" what-cursor-position
bindkey "^XG" list-expand
bindkey "^Xg" list-expand
bindkey "^Xr" history-incremental-search-backward
bindkey "^Xs" history-incremental-search-forward
bindkey "^Xu" undo
bindkey "^Y" yank
bindkey "^[^D" list-choices
bindkey "^[^G" send-break
bindkey "^[^H" backward-kill-word
bindkey "^[^I" self-insert-unmeta
bindkey "^[^J" self-insert-unmeta
bindkey "^[^L" clear-screen
bindkey "^[^M" self-insert-unmeta
bindkey "^[^_" copy-prev-word
bindkey "^[ " expand-history
bindkey "^[!" expand-history
bindkey "^[\"" quote-region
bindkey "^[\$" spell-word
bindkey "^['" quote-line
bindkey "^[-" neg-argument
bindkey "^[." insert-last-word
bindkey "^[0" digit-argument
bindkey "^[1" digit-argument
bindkey "^[2" digit-argument
bindkey "^[3" digit-argument
bindkey "^[4" digit-argument
bindkey "^[5" digit-argument
bindkey "^[6" digit-argument
bindkey "^[7" digit-argument
bindkey "^[8" digit-argument
bindkey "^[9" digit-argument
bindkey "^[<" beginning-of-buffer-or-history
bindkey "^[>" end-of-buffer-or-history
bindkey "^[?" which-command
bindkey "^[A" accept-and-hold
bindkey "^[B" backward-word
bindkey "^[C" capitalize-word
bindkey "^[D" kill-word
bindkey "^[F" forward-word
bindkey "^[G" get-line
bindkey "^[H" run-help
bindkey "^[L" down-case-word
bindkey "^[N" history-search-forward
bindkey "^[OA" up-line-or-history
bindkey "^[OB" down-line-or-history
bindkey "^[OC" forward-char
bindkey "^[OD" backward-char
bindkey "^[P" history-search-backward
bindkey "^[Q" push-line
bindkey "^[S" spell-word
bindkey "^[T" transpose-words
bindkey "^[U" up-case-word
bindkey "^[W" copy-region-as-kill
bindkey "^[[A" up-line-or-history
bindkey "^[[B" down-line-or-history
bindkey "^[[C" forward-char
bindkey "^[[D" backward-char
bindkey "^[_" insert-last-word
bindkey "^[a" accept-and-hold
bindkey "^[b" backward-word
bindkey "^[c" capitalize-word
bindkey "^[d" kill-word
bindkey "^[f" forward-word
bindkey "^[g" get-line
bindkey "^[h" run-help
bindkey "^[l" down-case-word
bindkey "^[n" history-search-forward
bindkey "^[p" history-search-backward
bindkey "^[q" push-line
bindkey "^[s" spell-word
bindkey "^[t" transpose-words
bindkey "^[u" up-case-word
bindkey "^[w" copy-region-as-kill
bindkey "^[x" execute-named-cmd
bindkey "^[y" yank-pop
bindkey "^[z" execute-last-named-cmd
bindkey "^[|" vi-goto-column
bindkey "^[^?" backward-kill-word
bindkey "^_" undo
bindkey -R " "-"~" self-insert
bindkey "^?" backward-delete-char
bindkey -R "\M-^@"-"\M-^?" self-insert

bindkey -a "^D" list-choices
bindkey -a "^G" list-expand
bindkey -a "^H" vi-backward-char
bindkey -a "^J" accept-line
bindkey -a "^L" clear-screen
bindkey -a "^M" accept-line
bindkey -a "^N" down-history
bindkey -a "^P" up-history
bindkey -a "^R" redisplay
bindkey -a "^[OA" up-line-or-history
bindkey -a "^[OB" down-line-or-history
bindkey -a "^[OC" vi-forward-char
bindkey -a "^[OD" vi-backward-char
bindkey -a "^[[A" up-line-or-history
bindkey -a "^[[B" down-line-or-history
bindkey -a "^[[C" vi-forward-char
bindkey -a "^[[D" vi-backward-char
bindkey -a " " vi-forward-char
bindkey -a "\"" vi-set-buffer
bindkey -a "#" pound-insert
bindkey -a "\$" vi-end-of-line
bindkey -a "%" vi-match-bracket
bindkey -a "'" vi-goto-mark-line
bindkey -a "+" vi-down-line-or-history
bindkey -a "," vi-rev-repeat-find
bindkey -a -- "-" vi-up-line-or-history
bindkey -a "." vi-repeat-change
bindkey -a "/" vi-history-search-backward
bindkey -a "0" vi-digit-or-beginning-of-line
bindkey -R -a "1"-"9" digit-argument
bindkey -a ";" vi-repeat-find
bindkey -a "<" vi-unindent
bindkey -a "=" list-choices
bindkey -a ">" vi-indent
bindkey -a "?" vi-history-search-forward
bindkey -a "A" vi-add-eol
bindkey -a "B" vi-backward-blank-word
bindkey -a "C" vi-change-eol
bindkey -a "D" vi-kill-eol
bindkey -a "E" vi-forward-blank-word-end
bindkey -a "F" vi-find-prev-char
bindkey -a "G" vi-fetch-history
bindkey -a "I" vi-insert-bol
bindkey -a "J" vi-join
bindkey -a "N" vi-rev-repeat-search
bindkey -a "O" vi-open-line-above
bindkey -a "P" vi-put-before
bindkey -a "R" vi-replace
bindkey -a "S" vi-change-whole-line
bindkey -a "T" vi-find-prev-char-skip
bindkey -a "W" vi-forward-blank-word
bindkey -a "X" vi-backward-delete-char
bindkey -a "Y" vi-yank-whole-line
bindkey -a "\^" vi-first-non-blank
bindkey -a "\`" vi-goto-mark
bindkey -a "a" vi-add-next
bindkey -a "b" vi-backward-word
bindkey -a "c" vi-change
bindkey -a "d" vi-delete
bindkey -a "e" vi-forward-word-end
bindkey -a "f" vi-find-next-char
bindkey -a "h" vi-backward-char
bindkey -a "i" vi-insert
bindkey -a "j" down-line-or-history
bindkey -a "k" up-line-or-history
bindkey -a "l" vi-forward-char
bindkey -a "m" vi-set-mark
bindkey -a "n" vi-repeat-search
bindkey -a "o" vi-open-line-below
bindkey -a "p" vi-put-after
bindkey -a "r" vi-replace-chars
bindkey -a "s" vi-substitute
bindkey -a "t" vi-find-next-char-skip
bindkey -a "u" vi-undo-change
bindkey -a "w" vi-forward-word
bindkey -a "x" vi-delete-char
bindkey -a "y" vi-yank
bindkey -a "|" vi-goto-column
bindkey -a "~" vi-swap-case
bindkey -a "^?" vi-backward-char

bindkey -R -M viins "^A"-"^C" self-insert
bindkey -M viins "^D" list-choices
bindkey -R -M viins "^E"-"^F" self-insert
bindkey -M viins "^G" list-expand
bindkey -M viins "^H" vi-backward-delete-char
bindkey -M viins "^I" expand-or-complete
bindkey -M viins "^J" accept-line
bindkey -M viins "^K" self-insert
bindkey -M viins "^L" clear-screen
bindkey -M viins "^M" accept-line
bindkey -R -M viins "^N"-"^P" self-insert
bindkey -M viins "^Q" vi-quoted-insert
bindkey -M viins "^R" redisplay
bindkey -R -M viins "^S"-"^T" self-insert
bindkey -M viins "^U" vi-kill-line
bindkey -M viins "^V" vi-quoted-insert
bindkey -M viins "^W" vi-backward-kill-word
bindkey -R -M viins "^X"-"^Z" self-insert
bindkey -M viins "^[" vi-cmd-mode
bindkey -M viins "^[OA" up-line-or-history
bindkey -M viins "^[OB" down-line-or-history
bindkey -M viins "^[OC" vi-forward-char
bindkey -M viins "^[OD" vi-backward-char
bindkey -M viins "^[[A" up-line-or-history
bindkey -M viins "^[[B" down-line-or-history
bindkey -M viins "^[[C" vi-forward-char
bindkey -M viins "^[[D" vi-backward-char
bindkey -R -M viins "^\\\\"-"~" self-insert
bindkey -M viins "^?" vi-backward-delete-char
bindkey -R -M viins "\M-^@"-"\M-^?" self-insert

# Completions.

compctl -C -c -tn
compctl -D -f -tn
compctl -T

# Undefined functions.


# Defined functions.


# Limits.

limit stacksize       8MB
limit coredumpsize    0kB
limit descriptors     64

# Modules.

zmodload -d zsh/zutil zsh/complete
zmodload -d zsh/compctl zsh/complete zsh/zle
zmodload -d zsh/complete zsh/zle
zmodload -d zsh/complist zsh/complete zsh/zle
zmodload -d zsh/computil zsh/complete zsh/zle
zmodload -d zsh/zleparameter zsh/zle

zmodload -ab zsh/computil compfiles
zmodload -ab zsh/sched sched
zmodload -ab zsh/zutil zparseopts
zmodload -ab zsh/computil comptags
zmodload -ab zsh/computil compdescribe
zmodload -ab zsh/zutil zregexparse
zmodload -ab zsh/computil comparguments
zmodload -ab zsh/zutil zstyle
zmodload -ab zsh/computil comptry
zmodload -ab zsh/computil compvalues
zmodload -ab zsh/computil compgroups
zmodload -ab zsh/termcap echotc
zmodload -ab zsh/terminfo echoti
zmodload -ab zsh/computil compquote
zmodload -ab zsh/zutil zformat


zmodload -ap zsh/parameter aliases
zmodload -ap zsh/parameter builtins
zmodload -ap zsh/parameter commands
zmodload -ap zsh/parameter dirstack
zmodload -ap zsh/parameter dis_aliases
zmodload -ap zsh/parameter dis_builtins
zmodload -ap zsh/parameter dis_functions
zmodload -ap zsh/parameter dis_galiases
zmodload -ap zsh/parameter dis_reswords
zmodload -ap zsh/parameter funcstack
zmodload -ap zsh/parameter functions
zmodload -ap zsh/parameter galiases
zmodload -ap zsh/parameter history
zmodload -ap zsh/parameter historywords
zmodload -ap zsh/parameter jobdirs
zmodload -ap zsh/parameter jobstates
zmodload -ap zsh/parameter jobtexts
zmodload -ap zsh/zleparameter keymaps
zmodload -ap zsh/parameter modules
zmodload -ap zsh/parameter nameddirs
zmodload -ap zsh/parameter options
zmodload -ap zsh/parameter parameters
zmodload -ap zsh/parameter reswords
zmodload -ap zsh/termcap termcap
zmodload -ap zsh/terminfo terminfo
zmodload -ap zsh/parameter userdirs
zmodload -ap zsh/zleparameter widgets

zmodload zsh/compctl
zmodload zsh/complete
zmodload zsh/main
zmodload zsh/zle
zmodload zsh/rlimits

# Non-array variables.

ARGC=0
!='0'

prompt='test%'

# Array variables.

argv=()
cdpath=('.' '/pro/uga/script' '/map/gfx0/users/tsm/cmucl/local' '/map/gfx0/common/cmucl/src/alpha' '/map/gfx0/common/cmucl/build' '/map/gfx0/common/cmucl' '/pro/uga/megalib' '/pro/uga/pkg' '/pro/uga/cmd')
fignore=('')
fpath=('/cs/share/zsh/site-functions' '/cs/share/zsh/4.0.1/functions')
mailpath=('')
manpath=('/cs/man' '/usr/kerberos/man' '/usr/openwin/man' '/usr/man' '/cs/data/motif-1.2/man' '/cs/data/games/man' '/pro/uga/man' '/cs/data/pbm/man' '/cs/src/tex/man' '/cs/data/interviews/man' '/opt/SUNWits/Graphics-sw/xgl-3.0/man' '/pro/man' '/opt/SUNWspro/man' '/usr/local/man' '/cs/data/openinventor/man')
module_path=('/cs/lib/zsh/4.0.1')
path=('/u/tsm/bin/sol' '/u/tsm/bin' '/usr/openwin/bin' '/usr/sbin' '/cs/src/tex/bin' '/cs/bin' '/usr/local/bin' '/pro/java/java/bin' '/usr/bin' '/usr/ccs/bin' '/sbin' '/cs/bin/gnu' '/pro/graphics/bin' '/bin' '/cs/bin/games' '/etc' '/cs/bin/interviews' '/usr/openwin/demo' '/pro/uga/admin/bin' '/pro/uga/bin/sol/O' '/com/avs/bin' '/opt/SUNWspro/bin' '/usr/ucb' '/usr/etc' '/u/dept/public/bin' '/cs/bin/xyzmodem' '/cs/bin/pbm' '/cs/bin/krb' '/map/gfx0/common/cmucl/sol/beta/bin' '/usr/kerberos/bin')
pipestatus=('0')
psvar=('')
signals=('EXIT' 'HUP' 'INT' 'QUIT' 'ILL' 'TRAP' 'IOT' 'EMT' 'FPE' 'KILL' 'BUS' 'SEGV' 'SYS' 'PIPE' 'ALRM' 'TERM' 'USR1' 'USR2' 'CLD' 'PWR' 'WINCH' 'URG' 'POLL' 'STOP' 'TSTP' 'CONT' 'TTIN' 'TTOU' 'VTALRM' 'PROF' 'XCPU' 'XFSZ' 'WAITING' 'LWP' 'FREEZE' 'THAW' 'CANCEL' 'LOST' 'RTMIN' '39' '40' '41' '42' '43' '44' 'RTMAX' 'ZERR' 'DEBUG')
watch=('')

# Exported variables.

export ARCH
export AVS_PATH
export CDPATH
export CMUCLLIB
export COLUMNS
export DISPLAY
export FNORD_PATH
export GODZILLANET
export HOME
export HZ
export INDEXPATH
export INFOPATH
export LESS
export LINES
export LOGNAME
export LS_COLORS
export MAIL
export MANPATH
export MAP3270
export NPX_PLUGIN_PATH
export OLDPWD
export OPENWINOPTS
export PAGER
export PATH
export PKFONTS
export PRINTER
export PWD
export REAL_UGA_ROOT
export RMANCONFIG
export SHELL
export SHLVL
export STARTUPSDIR
export SUBNET
export S_CLEDITOR
export TERM
export TERMCAP
export TERMINFO
export TEXPKS
export TFMFONTS
export TZ
export UGA_ARCH
export UGA_ROOT
export USER
export USE_VIDEO
export XGLHOME
export XUSERFILESEARCHPATH
export _INIT_PREV_LEVEL
export _INIT_RUN_LEVEL
export _INIT_RUN_NPREV
export _INIT_UTS_ISA
export _INIT_UTS_MACHINE
export _INIT_UTS_NODENAME
export _INIT_UTS_PLATFORM
export _INIT_UTS_RELEASE
export _INIT_UTS_SYSNAME
export _INIT_UTS_VERSION
export latex209_inputs
export latex2e_inputs
export plaintex_inputs

# Setopt.

setopt norcs

# Styles.


# END zsh saveset

failed tests: C02 Y03

output of "ZTST_verbose=1 make TESTNUM=C02 check" follows:

cd Test ; make check
if test -n "gcc"; then \
  cd .. && \
  make MODDIR=`pwd`/Test/Modules install.modules > /dev/null; \
fi
mkdir /cs/src/zsh/zsh-4.0.1/Test/Modules
mkdir /cs/src/zsh/zsh-4.0.1/Test/Modules/zsh
for f in ./C02*.ztst; do \
  ../Src/zsh +Z -f ./ztst.zsh $f; \
done
./C02cond.ztst: starting.
Running test: -a cond
Test successful.
Running test: -b cond
Test successful.
Running test: -c cond
Test successful.
Running test: -d cond
Test successful.
Running test: -e cond
Test successful.
Running test: -f cond
Test successful.
Running test: -g cond
Test ./C02cond.ztst failed: bad status 1, expected 0 from:
  [[ -g modish && ! -g zerolength ]]
Was testing: -g cond
./C02cond.ztst: test failed.
*** Error code 1 (ignored)
rm -rf Modules .zcompdump

output of "ZTST_verbose=1 make TESTNUM=Y03 check" follows:

cd Test ; make check
if test -n "gcc"; then \
  cd .. && \
  make MODDIR=`pwd`/Test/Modules install.modules > /dev/null; \
fi
mkdir /cs/src/zsh/zsh-4.0.1/Test/Modules
mkdir /cs/src/zsh/zsh-4.0.1/Test/Modules/zsh
for f in ./Y03*.ztst; do \
  ../Src/zsh +Z -f ./ztst.zsh $f; \
done
./Y03arguments.ztst: starting.
Running test: one non-option argument
Test successful.
Running test: a and b
Test successful.
Running test: three arguments
Test successful.
Running test: first argument
Test successful.
Running test: -+
Test successful.
Running test: option beginning with + and -.
Test successful.
Running test: two option arguments
Test successful.
Running test: sticky option argument
Test successful.
Running test: end of option sequence
Test successful.
Running test: argument beginning with minus
*** /tmp/zsh.ztst.out.23492	Fri Jun  8 18:32:35 2001
--- /tmp/zsh.ztst.tout.23492	Fri Jun  8 18:32:35 2001
***************
*** 1,4 ****
  line: {tst -}{}
  MESSAGE:{arg}
- DESCRIPTION:{option}
- NO:{-x}
--- 1,2 ----
Test ./Y03arguments.ztst failed: output differs from expected as shown above for:
 tst_arguments '-x' ':arg:'
 comptest $'tst -\t'
Was testing: argument beginning with minus
./Y03arguments.ztst: test failed.
*** Error code 1 (ignored)
rm -rf Modules .zcompdump

[-- Attachment #9: Type: text/plain, Size: 68 bytes --]


On RedHat 7.0 linux 2.2.16 gcc 2.96 20000731, C02 and Y03 failed.


[-- Attachment #10: redhat 7.0 linux 2.2.16 gcc 2.96 20000731 report & log --]
[-- Type: application/octet-stream, Size: 23735 bytes --]

[-- Attachment #11: Type: text/plain, Size: 595 bytes --]


On aix 4.3.2, gcc 2.91.66 fails completely, installed zsh has an error being 
unable to find libzsh-... The system cc fails in the same way, but by that
time I had found the runtime path documentation in the manpage and
determined that the link line for both gcc and cc lacks -L to tell it where
to find libzsh-... Adding that manually produced a zsh which ran and
immediately segfaulted (even with -f). I then tried the system cc, with
configure --disable-dynamic and all modules set to link=static in
config.modules, and that finally ran, but failed A04 and C02, but,
surprisingly, not Y03.


[-- Attachment #12: aix 4.3.2 cc --disable-dynamic report & log --]
[-- Type: application/octet-stream, Size: 23671 bytes --]

[-- Attachment #13: Type: text/plain, Size: 8 bytes --]


   Tim

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: zsh 4.0.1 make check failures on irix, freebsd, solaris, aix, linux
  2001-06-09  1:03 zsh 4.0.1 make check failures on irix, freebsd, solaris, aix, linux Timothy Miller
@ 2001-06-09  4:59 ` Bart Schaefer
  2001-06-09 16:12   ` Timothy Miller
  0 siblings, 1 reply; 5+ messages in thread
From: Bart Schaefer @ 2001-06-09  4:59 UTC (permalink / raw)
  To: Timothy Miller, zsh-workers

Thanks for the feedback, Tim ...

On Jun 8,  9:03pm, Timothy Miller wrote:
} 
} I seem to be getting make check failures on the new version of zsh on all
} the architectures we have around here!

The failures in Y03 are a known problem that occurred as a result of a
last-minute patch for a different problem.  A fix has been applied to the
CVS repository at SourceForge <https://sourceforge.net/cvs/?group_id=4068>.
You will probably want to "cvs -d ... co -r zsh-4_0-patches".

} On Irix 6.3, gcc 2.8.0, C02, Y01, Y02, Y03 fail. Y0[123] appear to be due to 
} zpty failure, which is documented as a lack of support, so I don't include
} them (just C02). Using the SGI cc gives essentially the same result.

The -N test is known to fail on NFS filesystems.  Is your build dir NFS'd?

} On Irix 6.5, gcc 2.91.66, again fails C02
} On Solaris 2.7 (Sunos 5.7), gcc 2.95.3, C02

Test ./C02cond.ztst failed: bad status 1, expected 0 from:
  [[ -g modish && ! -g zerolength ]]

I tend to think this is NFS-related as well; the test is initialized by
trying to chmod a directory for set-group-id.  Depending on the NFS
mount options and whether the current user's default group exists on
the remote server, that might not be possible.

} On RedHat 7.0 linux 2.2.16 gcc 2.96 20000731, C02

Test ./C02cond.ztst failed: bad status 1, expected 0 from:
  if ! grep '#define HAVE_FIFOS' $ZTST_testdir/../config.h; then
    print -u8 'Warning: Not testing [[ -p pipe ]] (FIFOs not supported)'
    [[ ! -p zerolength ]]
  else
    if whence mkfifo && mkfifo pipe || mknod pipe p; then
      [[ -p pipe && ! -p zerolength ]]
    else
      print -u8 'Warning: Not testing [[ -p pipe ]] (cannot create FIFO)'
      [[ ! -p zerolength ]]
    fi
  fi

I suspect NFS again, particularly if one of the SGI machines is your NFS
server.  I wouldn't expect a FIFO created on an NFS filesystem to work
properly (though it should when both client and server are Linux).

} On aix 4.3.2, gcc 2.91.66 fails completely, installed zsh has an error being 
} unable to find libzsh-...

Yes, we're just having a discussion about that.  Unfortunately none of
the developers has direct access to an AIX machine.

} determined that the link line for both gcc and cc lacks -L to tell it where
} to find libzsh-... Adding that manually produced a zsh which ran and
} immediately segfaulted (even with -f).

The -L information is helpful, thanks (in fact, if you could post a short
manual excerpt relating to it that might be helpful too).

} I then tried the system cc, with
} configure --disable-dynamic and all modules set to link=static in
} config.modules, and that finally ran, but failed A04 and C02

This one (A04) is a race condition in the test and does not represent
an actual failure:

! foo: doo be doo be doo
! bar: doo be doo be doo
--- 1,2 ----
! foo: 
! bar: 
Test ./A04redirect.ztst failed: output differs from expected as shown above
for:
  print "foo: $(<foo)\nbar: $(<bar)"
Was testing: read 2-file multio

The C02 failure is the -g one already discussed above.  If NFS is not
involved, please try running:
	mkdir modish
	chmod g+xs modish
	ls -l modish
and see whether `modish' appears to have its setgid bit set.

} but, surprisingly, not Y03.

That is surprising.  My guess is it never got tried.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: zsh 4.0.1 make check failures on irix, freebsd, solaris, aix, linux
  2001-06-09  4:59 ` Bart Schaefer
@ 2001-06-09 16:12   ` Timothy Miller
  2001-06-09 17:21     ` Bart Schaefer
  2001-06-09 18:01     ` Andrej Borsenkow
  0 siblings, 2 replies; 5+ messages in thread
From: Timothy Miller @ 2001-06-09 16:12 UTC (permalink / raw)
  To: Bart Schaefer; +Cc: zsh-workers

On Sat, 9 Jun 2001 04:59:24 +0000, "Bart Schaefer" <schaefer@candle.brasslantern.com> wrote:
> Thanks for the feedback, Tim ...

You're welcome.

> The failures in Y03 are a known problem that occurred as a result of a
> last-minute patch for a different problem.  A fix has been applied to the
> CVS repository at SourceForge <https://sourceforge.net/cvs/?group_id=4068>.
> You will probably want to "cvs -d ... co -r zsh-4_0-patches".

Ok; I'll take a look at this a little later..

> } On Irix 6.3, gcc 2.8.0, C02, Y01, Y02, Y03 fail. Y0[123] appear to be due to 
> } zpty failure, which is documented as a lack of support, so I don't include
> } them (just C02). Using the SGI cc gives essentially the same result.
> 
> The -N test is known to fail on NFS filesystems.  Is your build dir NFS'd?

Yes, that's probably it then.

> } On Irix 6.5, gcc 2.91.66, again fails C02
> } On Solaris 2.7 (Sunos 5.7), gcc 2.95.3, C02
> 
> Test ./C02cond.ztst failed: bad status 1, expected 0 from:
>   [[ -g modish && ! -g zerolength ]]
> 
> I tend to think this is NFS-related as well; the test is initialized by
> trying to chmod a directory for set-group-id.  Depending on the NFS
> mount options and whether the current user's default group exists on
> the remote server, that might not be possible.

The source directory is on a filesystem mounted with grpid so new
directories get the parent group, but the parent group isn't one I'm in, so
I presume that was the problem. It might help to have some code to test for
that case and try to deliberately "chgrp $GID <whatever>" if the new
directory's group isn't in $(groups).

> } On RedHat 7.0 linux 2.2.16 gcc 2.96 20000731, C02
> 
> Test ./C02cond.ztst failed: bad status 1, expected 0 from:
>   if ! grep '#define HAVE_FIFOS' $ZTST_testdir/../config.h; then
>     print -u8 'Warning: Not testing [[ -p pipe ]] (FIFOs not supported)'
>     [[ ! -p zerolength ]]
>   else
>     if whence mkfifo && mkfifo pipe || mknod pipe p; then
>       [[ -p pipe && ! -p zerolength ]]
>     else
>       print -u8 'Warning: Not testing [[ -p pipe ]] (cannot create FIFO)'
>       [[ ! -p zerolength ]]
>     fi
>   fi
> 
> I suspect NFS again, particularly if one of the SGI machines is your NFS
> server.  I wouldn't expect a FIFO created on an NFS filesystem to work
> properly (though it should when both client and server are Linux).

Ok. (The server's a sun, though, just so you know.) Is there a reason not to 
put your temporary testing files in /tmp if NFS is a problem?

> } determined that the link line for both gcc and cc lacks -L to tell it where
> } to find libzsh-... Adding that manually produced a zsh which ran and
> } immediately segfaulted (even with -f).
> 
> The -L information is helpful, thanks (in fact, if you could post a short
> manual excerpt relating to it that might be helpful too).

Some more details then:

the zsh linking command from "CC=cc ./configure --prefix=/cs" is

LD_RUN_PATH=/cs/lib/zsh cc -qlanglvl=ansi  -s  -o zsh main.o libzsh-4.0.1.so -ldl -lcurses -lm  -lc

The error that produces on trying to run the resulting zsh is

exec(): 0509-036 Cannot load program ./zsh because of the following errors:
        0509-022 Cannot load library libzsh-4.0.1.so.
        0509-026 System error: A file or directory in the path name does not 
        exist.

I changed the link line to

cc -qlanglvl=ansi  -s  -o zsh main.o  -L/cs/lib/zsh libzsh-4.0.1.so -ldl -lcurses -lm  -lc

which produced the zsh that just segfaulted. It turns out it doesn't
segfault if you don't install any modules and run it with -f, but does if
the modules are installed or -f isn't given.

some relevant excerpts from the ld man page:

    Note: If you specify a shared object, or an archive file containing a shared
    object, with an absolute or relative path name, instead of with the -lName
    flag, the path name is included in the import file ID string in the loader
    section of the output file. You can override this behavior with the
    -bnoipath option.

[...]

-LDirectory Adds Directory to the list of search directories used for finding
libraries designated by the -l (lowercase letter L) flag. The list of
directories, including the standard library directories, is also recorded in the
output object file loader section for use by the system loader unless you use
the -blibpath or -bnolibpath option. You can repeat this flag.

[...]

Options (-bOptions)

The following values are possible for the Options variable of the -b flag. You
can list more than one option after the -b flag, separating them with a single
blank.

[...]

libpath:Path Uses Path as the library path when writing the loader section of
the output file. Path is neither checked for validity nor used when searching
for libraries specified by the -l flag. Path overrides any library paths
generated when the -L flag is used.

If you do not specify any -L flags, or if you specify the nolibpath option, the
default library path information is written in the loader section of the output
file. The default library path information is the value of the LIBPATH
environment variable if it is defined, and /usr/lib:/lib, otherwise.

[...]

Environment Variables

[LD_RUN_PATH is NOT listed]

[...]

LIBPATH If LIBPATH is defined, its value is used as the default libary path
information. Otherwise, the default library path information is /usr/lib:/lib.
If no -L flags are specified and no -blibpath option is specified, the default
library path information is written in the loader section of the output file.
Regardless of any options specified, LIBPATH is not used when searching for
libraries that are specified from the command line.

> } but, surprisingly, not Y03.
> 
> That is surprising.  My guess is it never got tried.

If I do "ZTST_verbose=1 gmake TESTNUM=Y03 check" it just prints out
"./Y03arguments.ztst: starting.", pauses for a bit, and then exits (not
printing anything more), so you seem to be right.
   Tim


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: zsh 4.0.1 make check failures on irix, freebsd, solaris, aix, linux
  2001-06-09 16:12   ` Timothy Miller
@ 2001-06-09 17:21     ` Bart Schaefer
  2001-06-09 18:01     ` Andrej Borsenkow
  1 sibling, 0 replies; 5+ messages in thread
From: Bart Schaefer @ 2001-06-09 17:21 UTC (permalink / raw)
  To: Timothy Miller; +Cc: zsh-workers

On Jun 9, 12:12pm, Timothy Miller wrote:
} Subject: Re: zsh 4.0.1 make check failures on irix, freebsd, solaris, aix,
}
} > CVS repository at SourceForge <https://sourceforge.net/cvs/?group_id=4068>.
} > You will probably want to "cvs -d ... co -r zsh-4_0-patches".
} 
} Ok; I'll take a look at this a little later..

I've also uploaded just the fix for this one problem to the SourceForge
patch manager:
  http://sourceforge.net/tracker/?atid=304068&group_id=4068&func=browse
The patch number is 431573.

} The source directory is on a filesystem mounted with grpid so new
} directories get the parent group, but the parent group isn't one I'm in

Aha.  However, it's really only trying to see whether the setgid bit is
set, not which group owns the directory.  Maybe the "chmod g+s" fails when
you aren't in the group?

} It might help to have some code to test for
} that case and try to deliberately "chgrp $GID <whatever>"

The %prep section should simply always do that chgrp.

} Is there a reason not to put your temporary testing files in /tmp if
} NFS is a problem?

There are different problems with Sun's ramdisk /tmp, so there's really
no safe place to put anything.  We're trying to come up with a way to
tell that the build directory is on NFS and selective skip those tests.

} Some more details [about AIX compilation] then:

Thanks again.  I'm going to let Andrej fold this into configure as he's
already been trying some other AIX-related changes.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: zsh 4.0.1 make check failures on irix, freebsd, solaris, aix, linux
  2001-06-09 16:12   ` Timothy Miller
  2001-06-09 17:21     ` Bart Schaefer
@ 2001-06-09 18:01     ` Andrej Borsenkow
  1 sibling, 0 replies; 5+ messages in thread
From: Andrej Borsenkow @ 2001-06-09 18:01 UTC (permalink / raw)
  To: Timothy Miller; +Cc: zsh-workers

Timothy Miller wrote:

> Some more details then:
> 
> the zsh linking command from "CC=cc ./configure --prefix=/cs" is
> 
> LD_RUN_PATH=/cs/lib/zsh cc -qlanglvl=ansi  -s  -o zsh main.o libzsh-4.0.1.so -ldl -lcurses -lm  -lc
> 
> The error that produces on trying to run the resulting zsh is
> 
> exec(): 0509-036 Cannot load program ./zsh because of the following errors:
>         0509-022 Cannot load library libzsh-4.0.1.so.
>         0509-026 System error: A file or directory in the path name does not 
>         exist.
> 
> I changed the link line to
> 
> cc -qlanglvl=ansi  -s  -o zsh main.o  -L/cs/lib/zsh libzsh-4.0.1.so -ldl -lcurses -lm  -lc
> 
> which produced the zsh that just segfaulted. It turns out it doesn't
> segfault if you don't install any modules and run it with -f, but does if
> the modules are installed or -f isn't given.
>



Timothy, have you tried my patch? I am pretty sure, the actual problem 
is that we still need export files even in case of dlopen() (libtool 
documentation mentions, that shared objects on AIX must self-contained; 
we try outsmart it :-).

 
> 
> Options (-bOptions)
> 
> The following values are possible for the Options variable of the -b flag. You
> can list more than one option after the -b flag, separating them with a single
> blank.
> 
> [...]
> 


Alas, you omitted the most interesting part - system-specific options ...

> 
> LIBPATH If LIBPATH is defined, its value is used as the default libary path
> information. Otherwise, the default library path information is /usr/lib:/lib.
> If no -L flags are specified and no -blibpath option is specified, the default
> library path information is written in the loader section of the output file.
> Regardless of any options specified, LIBPATH is not used when searching for
> libraries that are specified from the command line.
>


That would be very useful if we needed libzsh - but Oliver said, we did 
not need it even on 3.x version - so I guess we do not need it here as well.

-andrej


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-06-09 17:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-09  1:03 zsh 4.0.1 make check failures on irix, freebsd, solaris, aix, linux Timothy Miller
2001-06-09  4:59 ` Bart Schaefer
2001-06-09 16:12   ` Timothy Miller
2001-06-09 17:21     ` Bart Schaefer
2001-06-09 18:01     ` Andrej Borsenkow

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).