zsh-workers
 help / color / mirror / code / Atom feed
* ZSH build/test is slightly broken on AIX
@ 2003-12-16 13:48 David Favor
  2003-12-18 17:54 ` Peter Stephenson
  2003-12-18 18:16 ` Peter Stephenson
  0 siblings, 2 replies; 4+ messages in thread
From: David Favor @ 2003-12-16 13:48 UTC (permalink / raw)
  To: zsh-workers

ZSH build/test is slightly broken on AIX:

1) if built dynamic the following symbols have to
    be added to Src/zsh.export for zsh to link:

       zero_mnumber
       isident
       c, lastend, statusll, statusline
       tokfd

2) the following tests fail the same, whether
    zsh build static or dynamic

    A02alias, B02typeset

3) the following tests fail when zsh built static
    because zmodloads are done without checking to
    see if they're required:

    Y01completion, Y02compmatch, Y03arguments

4) the following tests hang forever:

    A04redirect

Let me know how to assist getting these fixed.

As always, zsh rocks!

- David


-- 
www.RadicalHealth.com - subscribe@radicalhealth.com
Simple ways to look, feel and live your best ever!


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

* Re: ZSH build/test is slightly broken on AIX
  2003-12-16 13:48 ZSH build/test is slightly broken on AIX David Favor
@ 2003-12-18 17:54 ` Peter Stephenson
  2003-12-18 18:18   ` Peter Stephenson
  2003-12-18 18:16 ` Peter Stephenson
  1 sibling, 1 reply; 4+ messages in thread
From: Peter Stephenson @ 2003-12-18 17:54 UTC (permalink / raw)
  To: zsh-workers

David Favor wrote:
> ZSH build/test is slightly broken on AIX:
>
> Let me know how to assist getting these fixed.

Version numbers and detailed test reports.  (Sticking ZTEST_verbose=1
or even 2 before `make test' gives more detail, too, though not
necessarily useful.)

The first can be fixed easily enough by judicious extra export
declarations.

-- 
Peter Stephenson <pws@csr.com>                  Software Engineer
CSR Ltd., Science Park, Milton Road,
Cambridge, CB4 0WH, UK                          Tel: +44 (0)1223 692070


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************


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

* Re: ZSH build/test is slightly broken on AIX
  2003-12-16 13:48 ZSH build/test is slightly broken on AIX David Favor
  2003-12-18 17:54 ` Peter Stephenson
@ 2003-12-18 18:16 ` Peter Stephenson
  1 sibling, 0 replies; 4+ messages in thread
From: Peter Stephenson @ 2003-12-18 18:16 UTC (permalink / raw)
  To: zsh-workers

David Favor wrote:
> 1) if built dynamic the following symbols have to
>     be added to Src/zsh.export for zsh to link:
> 
>        zero_mnumber
>        isident
>        c, lastend, statusll, statusline
>        tokfd

It looks like this is for 4.0.8... this should fix these.  I'll
upload a new version assume as it's clear whether there's any more
flak.  (Exporting a symbol `c' is grotesque.)

Index: Src/lex.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/lex.c,v
retrieving revision 1.19.4.2
diff -u -r1.19.4.2 lex.c
--- Src/lex.c	17 Jul 2003 17:41:18 -0000	1.19.4.2
+++ Src/lex.c	18 Dec 2003 18:12:49 -0000
@@ -44,7 +44,7 @@
 /**/
 mod_export int tok;
 /**/
-int tokfd;
+mod_export int tokfd;
 
 /* lexical analyzer error flag */
  
Index: Src/math.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/math.c,v
retrieving revision 1.9.4.2
diff -u -r1.9.4.2 math.c
--- Src/math.c	12 May 2003 14:03:36 -0000	1.9.4.2
+++ Src/math.c	18 Dec 2003 18:12:50 -0000
@@ -40,7 +40,7 @@
 /* integer zero */
 
 /**/
-mnumber zero_mnumber;
+mod_export mnumber zero_mnumber;
 
 /* last input base we used */
 
Index: Src/params.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/params.c,v
retrieving revision 1.48.4.11
diff -u -r1.48.4.11 params.c
--- Src/params.c	13 Nov 2003 16:45:38 -0000	1.48.4.11
+++ Src/params.c	18 Dec 2003 18:12:50 -0000
@@ -763,7 +763,7 @@
 /* Return 1 if the string s is a valid identifier, else return 0. */
 
 /**/
-int
+mod_export int
 isident(char *s)
 {
     char *ss;
Index: Src/Zle/compcore.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/Zle/compcore.c,v
retrieving revision 1.45.4.4
diff -u -r1.45.4.4 compcore.c
--- Src/Zle/compcore.c	28 Oct 2003 16:52:30 -0000	1.45.4.4
+++ Src/Zle/compcore.c	18 Dec 2003 18:12:50 -0000
@@ -277,7 +277,7 @@
 /* This holds the end-position of the last string inserted into the line. */
 
 /**/
-int lastend;
+mod_export int lastend;
 
 #define inststr(X) inststrlen((X),1,-1)
 
Index: Src/Zle/zle_main.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/Zle/zle_main.c,v
retrieving revision 1.18.4.4
diff -u -r1.18.4.4 zle_main.c
--- Src/Zle/zle_main.c	13 Nov 2003 16:45:38 -0000	1.18.4.4
+++ Src/Zle/zle_main.c	18 Dec 2003 18:12:50 -0000
@@ -64,7 +64,7 @@
 /* last character pressed */
 
 /**/
-int c;
+mod_export int c;		/* YUK! */
 
 /* the bindings for the previous and for this key */
 
@@ -99,9 +99,9 @@
 /* the status line, and its length */
 
 /**/
-char *statusline;
+mod_export char *statusline;
 /**/
-int statusll;
+mod_export int statusll;
 
 /* The current history line and cursor position for the top line *
  * on the buffer stack.                                          */

-- 
Peter Stephenson <pws@csr.com>                  Software Engineer
CSR Ltd., Science Park, Milton Road,
Cambridge, CB4 0WH, UK                          Tel: +44 (0)1223 692070


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************


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

* Re: ZSH build/test is slightly broken on AIX
  2003-12-18 17:54 ` Peter Stephenson
@ 2003-12-18 18:18   ` Peter Stephenson
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Stephenson @ 2003-12-18 18:18 UTC (permalink / raw)
  To: zsh-workers

Peter Stephenson wrote:
> Version numbers and detailed test reports.  (Sticking ZTEST_verbose=1
> or even 2 before `make test' gives more detail, too, though not
> necessarily useful.)

ZTST_verbose=1, sorry.

-- 
Peter Stephenson <pws@csr.com>                  Software Engineer
CSR Ltd., Science Park, Milton Road,
Cambridge, CB4 0WH, UK                          Tel: +44 (0)1223 692070


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************


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

end of thread, other threads:[~2003-12-18 18:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-16 13:48 ZSH build/test is slightly broken on AIX David Favor
2003-12-18 17:54 ` Peter Stephenson
2003-12-18 18:18   ` Peter Stephenson
2003-12-18 18:16 ` Peter Stephenson

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