[Mesa-dev] [PATCH] gallium/util: Define ffsll on OpenBSD.

Jon TURNEY jon.turney at dronecode.org.uk
Thu Feb 26 04:52:53 PST 2015


On 26/02/2015 03:55, Jonathan Gray wrote:
> On Wed, Feb 25, 2015 at 07:09:26PM -0800, Matt Turner wrote:
>> On Wed, Feb 25, 2015 at 7:03 PM, Jonathan Gray <jsg at jsg.id.au> wrote:
>>> On Wed, Feb 25, 2015 at 06:53:14PM -0800, Matt Turner wrote:
>>>> On Wed, Feb 25, 2015 at 5:37 PM, Jonathan Gray <jsg at jsg.id.au> wrote:
>>>>> If it isn't going to be configure checks could someone merge the
>>>>> original patch in this thread?
>>>>
>>>> I committed
>>>>
>>>> commit 3492e88090d2d0c0bfbc934963b8772b45fc8880
>>>> Author: Matt Turner <mattst88 at gmail.com>
>>>> Date:   Fri Feb 20 18:46:43 2015 -0800
>>>>
>>>>      gallium/util: Use HAVE___BUILTIN_* macros.
>>>>
>>>>      Reviewed-by: Eric Anholt <eric at anholt.net>
>>>>      Reviewed-by: Jose Fonseca <jfonseca at vmware.com>
>>>>
>>>> which switched over a bunch of preprocessor checks around __builtin*
>>>> calls to use the macros defined by autotools.

Thanks.

>  From cba39ba72115e57d262cb4b099c4e72106f01812 Mon Sep 17 00:00:00 2001
> From: Jonathan Gray <jsg at jsg.id.au>
> Date: Thu, 26 Feb 2015 14:46:45 +1100
> Subject: [PATCH] gallium/util: use ffs* builtins if available
>
> Required to build on OpenBSD which doesn't have ffsll in libc.

Thanks.  This works for me also.

Reviewed-by: Jon TURNEY <jon.turney at dronecode.org.uk>



More information about the mesa-dev mailing list