Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Nov 2011 21:40:11 GMT
From:      Kva La <buoqla@gmail.com>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/162221: 9.0-RC1 new problem building spidermonkey
Message-ID:  <201111012140.pA1LeBv3021800@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/162221; it has been noted by GNATS.

From: Kva La <buoqla@gmail.com>
To: Stephen Hurd <shurd@sasktel.net>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/162221: 9.0-RC1 new problem building spidermonkey
Date: Tue, 01 Nov 2011 20:53:40 +0000

 Stephen Hurd <shurd@sasktel.net> writes:
 
 > jsnativestack.o: In function `js::GetNativeStackBaseImpl()':
 > jsnativestack.cpp:(.text+0x35): undefined reference to `pthread_attr_get_np'
 > /usr/bin/ld: libmozjs185.so: hidden symbol `pthread_attr_get_np' isn't defined
 > /usr/bin/ld: final link failed: Nonrepresentable section on output
 [...]
 >>Fix:
 > Completely unknown.  I worked around it by setting # pragma GCC
 > visibility push(default) before the pthread.h include and popping it
 > after the pthread_np.h include.
 
 Mk/bsd.gecko.mk uses similar fix, i.e.
 
   $ rm -f jsnativestack.o
   $ echo pthread_np.h >>config/system-headers
   $ gmake
 
 which is probably caused by r215840.



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