* Compiling specint92 gcc-1.3.5 on Alpha
@ 1993-10-06 22:15 David &
1993-10-08 21:25 ` Dave Cherkus
0 siblings, 1 reply; 2+ messages in thread
From: David & @ 1993-10-06 22:15 UTC (permalink / raw)
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.
Anyone solved this problem??
David
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Compiling specint92 gcc-1.3.5 on Alpha
1993-10-06 22:15 Compiling specint92 gcc-1.3.5 on Alpha David &
@ 1993-10-08 21:25 ` Dave Cherkus
0 siblings, 0 replies; 2+ messages in thread
From: Dave Cherkus @ 1993-10-08 21:25 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1993-10-08 21:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-10-06 22:15 Compiling specint92 gcc-1.3.5 on Alpha David &
1993-10-08 21:25 ` Dave Cherkus
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox