On Tue, Jun 18, 2013 at 4:34 AM, Glenn Fowler <[email protected]> wrote: > > ast-ksh alpha 2013-06-13 source posted to > http://www.research.att.com/sw/download/alpha/ > > still a work in progess, but progress has been made in the > handling of signals in libast/vmalloc and ksh > > more comments later this morning ...
Thanks... :-) ... here are some build warnings which may trigger issues with some compilers (warnings are from SuSE 12.3/AMD64/64bit build with gcc 4.7): -- snip -- 1. Build warnings in the memory allocation subsystem (note: the "strict-aliasing" warnings are very important and can trigger major issues with "clang"): /home/test001/work/ast_ksh_20130613/build_i386_64bit_opt/src/lib/libast/vmalloc/vmbest.c: In function 'chktree': /home/test001/work/ast_ksh_20130613/build_i386_64bit_opt/src/lib/libast/vmalloc/vmbest.c:180:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] /home/test001/work/ast_ksh_20130613/build_i386_64bit_opt/src/lib/libast/vmalloc/vmbest.c:182:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] /home/test001/work/ast_ksh_20130613/build_i386_64bit_opt/src/lib/libast/vmalloc/vmbest.c: In function 'bestlistreclaim': /home/test001/work/ast_ksh_20130613/build_i386_64bit_opt/src/lib/libast/vmalloc/vmbest.c:487:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] /home/test001/work/ast_ksh_20130613/build_i386_64bit_opt/src/lib/libast/vmalloc/vmbest.c:506:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] /home/test001/work/ast_ksh_20130613/build_i386_64bit_opt/src/lib/libast/vmalloc/vmbest.c:507:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] /home/test001/work/ast_ksh_20130613/build_i386_64bit_opt/src/lib/libast/vmalloc/vmbest.c: In function 'bestpackalloc': /home/test001/work/ast_ksh_20130613/build_i386_64bit_opt/src/lib/libast/vmalloc/vmbest.c:576:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] /home/test001/work/ast_ksh_20130613/build_i386_64bit_opt/src/lib/libast/vmalloc/vmbest.c:605:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] /home/test001/work/ast_ksh_20130613/build_i386_64bit_opt/src/lib/libast/vmalloc/vmbest.c: In function 'bestresize': /home/test001/work/ast_ksh_20130613/build_i386_64bit_opt/src/lib/libast/vmalloc/vmbest.c:825:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] /home/test001/work/ast_ksh_20130613/build_i386_64bit_opt/src/lib/libast/vmalloc/vmbest.c: In function '_vmchkaddress': /home/test001/work/ast_ksh_20130613/build_i386_64bit_opt/src/lib/libast/vmalloc/vmbest.c:1047:3: warning: implicit declaration of function '_vmmessage' [-Wimplicit-function-declaration] 2. Build warnings related to signals: + cc '-DSHOPT_CMDLIB_BLTIN=0' '-DSH_CMDLIB_DIR="/usr/ast/bin"' '-DSHOPT_CMDLIB_HDR="/home/test001/work/ast_ksh_20130613/build_i386_64bit_opt/tmp_gnulinux_builtin_header.h"' -DSHOPT_SYSRC '-D_map_libc=1' -O2 -fstrict-aliasing -Wstrict-aliasing -Wsequence-point -Wno-parentheses -Wno-unused -Wno-trigraphs -Wclobbered -Waddress -I. -I/home/test001/work/ast_ksh_20130613/build_i386_64bit_opt/src/cmd/ksh93 -Iinclude -I/home/test001/work/ast_ksh_20130613/build_i386_64bit_opt/src/cmd/ksh93/include -I/home/test001/work/ast_ksh_20130613/build_i386_64bit_opt/arch/linux.i386-64/include/ast -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_PFSH -DSHOPT_MULTIBYTE -DSHOPT_COSHELL -DSHOPT_AUDIT '-D_API_ast=20121001' -D_PACKAGE_ast -DSHOPT_DYNAMIC '-DERROR_CONTEXT_T=Error_context_t' -DSHOPT_POLL -D_BLD_shell -DSHOPT_KIA -DKSHELL -DSHOPT_EDPREDICT -DSHOPT_FIXEDARRAY -DSHOPT_SUID_EXEC -DSHOPT_BRACEPAT -c /home/test001/work/ast_ksh_20130613/build_i386_64bit_opt/src/cmd/ksh93/sh/init.c /home/test001/work/ast_ksh_20130613/build_i386_64bit_opt/src/cmd/ksh93/sh/init.c: In function 'sh_setsiginfo': /home/test001/work/ast_ksh_20130613/build_i386_64bit_opt/src/cmd/ksh93/sh/init.c:2087:13: warning: operation on 'np->nvsize' may be undefined [-Wsequence-point] /home/test001/work/ast_ksh_20130613/build_i386_64bit_opt/src/cmd/ksh93/sh/init.c:2090:13: warning: operation on 'np->nvsize' may be undefined [-Wsequence-point] -- snip -- ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) [email protected] \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 3992797 (;O/ \/ \O;) _______________________________________________ ast-developers mailing list [email protected] http://lists.research.att.com/mailman/listinfo/ast-developers
