The FreeBSD 9.0 buildslave has been failing for a while with the
following error when building the kernel code:

/usr/bin/ld  -d -warn-common -r -d -o libafs.ko afs_atomlist.o  afs_lhash.o  
afs_analyze.o  afs_axscache.o   afs_buffer.o  afs_bypasscache.o  afs_callback.o 
 afs_cbqueue.o     afs_cell.o  afs_chunk.o   afs_conn.o  afs_daemons.o  
afs_dcache.o  afs_dir.o   afs_disconnected.o  afs_dynroot.o   afs_error.o  
afs_icl.o  afs_init.o  afs_lock.o  afs_mariner.o  afs_memcache.o  
afs_fetchstore.o  afs_osi.o   afs_osidnlc.o  afs_osi_alloc.o  afs_osi_pag.o  
afs_osi_uio.o  afs_osi_vget.o  afs_osi_vm.o  afs_segments.o  afs_server.o  
afs_stat.o  afs_syscall.o  afs_tokens.o  afs_user.o  afs_util.o  afs_vcache.o  
afs_vnop_access.o  afs_vnop_attrs.o  afs_vnop_create.o  afs_vnop_dirops.o  
afs_vnop_fid.o  afs_vnop_flock.o  afs_vnop_link.o  afs_vnop_lookup.o  
afs_vnop_open.o  afs_vnop_read.o  afs_vnop_readdir.o  afs_vnop_remove.o  
afs_vnop_rename.o  afs_vnop_strategy.o  afs_vnop_symlink.o  afs_vnop_write.o  
afs_volume.o  afs_warn.o  afsaux.o   Kvice.xdr.o  xdr_arrayn.o  xdr_array.o  
xdr_int32.o  xdr_int64.o  Kvice.cs.o  fcrypt.o   rx.o   rx_call.o  rx_conn.o  
rx_peer.o  rx_rdwr.o  rx_clock.o  rx_event.o  rx_globals.o  rx_identity.o  
rx_kmutex.o  rx_knet.o  rx_kcommon.o  rx_misc.o  rx_null.o  rx_opaque.o  
rx_getaddr.o  rx_packet.o  rx_multi.o  rx_stats.o  opr_rbtree.o  xdr_rx.o  
xdr_mem.o  xdr_len.o  Kvldbint.cs.o  Kvldbint.xdr.o  Kcallback.ss.o  
Krxstat.ss.o  Krxstat.xdr.o  rxstat.o  crypt_conn.o  
AFS_component_version_number.o afs_exporter.o  rxkad_client.o  rxkad_common.o  
xdr_afsuuid.o  xdr.o   Ktoken.xdr.o  md5.o   evp.o   evp-algs.o      
rand-kernel.o    alloc-kernel.o  aes.o   rijndael-alg-fst.o  sha.o   n-fold.o  
crypto.o  crypto-algs.o    crypto-aes.o  crypto-context.o  crypto-copy.o  
crypto-ct.o  crypto-evp.o  crypto-data.o   crypto-keyblock.o  
crypto-store-int.o  crypto-random.o  afs_uuid.o  afs_call.o  afs_pioctl.o  
osi_vfsops.o osi_crypto.o osi_gcpags.o osi_groups.o osi_file.o osi_inode.o 
osi_misc.o osi_sleep.o osi_vcache.o osi_vm.o osi_vnodeops.o osi_module.o
rx_globals.o:(.bss+0x140): multiple definition of `rx_incomingCallQueue'
rx.o:(.bss+0x50): first defined here
rx_globals.o:(.bss+0x150): multiple definition of `rx_idleServerQueue'
rx.o:(.bss+0x60): first defined here
*** Error code 1

I don't have time to investigate a fix for this, but it's caused by
having two distinct declarations for the same uninitialized data
object, which FreeBSD does not allow in kernel code.  If someone else
can propose a fix, poke me through Gerrit and I'll review.

-GAWollman

Reply via email to