Javier Villavicencio wrote:
> Hello,
> 
> A bit of background first:
> Currently firefox-2* and seamonkey-1.1.1 doesn't build on
> Gentoo/FreeBSD. The main reason is that upstream (I think) has 'fixed'
> how the pthread lib has to be linked, and now it needs -lc to link
> successfully. This little issue is easily solvable the same way as it's
> done by the FreeBSD ports patches [1].
> 
> The next issue (having the above one fixed) is that the resulting binary
> (firefox or seamonkey's -bin) is linked against libc_r.so.6 *and*
> libpthread.so.2 (which are two of the thread implementations available
> in FreeBSD).

No, actual firefox-bin is only linked with libpthread.so.2 (directly
with -lpthread)
# wget
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/Latest/firefox.tbz
# mkdir firefox ; tar xjf firefox.tbz -C firefox
# scanelf -nR . | grep c_r

-- 
Timothy `Drizzt` Redaelli - http://dev.gentoo.org/~drizzt/
FreeSBIE Developer, Gentoo Developer, GUFI Staff
There are two major products that come out of Berkeley: LSD and UNIX.
We don't believe this to be a coincidence.      -- Jeremy S. Anderson

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to