Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jul 2017 05:24:47 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 220589] jemalloc CPUWAIT change (^/head@r286907) fails to compile with gcc due to -Werror
Message-ID:  <bug-220589-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220589

            Bug ID: 220589
           Summary: jemalloc CPUWAIT change (^/head@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@FreeBSD.org
          Reporter: ngie@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_FreeB=
SD.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_FreeB=
SD.h:87:23:
error: 'ia32_pause' is static but used in inline function '__je_spin_adapti=
ve'
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:2=
2:4:
note: in expansion of macro 'CPU_SPINWAIT'
05:07:23     CPU_SPINWAIT;
05:07:23     ^~~~~~~~~~~~
05:07:23 --- jemalloc_malloc_io.o ---

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-220589-8>