On 18 Nov 2013, at 23:54, Matthias Andree <mand...@freebsd.org> wrote: ... > Uploaded. http://people.freebsd.org/~mandree/ has: > > <http://people.freebsd.org/~mandree/ipsharpen.ii.xz>: the xzipped .ii > file (unpacked: 6.5 MB) > > <http://people.freebsd.org/~mandree/ipsharpen-compile%2bwarnings.txt>: > compiler command line (make VERBOSE=1 MAKE_JOBS_UNSAFE=yes) > and early warnings.
Ok, this looks like http://llvm.org/PR16474 , which has a relatively simple fix. I have attached it, can you please try it out? You can just apply the patch to /usr/src and do: make -C /usr/src/lib/clang make -C /usr/src/usr.bin/clang/clang sudo make -C /usr/src/usr.bin/clang/clang install It should basically recompile just one file, and re-link the clang executable. I tried building ipsharpen.ii at -O3, and it uses about 20 seconds now (on my relatively slow VM). -Dimitry
import-llvm-r191896-1.diff
Description: Binary data
signature.asc
Description: Message signed with OpenPGP using GPGMail