[OpenAFS] 1.4.3 for Solaris SPARC = "BAD TRAP"

Jeff Blaine jblaine@kickflop.net
Fri, 08 Jun 2007 12:36:02 -0400


Patch from Derrick Brashear that solves this problem:

--- src/libafs/MakefileProto.SOLARIS.in    28 Dec 2006 21:59:45 -0000
    1.24.2.3
+++ src/libafs/MakefileProto.SOLARIS.in    5 Jun 2007 15:16:10 -0000
@@ -33,7 +33,7 @@
  KDEFS= -D_KERNEL -DSYSV -dn ${ARCH_DEFS}

  <sun4x_57 sun4x_58 sun4x_59 sun4x_510 sun4x_511>
-KDEFS_32 =
+KDEFS_32 = -xarch=v8
  KDEFS_64 = -xarch=v9

  <sunx86_57 sunx86_58 sunx86_59 sunx86_510 sunx86_511>