zsh-workers
 help / color / mirror / code / Atom feed
* zsh-2.5.03-2.6b17 under Solaris 2.5 trouble with mult()
@ 1996-05-07 22:29 Erik Ogan
  1996-05-08  5:34 ` Clive Messer
  1996-05-10 20:49 ` Zoltan Hidvegi
  0 siblings, 2 replies; 3+ messages in thread
From: Erik Ogan @ 1996-05-07 22:29 UTC (permalink / raw)
  To: zsh-workers

I just sub'ed yesterday, but I've poked around the archives and I
haven't found anything that seems even remotely related to this
problem.

The following occurs on all of our Solaris 2.5 boxes for zsh versions
2.5.03 - 2.6b17 (ok, I didn't try EVERY beta...:) but does NOT occur
under SunOS 4.1.x.

Everything compiles fine, but in the when it (gcc-2.7.2) tries to link:

gcc -o zsh builtin.o compat.o cond.o exec.o glob.o hashtable.o hist.o
init.o input.o jobs.o lex.o linklist.o loop.o math.o mem.o params.o
parse.o signals.o subst.o text.o utils.o watch.o zle_bindings.o
zle_hist.o zle_main.o zle_misc.o zle_move.o zle_refresh.o zle_tricky.o
zle_utils.o zle_vi.o zle_word.o -lnsl -ltermcap

generates the following warnings:

Warning: size of symbol `mult' changed from 4 to 284 in /lib/libmp.so.1
Warning: type of symbol `mult' changed from 1 to 2 in /lib/libmp.so.1

And the program will often dump core due to an illegal instruction
when searching command hash tables in a normal interactive incarnation
(works fine in a script, or in gdb (Yes, I know smart bugs can smell
programmer fear a mile a way)).

In light of that, the only other useful information I've found is by
doing a back trace on the core file in gdb. Doing so confirms that the
illegal instruction in question occurs in the mult() function, called
from the iscom() function (exec.c:388)

Being relatively new (read: forcibly dragged kicking and screaming) to
Solaris, I'm having some trouble with this, but under SunOS, (I would
assume its the same) this behavior would imply running out of memory,
or an illegal mult() operation.

The fact that I seem to be the only Solaris 2.5 user who's had this
problem disturbs me, and makes me look cross-eyed at our installation
of gcc.

Any ideas would be greatly appreciated, by me as well as my co-workers, 
most of whom are getting tired of listening to me swear up and down at 
tcsh.

--------
Erik R. Ogan
Webmaster/Systems Editor
GALT Technologies, Inc.



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

end of thread, other threads:[~1996-05-12 20:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-05-07 22:29 zsh-2.5.03-2.6b17 under Solaris 2.5 trouble with mult() Erik Ogan
1996-05-08  5:34 ` Clive Messer
1996-05-10 20:49 ` Zoltan Hidvegi

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).