[OpenAFS] modload failing, Sol10 SPARC, 1.4.14

Jeff Blaine jblaine@kickflop.net
Tue, 31 May 2011 12:46:51 -0400


Maybe this is something?

/usr/lib/abi/appcert/*

# grep memset etc.alt etc.scoped
etc.alt:ALT_USAGE:inadvertant_static_linking:static linking 
inadevertantly brings in private 
symbols:*:__getcontext|__sigaction|__threaded|_bufsync|_cerror|_dgettext|_doprnt|_doscan|_ecvt|_fcvt|_findbuf|_findiop|_getsp|_memcmp|_memmove|_memset|_mutex_unlock|_psignal|_realbufend|_setbufend|_siguhandler|_smbuf|_thr_getspecific|_thr_keycreate|_thr_main|_thr_setspecific|_xflsbuf|gtty|stty:
etc.scoped:SCOPED_SYMBOL|SunOS_5.6|ld.so.1|_memset
etc.scoped:SCOPED_SYMBOL|SunOS_5.6|ld.so.1|memset
#

On 5/31/2011 11:06 AM, Derrick Brashear wrote:
> 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.
>