[OpenAFS] Gentoo amd64: OpenAFS 1.4.1-rc6

Russ Allbery rra@stanford.edu
Tue, 28 Feb 2006 19:39:52 -0800


Michael Conrad <conradme@email.uc.edu> writes:

> I have a thread on the Gentoo forums regarding this, now, telling a mostly
> complete story.  Hopefully some more Gentoo folks will reply, and we can get
> this figured out.
> http://forums.gentoo.org/viewtopic-t-421500.html

Ew, web forums.

> The short of it is that Gentoo has two compiler toolchains on sparc:
> 32bit for userspace, and 64bit for kernel modules (and kernel).  I think
> this might create a mess, or maybe autoconf can automagically conjure
> something.  Also, I can't test any more of this until we (student-run
> lab, at a university) get the kernel recompiled with gcc 3.4.  Details
> on forum.

When you get to that point, try hacking configure to set CC to the 64-bit
compiler in this case and see if that works.  You unfortunately have to
hack configure to do this since the Autoconf situation for discovering the
compiler is kind of messed up right now in OpenAFS.  You'll get a pure
64-bit build including the userspace, but that should actually work, even
if it's not ideal.  It will at least get you far enough to see if the
kernel module even works.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>