[Bugs] [Bug 1438772] build: clang/llvm has __builtin_ffs() and __builtin_popcount ()

bugzilla at redhat.com bugzilla at redhat.com
Wed Apr 5 06:12:56 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1438772



--- Comment #3 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/16993 committed in master by Xavier
Hernandez (xhernandez at datalab.es) 
------
commit 1063efeb2275039a75eb6fe5e423845e28098df2
Author: Kaleb S. KEITHLEY <kkeithle at redhat.com>
Date:   Tue Apr 4 07:35:52 2017 -0400

    build: clang has __builtin_popcount() and __builtin_ffs()

    Note: Even though gcc(1) will automatically treat ffs() and popcount()
    as built-in, calling them explicitly as __builtin in the source helps
    make it easier to find them. (And if no __builtin_ffs use the one in
    libc.)

    Change-Id: Ib74d9b221ff03a01df5ad05907024da1a83a7a88
    BUG: 1438772
    Signed-off-by: Kaleb S. KEITHLEY <kkeithle at redhat.com>
    Reviewed-on: https://review.gluster.org/16993
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Jeff Darcy <jeff at pl.atyp.us>
    Reviewed-by: Xavier Hernandez <xhernandez at datalab.es>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=f81nIdNhuz&a=cc_unsubscribe


More information about the Bugs mailing list