On Apr 30, 2013, at 05:28, Brandon Gooch <jamesbrandongo...@gmail.com> wrote: ... > Thanks for fixing the build issues. > > Now, I've built Firefox with Clang, but the darn thing segfaults at > the drop of a hat: > > $ gdb /usr/local/bin/firefox firefox.core > ... > (gdb) bt > #0 0x00000008011eefaa in thr_kill () from /lib/libc.so.7 > #1 0x00000008024d254d in XRE_InstallX11ErrorHandler () > from /usr/local/lib/firefox/libxul.so > #2 0x0000000800f74116 in swapcontext () from /lib/libthr.so.3 > #3 0x0000000800f73d39 in sigaction () from /lib/libthr.so.3 > #4 0x00007ffffffff193 in ?? () > #5 0x0000000800f73c20 in sigaction () from /lib/libthr.so.3 > Previous frame inner to this frame (corrupt stack?) > > Rebuilding with debugging symbols provides no further insight, as that > seems to provide a work-around for whatever the root cause may be > (i.e. no more segfaults). > > Are any of you seeing something similar?
Which exact version of head do you have, and which version(s) of ports? Are you running WITH_NEW_XORG or not? In any case, I have just built the latest Firefox from ports, with clang 3.3, and I see no issues at all. At least with approximately 10 minutes of browsing, and visiting a varied bunch of sites. I do have it built with debug info, but without cranking down the optimization level to -O0 (which is what bsd.port.mk seems to do, unfortunately). I will rebuild it again, without any debug info, to see if that makes any difference. I don't think it will, though... _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"