zsh-workers
 help / color / mirror / code / Atom feed
* Zsh broken after the latest build patches
@ 2001-04-21  8:37 Andrej Borsenkow
  2001-04-21 10:51 ` Andrej Borsenkow
  0 siblings, 1 reply; 14+ messages in thread
From: Andrej Borsenkow @ 2001-04-21  8:37 UTC (permalink / raw)
  To: ZSH Workers Mailing List

I do not know, which one exactly is responsible; but, I asked to hold off
these patches, there is nothing so important in any one of them ...

bor@itsrm2% print lsld.so: zsh: symbol not found: tgoto
zsh: killed     zsh

bor@itsrm2% nm /tools/lib/zsh/4.0.1-pre-3/zsh/zle.so | grep tgoto
[757]   |     49100|       0|  U  |GLOB |0    |UNDEF  |tgoto
bor@itsrm2% nm =zsh | grep tgoto
nothing

To remind - I have static libtermcap (a.k.a. libcurses a.k.a. libterminfo).
So, both main zsh modules *and* any module that is using them (zle, termcap,
terminfo, etc) must be linked with these modules. Before, both zsh main and
every module was linked with all libraries. Now what happens is:

Src/Zle/Makefile:

...
LIBS            = -ldl -lg -lc
...
zle.$(DL_EXT): $(MODDOBJS_zle) zle.export  $(dir_top)/Src/zsh.export
$(NOLINKMODS_zle)
        rm -f $@
        $(DLLINK) $(NXPIMP_zle) $(NNTRYOPT) $(MODDOBJS_zle) $(NOLINKMODS_zle)
$(LIBS)

Folks, the issue of dynamic linking is too complicated to be solved with one
patch. libtool was created for a reason. And definitely such changes should
not be done just before release. Please, backout these changes. I do not have
time currently to debug this (sorry), and I do not want zsh remain broken
here.

-andrej

Have a nice DOS!
B >>


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

end of thread, other threads:[~2001-04-24  8:51 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-21  8:37 Zsh broken after the latest build patches Andrej Borsenkow
2001-04-21 10:51 ` Andrej Borsenkow
2001-04-23  4:53   ` What about this? (was: RE: Zsh broken after the latest build patches) Andrej Borsenkow
2001-04-23 16:24     ` Bart Schaefer
2001-04-23 16:44       ` Peter Stephenson
2001-04-23 17:41         ` Bart Schaefer
2001-04-23 17:58           ` Peter Stephenson
2001-04-23 23:08         ` PATCH: " Clint Adams
2001-04-23 18:00       ` Andrej Borsenkow
2001-04-23 18:22         ` Bart Schaefer
2001-04-23 19:44           ` PATCH: revert Clint's build patches Andrej Borsenkow
2001-04-24  6:40             ` Bart Schaefer
2001-04-24  8:50               ` Andrej Borsenkow
2001-04-24  5:33           ` PATCH: The last, I really hope, subscripting tweak for a long while Bart Schaefer

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