Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

gcc 3.0 produces broken zsh

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

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, building
other programs works (havn't tested many, but one or two others do), and
zsh will let you do interactive stuff, it's just very limited.

Now, I could VERY easily be wrong, but most of the painful changes in gcc3
are in C++ land, and zsh doesn't have any of that (this is where I'm
probably wrong)

Anyway, just a heads up.  Since it was only realeased yesterday, I don't
think it's an immediate danger.

If I get some free time, I'll see if I can replicate this on the other
boxes I have access too (an x86 debian, and many flavors of Solaris on Sun)

And, if I y'all want some more info, I'd be glad to give it.


"Friendship is the bridge between lonely and loved, between a glance and a
gaze. It stretches from the fog into sunshine, hopelessness into faith, 
between despair and joy. It crosses the chasm from hell and to heaven, from 
God to man, and from you to me." --Unknown   Jason Price  jprice@xxxxxxxxxx

Messages sorted by: Reverse Date, Date, Thread, Author