On 04 Mar 2014, at 19:04, Ed Maste <ema...@freebsd.org> wrote: > On 4 March 2014 12:22, Steve Kargl <s...@troutmask.apl.washington.edu> wrote: >> >> On Tue, Mar 04, 2014 at 12:17:18PM +0000, Thomas Mueller wrote: >>> What is the current status of clang, regarding known bugs, on >>> FreeBSD-current? >>> >>> There were reports of www/firefox failing to build because of bug in llvm. >> >> Still broken of i386. Given the google results for "llvm ud2" >> it is likely that clang will never be fixed. > > Except in this case it's just a plain old Clang bug, not a general > undefined behaviour issue. The Clang PR is here: > http://llvm.org/bugs/show_bug.cgi?id=19007 > > Dimitry has a patch to work around the issue in FreeBSD PR 187103: > http://www.freebsd.org/cgi/query-pr.cgi?pr=187103
Indeed, for now you can just drop the two attached patches in /usr/ports/www/firefox/files, and it should then work after rebuilding. (Thanks to Michael Butler for the second patch. :) -Dimitry
patch-xpcom_base_nscore.h
Description: Binary data
patch-xpcom_glue_pldhash.h
Description: Binary data
signature.asc
Description: Message signed with OpenPGP using GPGMail