From owner-freebsd-stable@FreeBSD.ORG Sat Jan 14 08:02:34 2012 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6DFDC106567A; Sat, 14 Jan 2012 08:02:34 +0000 (UTC) (envelope-from ambrosehua@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id A1DA18FC12; Sat, 14 Jan 2012 08:02:33 +0000 (UTC) Received: by wgbgn7 with SMTP id gn7so333852wgb.31 for ; Sat, 14 Jan 2012 00:02:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=cLqUAGllI1QAnJOshOrDCw7lccEmeaLP6lh0zQ08fnQ=; b=opaI9sVzbGgfOsnT0l5vIges03xELUBXQWUREXA0z6mYLtQUchOLkDKBjMZUj7Zt8G hJ1E8F1jjjNVmYFZ56kyFr33sQAYIlpM04nOQsFW1fVJJo3z3dMcbus7BI72uVhQiopI LJ9qRNc0QkQA2xoNbOER091s0YcwXm190bsUQ= MIME-Version: 1.0 Received: by 10.180.88.10 with SMTP id bc10mr7104072wib.13.1326528152499; Sat, 14 Jan 2012 00:02:32 -0800 (PST) Received: by 10.223.42.18 with HTTP; Sat, 14 Jan 2012 00:02:32 -0800 (PST) Date: Sat, 14 Jan 2012 16:02:32 +0800 Message-ID: From: Paul Ambrose To: mm@freebsd.org Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable Cc: stable@freebsd.org, linimon@freebsd.org Subject: fix clang build ImageMagic and GraphicsMagick X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jan 2012 08:02:34 -0000 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 =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"