Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Feb 2004 02:14:08 -0500
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Mike Schreckengost <mrpolitics@hotmail.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Build of /usr/ports/net/gaim fails with spinlock error
Message-ID:  <1075878848.76993.37.camel@shumai.marcuscom.com>
In-Reply-To: <Law9-F50ywttUUXTSjJ000247ec@hotmail.com>
References:  <Law9-F50ywttUUXTSjJ000247ec@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Wed, 2004-02-04 at 02:04, Mike Schreckengost wrote:
> After a (very) recent cvsup of the ports tree _and_ the src tree, I received 
> the following error message while attempting to build /usr/ports/net/gaim:
> 
> gmake[3]: Leaving directory 
> `/usr/ports/security/nss/work/nss-3.8/mozilla/security/nss/cmd/shlibsign/mangle'
> FreeBSD5.2_OPT.OBJ/shlibsign -v -i 
> ../../../../dist/FreeBSD5.2_OPT.OBJ/lib/libsoftokn3.so.1
> Fatal error 'Spinlock called when not threaded.' at line 83 in file 
> /usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 0)
> Abort trap (core dumped)
> gmake[2]: *** [../../../../dist/FreeBSD5.2_OPT.OBJ/lib/libsoftokn3.chk] 
> Error 134
> gmake[2]: Leaving directory 
> `/usr/ports/security/nss/work/nss-3.8/mozilla/security/nss/cmd/shlibsign'
> gmake[1]: *** [libs] Error 2
> gmake[1]: Leaving directory 
> `/usr/ports/security/nss/work/nss-3.8/mozilla/security/nss/cmd'
> gmake: *** [libs] Error 2
> *** Error code 2
> 
> Stop in /usr/ports/security/nss.
> *** Error code 1
> 
> Stop in /usr/ports/net/gaim.
> 
> Obviously, the problem occurs while one of gaim's dependencies are being 
> built ... just thought that I would let everyone know.

Since the switch from libc_r to libpthread, you will have to build
_everything_ that is linked to libc_r, or use /etc/libmap.conf to map
libc_r to libpthread (the former is recommended as it will help us find
problem ports).

security/nss is mine, and Adam recently fixed this, so I'm very
interested to see if shlibsign is linked against libc_r and libpthread. 
Can you do an ldd
/usr/ports/security/nss/work/nss-3.8/mozilla/security/nss/cmd/shlibsign/mangle'
FreeBSD5.2_OPT.OBJ/shlibsign, and send me the output?

Joe

> 
> Thanks,
> Mike
> 
> _________________________________________________________________
> What are the 5 hot job markets for 2004? Click here to find out. 
> http://msn.careerbuilder.com/Custom/MSN/CareerAdvice/WPI_WhereWillWeFindJobsIn2004.htm?siteid=CBMSN3006&sc_extcmp=JS_wi08_dec03_hotmail1
> 
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
-- 
PGP Key : http://www.marcuscom.com/pgp.asc

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQBAIJu/b2iPiv4Uz4cRAiweAJ97KTp90fogmF3pbyVB1vI/DEOocwCfR/Jj
BIIaYNf0NaVoN6QxAXNNw2s=
=iKJe
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1075878848.76993.37.camel>