fix clang build ImageMagic and GraphicsMagick
Paul Ambrose
ambrosehua at gmail.com
Sat Jan 14 08:02:34 UTC 2012
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 at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
More information about the freebsd-stable
mailing list