In message <[EMAIL PROTECTED]>,chas williams wr
ites:
>did the pam patches work? i.e. build a working pam module?  i know
>the module built i just didnt test it.

to answer my own mail i just tested the pam modules with the following
patch and indeed they do seem to build and work now.  the -G0 keeps
the small globals from being gprel (shared libraries are gprel as well
and the runtime would need to switch the gp for each access to the globals)

Index: Makefile.in
===================================================================
RCS file: /cvs/openafs/Makefile.in,v
retrieving revision 1.39
diff -u -d -b -w -r1.39 Makefile.in
--- Makefile.in 2002/04/23 03:03:29     1.39
+++ Makefile.in 2002/04/23 11:59:32
@@ -275,7 +275,7 @@
                ${COMPILE_PART1} sia ${COMPILE_PART2} ;; \
        sun4x_55 ) \
                ${COMPILE_PART1} login ${COMPILE_PART2} ;; \
-       parisc_linux24|ia64_linux24) \
+       parisc_linux24) \
                echo Skipping pam/login for parisc_linux24 ;; \
        sun4x_* | sunx86_* | hp_ux11* | *linux* | *fbsd* ) \
                ${COMPILE_PART1} pam ${COMPILE_PART2} ;; \
Index: src/cf/osconf.m4
===================================================================
RCS file: /cvs/openafs/src/cf/osconf.m4,v
retrieving revision 1.13
diff -u -d -b -w -r1.13 osconf.m4
--- src/cf/osconf.m4    2002/04/23 03:03:37     1.13
+++ src/cf/osconf.m4    2002/04/23 11:59:33
@@ -191,7 +191,7 @@
                PAM_CFLAGS="-g -O2 -Dlinux -DLINUX_PAM -fPIC"
                SHLIB_LDFLAGS="-shared -Xlinker -x"
                TXLIBS="/usr/lib/libncurses.so"
-               XCFLAGS="-g -O2 -D_LARGEFILE64_SOURCE"
+               XCFLAGS="-g -O2 -D_LARGEFILE64_SOURCE -G0"
                ;;
 
        i386_linux22)
_______________________________________________
OpenAFS-devel mailing list
[EMAIL PROTECTED]
https://lists.openafs.org/mailman/listinfo/openafs-devel

Reply via email to