zsh-workers
 help / color / mirror / code / Atom feed
From: Vin Shelton <acs@alumni.princeton.edu>
To: teg@redhat.com (Trond Eivind Glomsrød)
Cc: Jason Price <jprice@cyberbuzz.gatech.edu>, zsh-workers@sunsite.dk
Subject: Re: gcc 3.0 produces broken zsh
Date: 20 Jun 2001 23:19:40 -0400	[thread overview]
Message-ID: <m266dqwmcz.fsf@zion.rcn.com> (raw)
In-Reply-To: <xuybsnjiyue.fsf@halden.devel.redhat.com>

teg@redhat.com (Trond Eivind Glomsrød) writes:
> Jason Price <jprice@cyberbuzz.gatech.edu> writes:
> 
> > Out of morbid curiosity, I built gcc3 and installed it somewhere out of the
> > way (like $HOME/gcc3) on my redhat 7.1 linux box.  Then I tried to build
> > zsh with it.
> > 
> > It configured and compiled with hardly any errors.  The only build errors
> > were:
> > 
> > math.c: In function `zzlex':
> > math.c:382: warning: operation on `ptr' may be undefined
> > utils.o: In function `gettempname':
> > utils.o(.text+0x1de2): the use of `mktemp' is dangerous, better use `mkstemp'
> > 
> > However, when I install it, it doesn't seem to be able to find or load any
> > modules.  Building with stock gcc's of the 2.95.* variety work
> 
> It seems to work nicely with the compiler we ship, 2.96RH, as well
> (downgrading to 2.95? Yick)


I am having similar problems here.  zsh from CVS built with gcc-2.95.3
works as expected and passes all tests, but when I build with gcc-3.0,
I get the following testsuite failures, which indicate problems with
the module subsystem, IIRC:

    /usr/local/src/zsh-2001-06-20/Test/V01zmodload.ztst: starting.
    Warning: zsh/example not linked: not checking autoloading
    /usr/local/src/zsh-2001-06-20/Test/V01zmodload.ztst: all tests successful.
    /usr/local/src/zsh-2001-06-20/Test/V02zregexparse.ztst: starting.
    /usr/local/src/zsh-2001-06-20/Test/V02zregexparse.ztst: all tests successful.
    /usr/local/src/zsh-2001-06-20/Test/Y01completion.ztst: starting.
    comptestinit:7: failed to load module: zsh/zpty
    comptestinit:19: command not found: zpty
    comptestinit:21: command not found: zpty
    Test /usr/local/src/zsh-2001-06-20/Test/Y01completion.ztst failed: non-zero status from preparation code:
      comptestinit -z $ZTST_testdir/../Src/zsh
    /usr/local/src/zsh-2001-06-20/Test/Y01completion.ztst: test failed.
    Test /usr/local/src/zsh-2001-06-20/Test/Y01completion.ztst failed: bad status 1, expected 0 from:
      comptest $': \t\t\t\t\t\t\t'
    Error output:
    comptest:2: command not found: zpty
    comptest:3: command not found: zpty
    Was testing: directories and files
    /usr/local/src/zsh-2001-06-20/Test/Y01completion.ztst: test failed.
    /usr/local/src/zsh-2001-06-20/Test/Y02compmatch.ztst: starting.
    comptestinit:7: failed to load module: zsh/zpty
    comptestinit:19: command not found: zpty
    comptestinit:21: command not found: zpty
    Test /usr/local/src/zsh-2001-06-20/Test/Y02compmatch.ztst failed: non-zero status from preparation code:
      comptestinit -z $ZTST_testdir/../Src/zsh
    /usr/local/src/zsh-2001-06-20/Test/Y02compmatch.ztst: test failed.
    Test /usr/local/src/zsh-2001-06-20/Test/Y02compmatch.ztst failed: bad status 1, expected 0 from:
     test_code z: list1
     comptest  $'tst \t'
    Error output:
    comptesteval:4: command not found: zpty
    comptesteval:5: command not found: zpty
    comptest:2: command not found: zpty
    comptest:3: command not found: zpty
    Was testing: Match Error for "z:"
    /usr/local/src/zsh-2001-06-20/Test/Y02compmatch.ztst: test failed.
    /usr/local/src/zsh-2001-06-20/Test/Y03arguments.ztst: starting.
    comptestinit:7: failed to load module: zsh/zpty
    comptestinit:19: command not found: zpty
    comptestinit:21: command not found: zpty
    comptesteval:4: command not found: zpty
    comptesteval:5: command not found: zpty
    Test /usr/local/src/zsh-2001-06-20/Test/Y03arguments.ztst failed: bad status 1, expected 0 from:
     tst_arguments ':desc1:(arg1)'
     comptest $'tst \t\C-wa\t\C-war\t\C-warg\t\C-warg1\t\C-wr\t\C-wx\t \ty \t'
    Error output:
    comptesteval:4: command not found: zpty
    comptesteval:5: command not found: zpty
    comptest:2: command not found: zpty
    comptest:3: command not found: zpty
    Was testing: one non-option argument
    /usr/local/src/zsh-2001-06-20/Test/Y03arguments.ztst: test failed.
    make[1]: [check] Error 1 (ignored)
    rm -rf Modules .zcompdump
    make[1]: Leaving directory `/usr/local/build/zsh-2001-06-20/Test'


Here are my zsh config options:
  /usr/local/src/zsh-2001-06-20/configure  --prefix=/usr/local/zsh-2001-06-20 --datadir=/usr/local/share --enable-zsh-mem --enable-etcdir=/usr/local/etc --enable-dynamic --disable-nls --disable-locale

This is on a linux-2.4.6-pre4 686 system, with glibcglibc-2.2.2-5mdk.
The system is based on Mandrake 8.0.

  - vin


  reply	other threads:[~2001-06-21  3:19 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-20  3:50 Jason Price
2001-06-20  4:01 ` Trond Eivind Glomsrød
2001-06-21  3:19   ` Vin Shelton [this message]
2001-06-21  3:36     ` Andrej Borsenkow
2001-06-21 20:44       ` Jason Price
2001-06-22  9:39         ` Andrej Borsenkow
2001-06-22 12:53           ` Chmouel Boudjnah
2001-06-23 18:24           ` Andrej Borsenkow
2001-06-25 11:15             ` Chmouel Boudjnah
2001-06-25 11:22             ` Andrej Borsenkow
2001-06-21  4:44     ` Bart Schaefer
2001-06-20  4:13 ` Dan Nelson
2001-06-20 11:19   ` Chmouel Boudjnah

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m266dqwmcz.fsf@zion.rcn.com \
    --to=acs@alumni.princeton.edu \
    --cc=jprice@cyberbuzz.gatech.edu \
    --cc=teg@redhat.com \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).