Date: Sat, 14 Jan 2012 16:02:32 +0800 From: Paul Ambrose <ambrosehua@gmail.com> To: mm@freebsd.org Cc: stable@freebsd.org, linimon@freebsd.org Subject: fix clang build ImageMagic and GraphicsMagick Message-ID: <CAMwoQQ7vqbPjUBCi22zdO6WVih1uB5fmmD9a8ovf%2B4KPPQP%2BBQ@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi, mm and Mark,
sorry my misuse for previous mail, I found that the these two
ports building failure is because the exception.sh test (for
ImageMagic) and exception.sh & attribute.sh (for GraphicsMagick) are
vulnerable to -O2 optimization (for CXXFLAGS). So
my fix is samply to lower -O2 optimization to -O1, I test is on both
stable 9, but I do not know ports makefile much, can
not give a patch.
here is my test,
============================================
#cd ports/graphics/ImageMagick;
#make CC=clang CXX=clang++ CXXFLAGS=-O1
在 2011年12月21日 上午1:06,Mark Linimon <linimon@lonesome.com> 写道:
> I have recently been able to get the new build cluster on pointyhat-west
> set up to run full builds of ports with clang on amd64-9. I have documented
> the latest results on the wiki:
>
> http://wiki.freebsd.org/PortsAndClang
>
> If you are interested in working on ports being built via clang, this
> is your place to start.
>
> Please also note that now that we have up-to-date builds going, it is
> not as useful to us to report individual clang build failures. Patches
> to fix problems are, of course, highly welcome.
>
> mcl
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMwoQQ7vqbPjUBCi22zdO6WVih1uB5fmmD9a8ovf%2B4KPPQP%2BBQ>
