[OpenAFS] modload failing, Sol10 SPARC, 1.4.14

Derrick Brashear shadow@gmail.com
Tue, 31 May 2011 11:06:27 -0400


Worked with Jeff offline on this. So,
1) *only* afs_dynroot.o has the reference to _memset. no other object
does. other objects reference memset, and rx_knet references
bzero also.
2) the preprocessed output of afs_dynroot.o, using the cc command
libafs uses, includes only:

grep memset /tmp/memset
extern void *memset(void *, int, size_t);
extern void *memset(void *, int, size_t);
        memset(cellHosts, 0, sizeof(cellHosts));
        memset(status, 0, sizeof(struct AFSFetchStatus));
        memset(status, 0, sizeof(struct AFSFetchStatus));

That's from:
/opt/SUNWspro/bin/cc -I. -I.. -I../nfs  -I/var/tmp/openafs-1.4.14/src
-I/var/tmp/openafs-1.4.14/src/afs
-I/var/tmp/openafs-1.4.14/src/afs/SOLARIS
-I/var/tmp/openafs-1.4.14/src/config
-I/var/tmp/openafs-1.4.14/src/rx/SOLARIS
-I/var/tmp/openafs-1.4.14/src/rxkad
-I/var/tmp/openafs-1.4.14/src/rxkad/domestic
-I/var/tmp/openafs-1.4.14/src/util  -I/var/tmp/openafs-1.4.14/src
-I/var/tmp/openafs-1.4.14/src/afs
-I/var/tmp/openafs-1.4.14/src/afs/SOLARIS
-I/var/tmp/openafs-1.4.14/src/util
-I/var/tmp/openafs-1.4.14/src/rxkad
-I/var/tmp/openafs-1.4.14/src/config
-I/var/tmp/openafs-1.4.14/src/fsint
-I/var/tmp/openafs-1.4.14/src/vlserver
-I/var/tmp/openafs-1.4.14/include
-I/var/tmp/openafs-1.4.14/include/afs  -O -I. -I..
-I/var/tmp/openafs-1.4.14/src/config  -DAFSDEBUG -DKERNEL -DAFS -DVICE
-DNFS -DUFS -DINET -DQUOTA -DGETMOUNT -D_KERNEL -DSYSV -dn -m64
-xbuiltin=%none    -o afs_dynroot.o -c
/var/tmp/openafs-1.4.14/src/afs/afs_dynroot.c
transmuted to:
/opt/SUNWspro/bin/cc -I. -I.. -I../nfs  -I/var/tmp/openafs-1.4.14/src
-I/var/tmp/openafs-1.4.14/src/afs
-I/var/tmp/openafs-1.4.14/src/afs/SOLARIS
-I/var/tmp/openafs-1.4.14/src/config
-I/var/tmp/openafs-1.4.14/src/rx/SOLARIS
-I/var/tmp/openafs-1.4.14/src/rxkad
-I/var/tmp/openafs-1.4.14/src/rxkad/domestic
-I/var/tmp/openafs-1.4.14/src/util  -I/var/tmp/openafs-1.4.14/src
-I/var/tmp/openafs-1.4.14/src/afs
-I/var/tmp/openafs-1.4.14/src/afs/SOLARIS
-I/var/tmp/openafs-1.4.14/src/util
-I/var/tmp/openafs-1.4.14/src/rxkad
-I/var/tmp/openafs-1.4.14/src/config
-I/var/tmp/openafs-1.4.14/src/fsint
-I/var/tmp/openafs-1.4.14/src/vlserver
-I/var/tmp/openafs-1.4.14/include
-I/var/tmp/openafs-1.4.14/include/afs  -O -I. -I..
-I/var/tmp/openafs-1.4.14/src/config  -DAFSDEBUG -DKERNEL -DAFS -DVICE
-DNFS -DUFS -DINET -DQUOTA -DGETMOUNT -D_KERNEL -DSYSV -dn -m64
-xbuiltin=%none   -E /var/tmp/openafs-1.4.14/src/afs/afs_dynroot.c

So I'm not sure what I'm missing.

-- 
Derrick