From owner-svn-ports-head@freebsd.org Fri Sep 30 07:48:49 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2B2D6C03A3D for ; Fri, 30 Sep 2016 07:48:49 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-69.reflexion.net [208.70.210.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D4CF11014 for ; Fri, 30 Sep 2016 07:48:48 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 1134 invoked from network); 30 Sep 2016 07:49:33 -0000 Received: from unknown (HELO mail-cs-02.app.dca.reflexion.local) (10.81.19.2) by 0 (rfx-qmail) with SMTP; 30 Sep 2016 07:49:33 -0000 Received: by mail-cs-02.app.dca.reflexion.local (Reflexion email security v8.00.0) with SMTP; Fri, 30 Sep 2016 03:48:41 -0400 (EDT) Received: (qmail 22514 invoked from network); 30 Sep 2016 07:48:41 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 30 Sep 2016 07:48:41 -0000 Received: from [192.168.0.105] (ip70-189-131-151.lv.lv.cox.net [70.189.131.151]) by iron2.pdx.net (Postfix) with ESMTPSA id DF456EC8843; Fri, 30 Sep 2016 00:48:39 -0700 (PDT) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Re: svn commit: r422956 - in head: emulators/virtualbox-ose games/eduke32 games/openbor graphics/php55-gd graphics/php56-gd graphics/php70-gd mail/thunderbird multimedia/avidemux multimedia/ffmpeg mult... Message-Id: Date: Fri, 30 Sep 2016 00:48:38 -0700 To: svn-ports-head@freebsd.org, jbeich@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) X-Mailer: Apple Mail (2.3124) X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Sep 2016 07:48:49 -0000 Quoting . . . > Note, FreeBSD 9.x now builds with Clang 3.4 because GCC 4.2 fails: > =20 > vp9/encoder/x86/vp9_frame_scale_ssse3.c: In function = 'eight_tap_row_ssse3': > vp9/encoder/x86/vp9_frame_scale_ssse3.c:93: internal compiler = error: in simplify_binary_operation_1, at simplify-rtx.c:2563 > Please submit a full bug report, > with preprocessed source if appropriate. . . . > Modified: head/multimedia/libvpx/Makefile > = =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=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 > --- head/multimedia/libvpx/Makefile Thu Sep 29 23:35:31 2016 = (r422955) > +++ head/multimedia/libvpx/Makefile Fri Sep 30 01:15:10 2016 = (r422956) > @@ -3,8 +3,7 @@ . . . > -USES=3D compiler cpe gmake perl5 shebangfix tar:bzip2 > +USES=3D compiler:c11 cpe gmake perl5 shebangfix = tar:bzip2 The failure seems to be amd64 specific (sse3 seems to be mentioned) or = at least unlikely to be involved for something like powerpc64 or = powerpc. powerpc64 and powerpc buildworld/buildkernel are not done with = clang (the attempt fails to work) but with gcc 4.2.1 --and a system = clang may not be present. [Note: The following is actually based on defects verified in clang++ = 3.8.0. Trunk upstream only got some fixes very recently and I expect = that older clangs are just as problematical.]=20 clang/clang++ does not even follow the powerpc (non-64) ABI correctly = (requiring a stack-"red-zone" to protect the stack contents for = signals). (There are more c++ specific issues for both powerpc64 and = powerpc, such as exception handling being messed up for both.) So if/when compiler:c11 binds to a clang (system or port) for powerpc = (non-64) I expect that powerpc would be broken. (I'm not sure about = powerpc64 for clang for C11: it might work.) So despite the later: > .elif ${ARCH} =3D=3D "powerpc" > CONFIGURE_ARGS+=3D --target=3Dppc32-linux-gcc > .elif ${ARCH} =3D=3D "powerpc64" > CONFIGURE_ARGS+=3D --target=3Dppc64-linux-gcc For powerpc I expect that use of a gcc port for C11 for may be required. I do not know if there are other processor families that might have = issues with the changes or not. It might have been safer to change only the amd64 build behavior. =3D=3D=3D Mark Millard markmi at dsl-only.net