[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: linux-ipsec: Re: FreeS/WAN allergic to egcs64 (SPARC)



>   Anyway, David, Jakub, and Anton,
> 
>   Is there any chance that I might get this working if I 
>   were to get the latest egcs out of CVS (and/or upgrade to
>   a new glibc?).  Would any of you like access to this box?
>   (I can to a scratch new install if you like.  This was a 
>   Debian Potato using Ben Collins 60Mb ISO image and an
>   apt-get update && apt-get upgrade.  I'll see if I can 
>   dig up a Red Hat if that would help.
> 
>   Is it just that SPARC is a "third class citizen" and that
>   I'm expecting too much?

As I said earlier, it has nothing do with with the dist. FreeS/WAN is not
doing The Right Thing by #include'ing user space headers. After I fixed
that on my system (I can send you a patch if you like) it still failed
because egcs64 (the same as RedHat) was looping internally (no syscalls
from an strace, and I have not investigated it further) on one of the
files.

AFA gcc CVS, you can give it a shot. Jakub would be able to elaborate more
on it's usefulness for kernel builds, but I've found that egcs64 (by trial
and many errors) builds kernels better.

i386 is more used, and more tested, so expect things like this on SPARC
(especially UltraSPARC because of it's the translations from 32bit
userspace and 64bit kernel space). FreeS/WAN still needs some ioctl's
carried over to ioctl32.c for sparc64 to even work, and I have not even
checked to see if it can go as-is, or needs transalations (Dave's
department, especially considering it is network related :)

Ben

-- 
 -----------=======-=-======-=========-----------=====------------=-=------
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  bcollins@debian.org  --  bcollins@openldap.org  --  bcollins@linux.com  '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'


Reply to: