[Bug 220589] jemalloc CPUWAIT change (^/head at r286907) fails to compile with gcc due to -Werror

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jul 10 05:24:47 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220589

            Bug ID: 220589
           Summary: jemalloc CPUWAIT change (^/head at r286907) fails to
                    compile with gcc due to -Werror
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: ngie at FreeBSD.org

>From https://ci.freebsd.org/job/FreeBSD-head-amd64-gcc/1593/console :

05:07:23 --- jemalloc_malloc_io.o ---
05:07:23 --- jemalloc_extent_dss.o ---
05:07:23 In file included from
/workspace/src/contrib/jemalloc/include/jemalloc/internal/../jemalloc_FreeBSD.h:85:0,
05:07:23                  from
/workspace/src/contrib/jemalloc/include/jemalloc/internal/../jemalloc.h:82,
05:07:23                  from
/workspace/src/contrib/jemalloc/include/jemalloc/internal/jemalloc_preamble.h:24,
05:07:23                  from jemalloc_extent_dss.c:2:
05:07:23
/workspace/src/contrib/jemalloc/include/jemalloc/internal/../jemalloc_FreeBSD.h:87:23:
error: 'ia32_pause' is static but used in inline function '__je_spin_adaptive'
which is not static [-Werror]
05:07:23  #define CPU_SPINWAIT  cpu_spinwait()
05:07:23                        ^
05:07:23 /workspace/src/contrib/jemalloc/include/jemalloc/internal/spin.h:22:4:
note: in expansion of macro 'CPU_SPINWAIT'
05:07:23     CPU_SPINWAIT;
05:07:23     ^~~~~~~~~~~~
05:07:23 --- jemalloc_malloc_io.o ---

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list