|
From: Borut R. <bor...@gm...> - 2012-01-14 11:59:25
|
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-2">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi sdcc developers,<br>
<br>
<br>
here are my observations about the current sdcc snapshot builds
status:<br>
<ul>
<li>I saw that Leland implemented the gbz80 simulator in ucsim,
which is great!<br>
I tried to run ucgbz80 regression tests and I've got a lot of
failures, so I'm wondering if this are sdcc gbz80 bugs or ucsim
bugs?<br>
</li>
</ul>
<ul>
<li>Both ppc and i386 Mac OS X builds fail:<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-2">
<tt>-- Configured sdcc for i386-apple-macosx,
CC=/Developer/usr/bin/gcc, CXX=/Developer/usr/bin/g++<br>
ranlib: warning for library: ../libguitool.a for architecture:
i386 the table of contents is empty (no object file members in
the library define global symbols)<br>
ranlib: warning for library: ../libguitool.a for architecture:
ppc the table of contents is empty (no object file members in
the library define global symbols)<br>
/Users/sdcc-builder/build/sdcc-build/orig/sdcc/sim/ucsim/z80.src/lr35902cl.h:38:
warning: 'class lr35902_memory' has virtual functions but
non-virtual destructor<br>
/Users/sdcc-builder/build/sdcc-build/orig/sdcc/sim/ucsim/z80.src/lr35902cl.h:38:
warning: 'class lr35902_memory' has virtual functions but
non-virtual destructor<br>
/Users/sdcc-builder/build/sdcc-build/orig/sdcc/sim/ucsim/z80.src/lr35902cl.h:38:
warning: 'class lr35902_memory' has virtual functions but
non-virtual destructor<br>
/Users/sdcc-builder/build/sdcc-build/orig/sdcc/sim/ucsim/z80.src/lr35902cl.h:38:
warning: 'class lr35902_memory' has virtual functions but
non-virtual destructor<br>
/Users/sdcc-builder/build/sdcc-build/orig/sdcc/sim/ucsim/z80.src/lr35902cl.h:38:
warning: 'class lr35902_memory' has virtual functions but
non-virtual destructor<br>
/Users/sdcc-builder/build/sdcc-build/orig/sdcc/sim/ucsim/z80.src/lr35902cl.h:38:
warning: 'class lr35902_memory' has virtual functions but
non-virtual destructor<br>
make[4]: *** No rule to make target `SDCCnaddr.c', needed by
`Makefile.dep'.<br>
/Users/sdcc-builder/build/sdcc-build/orig/sdcc/src/SDCCopt.c:
In function 'convertToFcall':<br>
/Users/sdcc-builder/build/sdcc-build/orig/sdcc/src/SDCCopt.c:919:
warning: 'ico' may be used uninitialized in this function<br>
/Users/sdcc-builder/build/sdcc-build/orig/sdcc/src/SDCCopt.c:
In function 'convertToFcall':<br>
/Users/sdcc-builder/build/sdcc-build/orig/sdcc/src/SDCCopt.c:919:
warning: 'ico' may be used uninitialized in this function<br>
/Users/sdcc-builder/build/sdcc-build/orig/sdcc/src/z80/gen.c:
In function 'genCmp':<br>
/Users/sdcc-builder/build/sdcc-build/orig/sdcc/src/z80/gen.c:5962:
warning: 'tlbl' may be used uninitialized in this function<br>
/Users/sdcc-builder/build/sdcc-build/orig/sdcc/src/z80/gen.c:
In function 'genCmp':<br>
/Users/sdcc-builder/build/sdcc-build/orig/sdcc/src/z80/gen.c:5962:
warning: 'tlbl' may be used uninitialized in this function<br>
make[4]: Target `all' not remade because of errors.<br>
make[3]: *** [sdcc-cc] Error 2<br>
make[3]: Target `sdcc' not remade because of errors.<br>
make[2]: *** [sdcc-build] Error 2<br>
make[4]: *** No rule to make target `SDCCnaddr.c', needed by
`Makefile.dep'.<br>
make[4]: Target `all' not remade because of errors.<br>
make[3]: *** [sdcc-cc] Error 2<br>
make[3]: Target `install' not remade because of errors.<br>
make[2]: *** [sdcc-targetos-install] Error 2<br>
make[2]: Target `build' not remade because of errors.<br>
--- Building i386-apple-macosx finished on Fri Jan 13 03:05:52
PST 2012 ---<br>
make[3]: *** No rule to make target `SDCCnaddr.c', needed by
`Makefile.dep'.<br>
make[3]: Target `all' not remade because of errors.<br>
make[2]: *** [sdcc-cc] Error 2<br>
make[2]: Target `sdcc' not remade because of errors.<br>
make[1]: *** [sdcc-build] Error 2<br>
make: *** [build-all-targets] Error 2<br>
Buildlock: cleanup</tt><br>
<br>
Any idea?<br>
<br>
</li>
<li>There are warnings while configuring pic:<br>
<tt>Making all in libm<br>
cd .. && /bin/sh ./config.status libm/Makefile
depfiles<br>
config.status: creating libm/Makefile<br>
config.status: executing depfiles commands<br>
at 1: warning 117: unknown compiler option '-O2' ignored<br>
...<br>
Making all in libsdcc/regular<br>
cd ../.. && /bin/sh ./config.status
libsdcc/regular/Makefile depfiles<br>
config.status: creating libsdcc/regular/Makefile<br>
config.status: executing depfiles commands<br>
at 1: warning 117: unknown compiler option '-O2' ignored</tt><br>
...<br>
<br>
It seems that gcc CFLAGS are passed to sdcc somewhere...<br>
<br>
</li>
<li>There are a lot of "warning: variable 'xxxxx' set but not used
[-Wunused-but-set-variable]" and other warnings all over the
whole code which wold be nice to be fixed...<br>
</li>
</ul>
<br>
P.S.: Leland, can you please adjust SVN config settings on your
development machine, as described in
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-2">
<a
href="http://sourceforge.net/apps/trac/sdcc/wiki/SDCC%20coding%20style">http://sourceforge.net/apps/trac/sdcc/wiki/SDCC%20coding%20style</a>
?<br>
<br>
Borut<br>
<br>
<a
href="http://sourceforge.net/apps/trac/sdcc/wiki/SDCC%20coding%20style"></a>
</body>
</html>
|