gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gm2] latest git changes


From: Christoph Schlegel
Subject: Re: [Gm2] latest git changes
Date: Tue, 4 Nov 2014 20:07:23 +0100

Hello Gaius,

building gm2 under Cygwin still stops with this error reported earlier:

/bin/sh ../libtool  --tag=CC   --mode=compile 
/home/Christoph/gm2build/./gcc/xgcc -B/home/Christoph/gm2build/./gcc/ 
-B/home/Christoph/opt/i686-pc-cygwin/bin/ 
-B/home/Christoph/opt/i686-pc-cygwin/lib/ -isystem 
/home/Christoph/opt/i686-pc-cygwin/include -isystem 
/home/Christoph/opt/i686-pc-cygwin/sys-include    -DHAVE_CONFIG_H -I. 
-I../../../../gcc-4.7.3/libgm2/libpim -I..    -I. 
-I/home/Christoph/gcc-4.7.3/gcc/gm2/gm2-libs 
-I/home/Christoph/gcc-4.7.3/gcc/gm2/gm2-libs-iso -DBUILD_GM2_LIBS 
-I../../../../gcc-4.7.3/libgm2/libpim/../ -O2 -g -MT libgm2_la-sckt.lo -MD -MP 
-MF .deps/libgm2_la-sckt.Tpo -c -o libgm2_la-sckt.lo `test -f 'sckt.c' || echo 
'../../../../gcc-4.7.3/libgm2/libpim/'`sckt.c
libtool: compile:  /home/Christoph/gm2build/./gcc/xgcc 
-B/home/Christoph/gm2build/./gcc/ -B/home/Christoph/opt/i686-pc-cygwin/bin/ 
-B/home/Christoph/opt/i686-pc-cygwin/lib/ -isystem 
/home/Christoph/opt/i686-pc-cygwin/include -isystem 
/home/Christoph/opt/i686-pc-cygwin/sys-include -DHAVE_CONFIG_H -I. 
-I../../../../gcc-4.7.3/libgm2/libpim -I.. -I. 
-I/home/Christoph/gcc-4.7.3/gcc/gm2/gm2-libs 
-I/home/Christoph/gcc-4.7.3/gcc/gm2/gm2-libs-iso -DBUILD_GM2_LIBS 
-I../../../../gcc-4.7.3/libgm2/libpim/../ -O2 -g -MT libgm2_la-sckt.lo -MD -MP 
-MF .deps/libgm2_la-sckt.Tpo -c ../../../../gcc-4.7.3/libgm2/libpim/sckt.c  
-DDLL_EXPORT -DPIC -o .libs/libgm2_la-sckt.o
../../../../gcc-4.7.3/libgm2/libpim/sckt.c: In function 
‘tcpServerEstablishPort’:
../../../../gcc-4.7.3/libgm2/libpim/sckt.c:114:5: warning: incompatible 
implicit declaration of built-in function ‘printf’ [enabled by default]
../../../../gcc-4.7.3/libgm2/libpim/sckt.c:120:5: warning: incompatible 
implicit declaration of built-in function ‘printf’ [enabled by default]
../../../../gcc-4.7.3/libgm2/libpim/sckt.c:124:5: warning: incompatible 
implicit declaration of built-in function ‘printf’ [enabled by default]
../../../../gcc-4.7.3/libgm2/libpim/sckt.c:136:7: warning: incompatible 
implicit declaration of built-in function ‘printf’ [enabled by default]
../../../../gcc-4.7.3/libgm2/libpim/sckt.c:139:5: warning: incompatible 
implicit declaration of built-in function ‘printf’ [enabled by default]
../../../../gcc-4.7.3/libgm2/libpim/sckt.c:148:5: warning: incompatible 
implicit declaration of built-in function ‘printf’ [enabled by default]
../../../../gcc-4.7.3/libgm2/libpim/sckt.c: In function ‘getLocalIP’:
../../../../gcc-4.7.3/libgm2/libpim/sckt.c:217:5: warning: incompatible 
implicit declaration of built-in function ‘printf’ [enabled by default]
../../../../gcc-4.7.3/libgm2/libpim/sckt.c:223:5: warning: incompatible 
implicit declaration of built-in function ‘printf’ [enabled by default]
../../../../gcc-4.7.3/libgm2/libpim/sckt.c:228:5: warning: incompatible 
implicit declaration of built-in function ‘printf’ [enabled by default]
../../../../gcc-4.7.3/libgm2/libpim/sckt.c: In function ‘tcpServerClientIP’:
../../../../gcc-4.7.3/libgm2/libpim/sckt.c:261:3: warning: incompatible 
implicit declaration of built-in function ‘printf’ [enabled by default]
../../../../gcc-4.7.3/libgm2/libpim/sckt.c:262:3: warning: incompatible 
implicit declaration of built-in function ‘printf’ [enabled by default]
../../../../gcc-4.7.3/libgm2/libpim/sckt.c: In function ‘tcpClientSocket’:
../../../../gcc-4.7.3/libgm2/libpim/sckt.c:302:5: warning: incompatible 
implicit declaration of built-in function ‘printf’ [enabled by default]
../../../../gcc-4.7.3/libgm2/libpim/sckt.c:309:5: warning: incompatible 
implicit declaration of built-in function ‘fprintf’ [enabled by default]
../../../../gcc-4.7.3/libgm2/libpim/sckt.c:309:13: error: ‘stderr’ 
undeclared (first use in this function)
../../../../gcc-4.7.3/libgm2/libpim/sckt.c:309:13: note: each undeclared 
identifier is reported only once for each function it appears in
../../../../gcc-4.7.3/libgm2/libpim/sckt.c: In function ‘tcpClientSocketIP’:
../../../../gcc-4.7.3/libgm2/libpim/sckt.c:337:5: warning: incompatible 
implicit declaration of built-in function ‘printf’ [enabled by default]
../../../../gcc-4.7.3/libgm2/libpim/sckt.c: In function ‘tcpClientConnect’:
../../../../gcc-4.7.3/libgm2/libpim/sckt.c:364:5: warning: incompatible 
implicit declaration of built-in function ‘printf’ [enabled by default]
Makefile:536: recipe for target 'libgm2_la-sckt.lo' failed
make[5]: *** [libgm2_la-sckt.lo] Error 1
make[5]: Leaving directory 
'/home/Christoph/gm2build/i686-pc-cygwin/libgm2/libpim'
Makefile:414: recipe for target 'all' failed
make[4]: *** [all] Error 2
make[4]: Leaving directory 
'/home/Christoph/gm2build/i686-pc-cygwin/libgm2/libpim'
Makefile:417: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/Christoph/gm2build/i686-pc-cygwin/libgm2'
Makefile:330: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/Christoph/gm2build/i686-pc-cygwin/libgm2'
Makefile:11761: recipe for target 'all-target-libgm2' failed
make[1]: *** [all-target-libgm2] Error 2
make[1]: Leaving directory '/home/Christoph/gm2build'
Makefile:881: recipe for target 'all' failed
make: *** [all] Error 2

Regards,
Christoph


On Tue, 04 Nov 2014 10:48:01 +0000
Gaius Mulley <address@hidden> wrote:

> 
> Hi,
> 
> here are the latest git changes:  in summary these changes allow for
> more accurate debug info (line numbers).  Also fixed is an important
> lvalue bug fix in large sets.  I've introduced another regression
> test case to catch this.  Also fixed is a bug in the ISO libraries
> (end of line and the number of characters necessary to read ahead has
> been reduced by one, which makes for more useful interactive programs).
> 
> The debugging info accuracy still needs to be improved (line numbers).
> This shouldn't be too difficult and will be addressed now.
> I think the following issues need to be fixed before the release (gm2-1.10).
> 
>   (i)    get hello world working with the ulm libraries in the
>          regression test.
>   (ii)   fix line number/debugging.
>   (iii)  make sure all examples work.
>   (iv)   ensure shared libraries also work.
> 
> I have produced a gm2-1.0.9 debian package on floppsie.comp.glam.ac.uk.
> This is meant to be a beta gm2-1.10.  gm2-1.0.9 will be rebuilt with
> successive minor numbers as we approach gm2-1.10.  Currently I've only
> produced the x86_64 version though.  Hope this is useful
> 
> regards,
> Gaius
> 
> 
>     * gm2/gm2-gcc/m2expr.c: (m2expr_BuildForeachWordInSetDoIfExpr)
>       add additional
>       parameter to m2expr_BuildForeachWordInSetDoIfExpr (is_lvalue).
>     * gm2/gm2-gcc/m2treelib.c:  (m2treelib_get_set_value) extra
>       parameter,
>       is_lvalue, which builds a component ref using an indirect
>       value.
>     * gm2/gm2-gcc/m2treelib.h:  added new parameter to prototype.
>     * gm2/m2pp.c:  (m2pp_bit_ior_expr)  New function.
> 
>     * gm2/examples/pge/popWorld.def:  tidied up comment.
>     * gm2/examples/pge/popWorld.mod:  tidied up comment.
>     * gm2/examples/pge/twoDsim.def:  tidied up comment and moved a
>     * type definition
>       into the implementation module.
>     * gm2/examples/pge/twoDsim.mod:  added type definition.
>     * gm2/gm2-compiler/M2GCCDeclare.mod:  (AlignProcedureWithSource)
>     * removed procedure.
>       (DeclareProcedureToGccWholeProgram),
>     * (DeclareProcedureToGccSeparateProgram)
>       call GetProcedureBeginEnd to obtain the position of the BEGIN
>     * END tokens for
>       accurate debugging info.
>     * gm2/gm2-compiler/M2GenGCC.mod:  (CodeNewLocalVar) and
>     * (CodeKillLocalVar)
>       also obtain the position of the BEGIN END tokens for accurate
>     * debugging info.
>     * gm2/gm2-compiler/M2Quads.mod:  (BuildProcedureBegin) call
>     * PutProcedureBegin to
>       save the BEGIN location.  (BuildProcedureEnd) call
>     * PutProcedureEnd to
>       save the END location.
>     * gm2/gm2-compiler/SymbolTable.def:  (PutProcedureBegin) define
>     * new procedure.
>       (PutProcedureEnd) define new procedure.
>     * gm2/gm2-compiler/SymbolTable.mod:  (PutProcedureBegin)
>     * implement new procedure.
>       (PutProcedureEnd) implement new procedure.
>     * gm2/gm2-libs-iso/IOChan.mod:  (Look) fix bug to ensure the
>     * result is set to the
>       result of the look.
>     * gm2/gm2-libs-iso/RTfio.def:  changed specification of iseoln
>     * to avoid having to
>       read ahead an extra character.
>     * gm2/gm2-libs-iso/RTfio.mod:  use FIO.WasEOLN rather than
>     * FIO.EOLN.
>       (checkPostRead) corrected comment.  (setReadResult) changed
>     * order of
>       if statements (check worst condition first).
>     * gm2/gm2-libs-iso/RTgen.mod:  (doLook) restore old result, but
>     * return newer
>       result in r.
>     * gm2/gm2-libs/FIO.def:  (WasEOLN) new procedure function.
>     * gm2/gm2-libs/FIO.mod:  (WasEOLN) new procedure function
>     * implemented.  Introduced
>       new state endofline which is set appropriately.
> 
> 
> _______________________________________________
> gm2 mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/gm2


-- 
Christoph Schlegel <address@hidden>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]