[OpenAFS-devel] Cannot configure openafs-1.2.11 with gcc on sun4x_56

Jeffrey Hutzelman jhutz@cmu.edu
Fri, 13 Feb 2004 09:05:10 -0500


> The problem is that generated uses solaris cc for which we have no
> licence and it is actually missing!

This is actually not entirely a bug.

On most platforms, including Solaris, the OpenAFS kernel module must be 
built using the same compiler used to build the kernel itself.  On Solaris, 
that means using Sun's compiler.  If you don't have Sun's compiler, you 
can't build OpenAFS -- it wouldn't work even if you could use gcc.

It is arguably a bug that even user-mode components are not built using the 
compiler found by configure.  I would not expect to ever see this fixed in 
1.2.x, but a bug report against 1.3.x would be appropriate, if it has not 
already been fixed there.  Bug reports, of course, should be sent to 
openafs-bugs@openafs.org so they get into RT and thus don't get forgotten.

-- Jeffrey T. Hutzelman (N3NHS) <jhutz+@cmu.edu>
   Sr. Research Systems Programmer
   School of Computer Science - Research Computing Facility
   Carnegie Mellon University - Pittsburgh, PA