Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Oct 2016 11:36:03 -0400
From:      Joe Marcus Clarke <marcus@freebsd.org>
To:        Michael Butler <imb@protected-networks.net>, FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: wireshark 2.2.x build fail
Message-ID:  <535e7f14-7591-fccf-380a-4b90d245caeb@freebsd.org>
In-Reply-To: <bd9affbe-b26d-4042-f1a6-6892ddb2b617@protected-networks.net>
References:  <bd9affbe-b26d-4042-f1a6-6892ddb2b617@protected-networks.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?535e7f14-7591-fccf-380a-4b90d245caeb>