Re: Linux/Alpha 2.0.1 port

Cristian Gafton (gafton@sorosis.ro)
Fri, 13 Jun 1997 23:35:05 +0300 (EET DST)

On Fri, 13 Jun 1997, Michael Brennen wrote:

> Does anyone have 2.0.1 running on Linux/Alpha? The spawned child is
> segfaulting with a memory violation. From the error it looks like a

I have seen few places in the radius source code were a int is put on
stack a read back later as a char or something like that. On Alphas
(bigendian) this is a real problem - the bits are not in the expected
order anymore... And if I remeber right, I've seen this when doing pointer
arithemetic, so... you figure.

You want to be scared ? Compile the source with -Wall -Wconversion
arguments for gcc and take a look at the output....

Not that 2.0.1 does not have a clean source, but some of the warnings I've
got from compiler deserves some attention, IMHO...

Cristian Gafton

--
--------------------------------------------------------------------
Cristian Gafton                                    gafton@sorosis.ro
Computers & Communications Center              Network Administrator
http://sysadm.sorosis.ro/devel                         Iasi, Romania
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
UNIX is user friendly. It's just selective about who its friends are.