Re: Compiler still buggy
On Mon, Nov 30, 1998 at 09:47:26AM -0600, John Goerzen wrote:
> I tried today to compile Tcl on Alpha. While Tcl does have numerous 64-bit
> cleanliness issues, compiling with -O2 causes the irc client zircon, which I
> maintain, to report "network is unreachable" whenever connecting to any
> server. Compiling with -O0 makes Zircon mostly work on Alpha. Zircon is
> pure Tcl code, BTW.
>
> This indicates to me that we still have insidious compiler bugs. And I had
> hoped that I could forever abolish nasty hacks to use -O0 instead of -O2.
Did you try to strace both binaries to see what they were doing? That would
help determine where the problem is coming from.
I wouldn't be too surprised if there are weird problems with inline
functions when you compile with high optimization levels...
Avery
Reply to: