Hi Jason,

Is this build attempt from a clean checkout of master, or a build after an
update? Sometimes after updates that change the runtime interface, I find I
have to run 'make clobber && make' to properly build.

Nick

On Sun, Jun 4, 2017 at 12:10 PM, Jason Riedy <[email protected]>
wrote:

> Just a ping that git master is not building on my FrankenDebian
> laptop (combination of unstable & experimental).  The default gcc
> is 7.1, so the warnings and verbose error messages make tracking
> this down a tad painful.
>
> I'm including a snippet from the build log.  Separating the
> error / warning clumps with whitespace would be a nice gcc
> feature...  sigh.  Looks like something in re2 + jemalloc is
> misfiring w.r.t. Chapel's prefixing.
>
> ***** src/qio/regexp/re2/ *****
> [...]
> In file included from ../../../../include/chpl-mem.h:61:0,
>                  from ../../../../include/qio/deque.h:43,
>                  from ../../../../include/qio/qio-all.h:23,
>                  from ../../../../include/chplio.h:30,
>                  from ../../../../include/stdchplrt.h:36,
>                  from re2-interface.cc:13:
> ../../../../include/mem/jemalloc/chpl-mem-impl.h: In function ‘void*
> chpl_calloc(size_t, size_t)’:
> <command-line>:0:22: error: ‘chpl_je_calloc’ was not declared in this scope
> ../../../../include/mem/jemalloc/chpl-mem-impl.h:48:42: note: in
> definition of macro ‘CHPL_JE_TOK_PASTE_INTERNAL’
>  #define CHPL_JE_TOK_PASTE_INTERNAL(a, b) a ## b
>                                           ^
> ../../../../include/mem/jemalloc/chpl-mem-impl.h:50:24: note: in
> expansion of macro ‘CHPL_JE_TOK_PASTE’
>  #define CHPL_JE_(NAME) CHPL_JE_TOK_PASTE(CHPL_JEMALLOC_PREFIX, NAME)
>                         ^~~~~~~~~~~~~~~~~
> ../../../../include/mem/jemalloc/chpl-mem-impl.h:50:42: note: in
> expansion of macro ‘CHPL_JEMALLOC_PREFIX’
>  #define CHPL_JE_(NAME) CHPL_JE_TOK_PASTE(CHPL_JEMALLOC_PREFIX, NAME)
>                                           ^~~~~~~~~~~~~~~~~~~~
> ../../../../include/mem/jemalloc/chpl-mem-impl.h:52:24: note: in
> expansion of macro ‘CHPL_JE_’
>  #define CHPL_JE_CALLOC CHPL_JE_(calloc)
>                         ^~~~~~~~
> ../../../../include/mem/jemalloc/chpl-mem-impl.h:61:10: note: in
> expansion of macro ‘CHPL_JE_CALLOC’
>    return CHPL_JE_CALLOC(n,size);
>           ^~~~~~~~~~~~~~
> <command-line>:0:22: note: suggested alternative: ‘chpl_realloc’
> ../../../../include/mem/jemalloc/chpl-mem-impl.h:48:42: note: in
> definition of macro ‘CHPL_JE_TOK_PASTE_INTERNAL’
>  #define CHPL_JE_TOK_PASTE_INTERNAL(a, b) a ## b
>                                           ^
> ../../../../include/mem/jemalloc/chpl-mem-impl.h:50:24: note: in
> expansion of macro ‘CHPL_JE_TOK_PASTE’
>  #define CHPL_JE_(NAME) CHPL_JE_TOK_PASTE(CHPL_JEMALLOC_PREFIX, NAME)
>                         ^~~~~~~~~~~~~~~~~
> ../../../../include/mem/jemalloc/chpl-mem-impl.h:50:42: note: in
> expansion of macro ‘CHPL_JEMALLOC_PREFIX’
>  #define CHPL_JE_(NAME) CHPL_JE_TOK_PASTE(CHPL_JEMALLOC_PREFIX, NAME)
>                                           ^~~~~~~~~~~~~~~~~~~~
> ../../../../include/mem/jemalloc/chpl-mem-impl.h:52:24: note: in
> expansion of macro ‘CHPL_JE_’
>  #define CHPL_JE_CALLOC CHPL_JE_(calloc)
>                         ^~~~~~~~
> ../../../../include/mem/jemalloc/chpl-mem-impl.h:61:10: note: in
> expansion of macro ‘CHPL_JE_CALLOC’
>    return CHPL_JE_CALLOC(n,size);
>           ^~~~~~~~~~~~~~
> ../../../../include/mem/jemalloc/chpl-mem-impl.h: In function ‘void*
> chpl_malloc(size_t)’:
> <command-line>:0:22: error: ‘chpl_je_malloc’ was not declared in this scope
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Chapel-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/chapel-developers
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Chapel-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/chapel-developers

Reply via email to