From owner-freebsd-ports@freebsd.org Sun Oct 16 15:36:05 2016 Return-Path: Delivered-To: freebsd-ports@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 B0B63C142A2 for ; Sun, 16 Oct 2016 15:36:05 +0000 (UTC) (envelope-from marcus@freebsd.org) Received: from alln-iport-6.cisco.com (alln-iport-6.cisco.com [173.37.142.93]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (Client CN "alln-iport.cisco.com", Issuer "HydrantID SSL ICA G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 63D711CC6 for ; Sun, 16 Oct 2016 15:36:05 +0000 (UTC) (envelope-from marcus@freebsd.org) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0AxAgADnQNY/4gNJK1cGgEBAQECAQEBA?= =?us-ascii?q?QgBAQEBgzwBAQEBAR1XKlKNNJcDlDiCCCSFfgKCEzgUAQIBAQEBAQEBXieEYQE?= =?us-ascii?q?BAQMBIxVRCw4KAgImAgJXBgEMBgIBAQWIQQi1W4xyAQEBAQEBAQEBAQEBAQEBA?= =?us-ascii?q?SKBB4czCIJQh0uCWwEEmgaZbYYMiH+HfB42UoUJIjSIAwEBAQ?= X-IronPort-AV: E=Sophos;i="5.31,354,1473120000"; d="scan'208";a="336419515" Received: from alln-core-3.cisco.com ([173.36.13.136]) by alln-iport-6.cisco.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 16 Oct 2016 15:36:04 +0000 Received: from [10.118.87.91] (rtp-jclarke-nitro10.cisco.com [10.118.87.91]) by alln-core-3.cisco.com (8.14.5/8.14.5) with ESMTP id u9GFa3cj020247; Sun, 16 Oct 2016 15:36:03 GMT Subject: Re: wireshark 2.2.x build fail To: Michael Butler , FreeBSD Ports References: From: Joe Marcus Clarke Organization: FreeBSD, Inc. Message-ID: <535e7f14-7591-fccf-380a-4b90d245caeb@freebsd.org> Date: Sun, 16 Oct 2016 11:36:03 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Oct 2016 15:36:05 -0000 On 10/15/16 21:06, Michael Butler wrote: > Just a "heads up": wireshark 2.2.x introduces the compiler flag > "-msse4.2" via 'configure' if the compiler accepts that flag. > > The capability, or otherwise, of the host machine is ignored as it is > expected that the one module in which GCC will use these instructions > has a run-time check. > > This does not work for CLANG on "deficient" hardware; LEMON (part of the > build tool-chain) will also be compiled with these extended instructions > and cause exceptions on hardware that doesn't support them :-( > > There's a related discussion on the wireshark-bugs list referring to > "bug 10792" Seems like the easy fix would be to incorporate the fix for this bug, and then disable SSE4.2 in a CFLAGS override. The better fix would be to have clang do the same as GCC so that the test build would fail on those platforms that don't support SSE4.2. Joe > > Michael > > > -- Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome