From: cherkus@fastball.unimaster.com (Dave Cherkus)
Subject: Re: Compiling specint92 gcc-1.3.5 on Alpha
Date: Fri, 8 Oct 1993 21:25:17 GMT [thread overview]
Message-ID: <CELKu6.EA9@mv.mv.com> (raw)
In-Reply-To: GOODWIN.93Oct6141548@endive.ece.ucdavis.edu
In article <GOODWIN.93Oct6141548@endive.ece.ucdavis.edu>, goodwin@endive.ece.ucdavis.edu (David &) writes:
|>
|> I'm trying to compile the Specint92 gcc-1.3.5 benchmark on an Alpha
|> using gcc-2.4.5 but I get a warning in most source files that a
|> pointer is being cast as an integer and they have a different size.
|> Gcc compiles OK but does not run (seg. faults). I am fairly familiar
|> with gcc and I'm pretty sure the problem is that Alpha pointers are
|> 8 bytes and integers are only 4 bytes. So when a pointer variable is
|> cast as an integer the upper 4 bytes are being truncated. Unfortunately
|> I don't know how to fix it. I could not find anything alpha specific
|> in the specmark directory, in fact there isn't even a M.alpha makefile.
There is a cc option (I think '-taso') for the Truncated Address Space
Option. Pointers are still 64 bits, but the program is loaded below
the 2**32 line, so the high 32 bits are zero and the truncation does
not matter. This may be only for the newest release (1.3?).
----
Dave Cherkus UniMaster, Inc. cherkus@unimaster.com
prev parent reply other threads:[~1993-10-08 21:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-10-06 22:15 Compiling specint92 gcc-1.3.5 on Alpha David &
1993-10-08 21:25 ` Dave Cherkus [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox