Hi Hui - On 10/6/16, 1:02 PM, "Hui Zhang" <[email protected]> wrote:
>Hello, > > >I met this warning error when building Chapel 1.11 on gasnet. > > >/a/fs-3/export/home/deepthought2/hzhang86/chapel/chapel-11/third-party/dl >malloc/include/dlmalloc.h:503:17: error: 'mspace_mallinfo' has C-linkage >specified, but returns > incomplete type 'struct mallinfo' which could be incompatible with >C [-Werror,-Wreturn-type-c-linkage] >struct mallinfo mspace_mallinfo(mspace msp); 1.11 is pretty old... that said I remember seeing this error. I think you should ignore it (by building third-party and the runtime without CHPL_DEVELOPER set for example - I think that will turn off -Werror. If not, you could hack one of the Makefiles to turn it off). -michael > >Here's the printout of Chapel envs: >machine info: Linux login-2.deepthought2.umd.edu ><http://login-2.deepthought2.umd.edu> 2.6.32-642.el6.x86_64 #1 SMP Wed >Apr 13 00:51:26 EDT 2016 x86_64 >CHPL_HOME: /homes/hzhang86/chapel/chapel-11 >script location: >/a/fs-3/export/home/deepthought2/hzhang86/chapel/chapel-11/util >CHPL_HOST_PLATFORM: linux64 >CHPL_HOST_COMPILER: gnu >CHPL_TARGET_PLATFORM: linux64 >CHPL_TARGET_COMPILER: gnu >CHPL_TARGET_ARCH: unknown >CHPL_LOCALE_MODEL: flat >CHPL_COMM: gasnet >CHPL_COMM_SUBSTRATE: ibv >CHPL_GASNET_SEGMENT: large >CHPL_TASKS: fifo >CHPL_LAUNCHER: gasnetrun_ibv >CHPL_TIMERS: generic >CHPL_MEM: dlmalloc >CHPL_MAKE: gmake >CHPL_ATOMICS: intrinsics >CHPL_NETWORK_ATOMICS: none >CHPL_GMP: gmp >CHPL_HWLOC: none >CHPL_REGEXP: re2 >CHPL_WIDE_POINTERS: node16 >CHPL_LLVM: llvm >CHPL_AUX_FILESYS: none > > >I haven't found useful information online yet, any ideas ? > >Thanks > >-- >Best regards > > >Hui Zhang > > ------------------------------------------------------------------------------ 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
