[ExM Users] warnings on c-utils install

Scott Krieder skrieder at iit.edu
Thu Apr 25 10:56:20 CDT 2013


The gcc version is probably the issue, I am using an older version from
when I ran some experiments with cilk. Justin installed on the same machine
with no issues.

gcc -v:
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: /home/build/svn/trunk/eng/prod/gcc/configure
--prefix=/home/build/64/local/cilk --with-gas-weakref=no
--with-comdat-group --enable-checking --disable-bootstrap --disable-libgomp
--enable-languages=c,c++ --disable-libstdcxx-pch --enable-targets=all
--with-cilk-version=10100 --with-cilk-build=8503
Thread model: posix
gcc version 4.2.4 (Cilk Arts build 8503)

Thanks,
Scott


On Thu, Apr 25, 2013 at 10:42 AM, Tim Armstrong <tga at uchicago.edu> wrote:

>  You can ignore these for now, unless you run into further issues.  It
> may be a good idea to also update and recompile adlb and turbine.
>
> I enabled an additional compiler warning for implicit conversions, and
> fixed all the warnings that cropped up on my machines, but it appears you
> are getting some additional ones. What version of gcc are you using?
>
> - Tim
>
>
>
> On 4/25/2013 10:18 AM, Scott Krieder wrote:
>
> Hi Tim,
>
>  I noticed that when installing c-utils from the latest svn version it
> gives several warnings.
>
>  I did do a make clean, and my uname -a gives:
>  Linux skrieder 2.6.32-43-generic #97-Ubuntu SMP Wed Sep 5 16:42:26 UTC
> 2012 x86_64 GNU/Linux
>
>  Here is what make produces:
>  make
>   DEP src/list_d.d
>   DEP src/log.d
>   DEP src/list_ip.d
>   DEP src/reader.d
>   DEP src/list_i.d
>   DEP src/list2.d
>   DEP src/list_l.d
>   DEP src/table_ip.d
>   DEP src/tree.d
>   DEP src/version.d
>   DEP src/lookup3.d
>   DEP src/table.d
>   DEP src/exm-string.d
>   DEP src/tools.d
>   DEP src/list_sp.d
>   DEP src/c-utils.d
>   DEP src/memory.d
>   DEP src/list.d
>   DEP src/list_lp.d
>   DEP src/rbtree.d
>   DEP src/table_lp.d
>   DEP src/profile.d
>   CC src/profile.o
> src/profile.c: In function ‘profile_entry’:
> src/profile.c:64: warning: passing argument 3 of ‘__builtin_strncpy’ with
> different width due to prototype
>   CC src/table_lp.o
> src/table_lp.c: In function ‘table_lp_dump’:
> src/table_lp.c:169: warning: passing argument 2 of ‘list_lp_tostring’ with
> different width due to prototype
>   CC src/rbtree.o
>   CC src/list_lp.o
>   CC src/list.o
>   CC src/memory.o
> src/memory.c: In function ‘mm_create’:
> src/memory.c:86: warning: passing argument 2 of ‘strnlen’ with different
> width due to prototype
>   CC src/c-utils.o
>   CC src/list_sp.o
>   CC src/tools.o
>   CC src/exm-string.o
>   CC src/table.o
> src/table.c: In function ‘table_dump’:
> src/table.c:211: warning: passing argument 2 of ‘list_sp_tostring’ with
> different width due to prototype
>   CC src/lookup3.o
>   CC src/version.o
>   CC src/tree.o
>   CC src/table_ip.o
> src/table_ip.c: In function ‘table_ip_dump’:
> src/table_ip.c:136: warning: passing argument 2 of ‘list_ip_snprintf’ with
> different width due to prototype
>   CC src/list_l.o
>   CC src/list2.o
>   CC src/list_i.o
>   CC src/reader.o
> src/reader.c: In function ‘reader_read’:
> src/reader.c:88: warning: passing argument 2 of ‘fread’ with different
> width due to prototype
> src/reader.c:99: warning: passing argument 2 of ‘table_lp_add’ with
> different width due to prototype
>   CC src/list_ip.o
> src/list_ip.c: In function ‘list_ip_snprintf’:
> src/list_ip.c:597: warning: passing argument 2 of ‘snprintf’ with
> different width due to prototype
>   CC src/log.o
> src/log.c: In function ‘log_printf’:
> src/log.c:95: warning: passing argument 2 of ‘vsnprintf’ with different
> width due to prototype
>   CC src/list_d.o
>   LINK lib/libexmcutils.so
>
>
>  --
> Scott J. Krieder
>  C: 419-685-0410
>  E: skrieder at iit.edu
>  http://datasys.cs.iit.edu/~skrieder/
>
>
>


-- 
Scott J. Krieder
C: 419-685-0410
E: skrieder at iit.edu
http://datasys.cs.iit.edu/~skrieder/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/exm-user/attachments/20130425/14950d21/attachment.html>


More information about the ExM-user mailing list