Skip site navigation (1)Skip section navigation (2)
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,
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
#cd ports/graphics/ImageMagick;
#make CC=3Dclang CXX=3Dclang++ CXXFLAGS=3D-O1

=D4=DA 2011=C4=EA12=D4=C221=C8=D5 =C9=CF=CE=E71:06=A3=ACMark Linimon <linim=
on@lonesome.com> =D0=B4=B5=C0=A3=BA
> 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 documen=
ted
> 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>