From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,61a3c14b31bc790e X-Google-Attributes: gid11318c,public X-Google-Thread: 1164f8,61a3c14b31bc790e X-Google-Attributes: gid1164f8,public X-Google-Thread: f57db,61a3c14b31bc790e X-Google-Attributes: gidf57db,public X-Google-ArrivalTime: 1993-10-08 15:04:35 PST Xref: gmd.de comp.sys.dec:10702 comp.benchmarks:2899 gnu.gcc.help:4708 Newsgroups: comp.sys.dec,comp.benchmarks,gnu.gcc.help Path: gmd.de!xlink.net!howland.reston.ans.net!sol.ctr.columbia.edu!news.kei.com!world!mv!fastball.unimaster.com!cherkus From: cherkus@fastball.unimaster.com (Dave Cherkus) Subject: Re: Compiling specint92 gcc-1.3.5 on Alpha Nntp-Posting-Host: cherkus.mv.com References: Sender: usenet@mv.mv.com (Usenet News) Organization: UniMaster, Inc. Date: Fri, 8 Oct 1993 21:25:17 GMT Message-ID: Reply-To: cherkus@UniMaster.COM Distribution: comp In article , 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