Discussion:
[ast-developers] AT&T Software Technology ast alpha software download update
Glenn Fowler
2013-05-24 06:54:16 UTC
Permalink
the AT&T Software Technology ast alpha 2013-05-24 source and binary release
has been posted to the download site
http://www.research.att.com/sw/download/alpha/
the package names and md5 checksums are
INIT ed29bc9017e7bed828b66977c474f3dc
ast-ksh ec93af891a10071d65afe581be31df30
the md5 sums should match the ones listed on the download page
if not then don't download

this alpha includes updated -last { aso cdt vmalloc }
which should be in much better shape in multi-threaded apps

these updates represent a flurry of activity surrounding the
retirement of long time ast colleague Phong Vo (moving on to google)
and making sure all of his latest stuff is properly merged into ast

since a lot of his code touches the heart of ast the merging is
a meticulous process and has taken up most of my ast time
the biggest effect w.r.t. the list has been to make note of but
not act on any non-ksh patches -- once the merge is done we'll start
looking at those patches (we've learned over the years that even the
smallest innocent patch has the ability to wreak havoc on a release --
debugging kpv merged code is hard enough -- adding in other changes
at the same time could tip the process into chaos)

the next ast-open alpha will be early next week
that will include updated -lvcodex and vczip

a corresponding uwin alpha will be about 2 weeks away
Roland Mainz
2013-05-24 15:08:18 UTC
Permalink
Post by Glenn Fowler
the AT&T Software Technology ast alpha 2013-05-24 source and binary release
has been posted to the download site
http://www.research.att.com/sw/download/alpha/
the package names and md5 checksums are
INIT ed29bc9017e7bed828b66977c474f3dc
ast-ksh ec93af891a10071d65afe581be31df30
the md5 sums should match the ones listed on the download page
if not then don't download
[snip]

Erm... the source doesn't build on SuSE 12.3/AMD64/64bit:
-- snip --
+ cc -O2 -L. -L/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/lib
-o ksh pmain.o libshell.a
/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/lib/libdll.a
/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/lib/libast.a
/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/lib/libast.a
/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/lib/libcoshell.a
/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/lib/libast.a
/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/lib/libast.a
/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/lib/libcmd.a
-lutil /home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/lib/libast.a
-lutil /home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/lib/libast.a
/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/lib/libast.a
/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/lib/libast.a
libshell.a(streval.o): In function `arith_exec':
streval.c:(.text+0x187b): undefined reference to `pow'
streval.c:(.text+0x1f6c): undefined reference to `floorl'
streval.c:(.text+0x1f7c): undefined reference to `floorl'
streval.c:(.text+0x1f8a): undefined reference to `floorl'
libshell.a(strdata.o): In function `local_fpclassify':
strdata.c:(.text+0x18): undefined reference to `__fpclassifyl'
libshell.a(strdata.o): In function `local_isnormal':
strdata.c:(.text+0xd9): undefined reference to `__fpclassifyl'
libshell.a(strdata.o): In function `local_issubnormal':
strdata.c:(.text+0x100): undefined reference to `__fpclassifyl'
libshell.a(strdata.o): In function `local_iszero':
strdata.c:(.text+0x141): undefined reference to `__fpclassifyl'
libshell.a(strdata.o):(.rodata+0x2d0): undefined reference to `acosl'
libshell.a(strdata.o):(.rodata+0x2e8): undefined reference to `acoshl'
libshell.a(strdata.o):(.rodata+0x300): undefined reference to `asinl'
libshell.a(strdata.o):(.rodata+0x318): undefined reference to `asinhl'
libshell.a(strdata.o):(.rodata+0x330): undefined reference to `atanl'
libshell.a(strdata.o):(.rodata+0x348): undefined reference to `atan2l'
libshell.a(strdata.o):(.rodata+0x360): undefined reference to `atanhl'
libshell.a(strdata.o):(.rodata+0x378): undefined reference to `cbrtl'
libshell.a(strdata.o):(.rodata+0x390): undefined reference to `ceill'
libshell.a(strdata.o):(.rodata+0x3c0): undefined reference to `cosl'
libshell.a(strdata.o):(.rodata+0x3d8): undefined reference to `coshl'
libshell.a(strdata.o):(.rodata+0x3f0): undefined reference to `erfl'
libshell.a(strdata.o):(.rodata+0x408): undefined reference to `erfcl'
libshell.a(strdata.o):(.rodata+0x420): undefined reference to `expl'
libshell.a(strdata.o):(.rodata+0x438): undefined reference to `exp10l'
libshell.a(strdata.o):(.rodata+0x450): undefined reference to `exp2l'
libshell.a(strdata.o):(.rodata+0x468): undefined reference to `expm1l'
libshell.a(strdata.o):(.rodata+0x480): undefined reference to `fabsl'
libshell.a(strdata.o):(.rodata+0x498): undefined reference to `fabsl'
libshell.a(strdata.o):(.rodata+0x4b0): undefined reference to `fdiml'
libshell.a(strdata.o):(.rodata+0x4e0): undefined reference to `floorl'
libshell.a(strdata.o):(.rodata+0x4f8): undefined reference to `floorl'
libshell.a(strdata.o):(.rodata+0x510): undefined reference to `fmal'
libshell.a(strdata.o):(.rodata+0x528): undefined reference to `fmaxl'
libshell.a(strdata.o):(.rodata+0x540): undefined reference to `fminl'
libshell.a(strdata.o):(.rodata+0x558): undefined reference to `fmodl'
libshell.a(strdata.o):(.rodata+0x588): undefined reference to `hypotl'
libshell.a(strdata.o):(.rodata+0x5a0): undefined reference to `ilogbl'
libshell.a(strdata.o):(.rodata+0x6d8): undefined reference to `j0l'
libshell.a(strdata.o):(.rodata+0x6f0): undefined reference to `j1l'
libshell.a(strdata.o):(.rodata+0x708): undefined reference to `jnl'
libshell.a(strdata.o):(.rodata+0x738): undefined reference to `lgammal'
libshell.a(strdata.o):(.rodata+0x750): undefined reference to `logl'
libshell.a(strdata.o):(.rodata+0x768): undefined reference to `log10l'
libshell.a(strdata.o):(.rodata+0x780): undefined reference to `log1pl'
libshell.a(strdata.o):(.rodata+0x798): undefined reference to `log2l'
libshell.a(strdata.o):(.rodata+0x7b0): undefined reference to `logbl'
libshell.a(strdata.o):(.rodata+0x7c8): undefined reference to `nearbyintl'
libshell.a(strdata.o):(.rodata+0x7e0): undefined reference to `nextafterl'
libshell.a(strdata.o):(.rodata+0x7f8): undefined reference to `nexttowardl'
libshell.a(strdata.o):(.rodata+0x810): undefined reference to `powl'
libshell.a(strdata.o):(.rodata+0x828): undefined reference to `remainderl'
libshell.a(strdata.o):(.rodata+0x840): undefined reference to `rintl'
libshell.a(strdata.o):(.rodata+0x858): undefined reference to `roundl'
libshell.a(strdata.o):(.rodata+0x870): undefined reference to `scalbl'
libshell.a(strdata.o):(.rodata+0x8b8): undefined reference to `sinl'
libshell.a(strdata.o):(.rodata+0x8d0): undefined reference to `sinhl'
libshell.a(strdata.o):(.rodata+0x8e8): undefined reference to `sqrtl'
libshell.a(strdata.o):(.rodata+0x900): undefined reference to `tanl'
libshell.a(strdata.o):(.rodata+0x918): undefined reference to `tanhl'
libshell.a(strdata.o):(.rodata+0x930): undefined reference to `tgammal'
libshell.a(strdata.o):(.rodata+0x948): undefined reference to `truncl'
libshell.a(strdata.o):(.rodata+0x960): undefined reference to `y0l'
libshell.a(strdata.o):(.rodata+0x978): undefined reference to `y1l'
libshell.a(strdata.o):(.rodata+0x990): undefined reference to `ynl'
/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/lib/libdll.a(dllplug.o):
In function `dllplugin':
dllplug.c:(.text+0xe1): undefined reference to `dlclose'
dllplug.c:(.text+0x1fe): undefined reference to `dlclose'
/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/lib/libdll.a(dlllook.o):
In function `dlllook':
dlllook.c:(.text+0x1d): undefined reference to `dlsym'
dlllook.c:(.text+0x9f): undefined reference to `dlsym'
/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/lib/libdll.a(dllerror.o):
In function `dllerror':
dllerror.c:(.text+0x41): undefined reference to `dlerror'
/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/lib/libdll.a(dllopen.o):
In function `dllopen':
dllopen.c:(.text+0xe): undefined reference to `dlopen'
collect2: error: ld returned 1 exit status
mamake [cmd/ksh93]: *** exit code 1 making ksh
+ cc -O2 -I. -I/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/src/cmd/ksh93
-Iinclude -I/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/src/cmd/ksh93/include
-I/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/include/ast
-DSHOPT_BRACEPAT '-DSH_DICT="libshell"' '-D_API_ast=20121001'
-D_PACKAGE_ast '-DERROR_CONTEXT_T=Error_context_t' -DSHOPT_STATS
-DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_PFSH -DSHOPT_FIXEDARRAY
-DSHOPT_MULTIBYTE '-DUSAGE_LICENSE="[-author?David Korn
<dgk at research.att.com>][-copyright?Copyright (c) 1982-2013 AT&T
Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libshell]"'
-c /home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/src/cmd/ksh93/sh/shcomp.c
-- snip --

I'm still digging why this happens (it looks linking against libm.so
isn't done) ...

----

Bye,
Roland
--
__ . . __
(o.\ \/ /.o) roland.mainz at nrubsig.org
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL +49 641 3992797
(;O/ \/ \O;)
Glenn Fowler
2013-05-24 16:48:41 UTC
Permalink
the chain of events is

$INSTALLROOT/src/cmd/INIT
generates m.req (for -lm refs)
installs m.req as $INSTALLROOT/lib/lib/m
m.req should contain
-lm
$INSTALLROOT/src/lib/libast
generates ast.req (for -last refs)
installs ast.req as $INSTALLROOT/lib/lib/ast
ast.req should contain
-last -lm
$INSTALLROOT/src/cmd/ksh93
references -last
which should reference $INSTALLROOT/lib/lib/ast
Post by Roland Mainz
Post by Glenn Fowler
the AT&T Software Technology ast alpha 2013-05-24 source and binary release
has been posted to the download site
http://www.research.att.com/sw/download/alpha/
the package names and md5 checksums are
INIT ed29bc9017e7bed828b66977c474f3dc
ast-ksh ec93af891a10071d65afe581be31df30
the md5 sums should match the ones listed on the download page
if not then don't download
[snip]
-- snip --
+ cc -O2 -L. -L/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/lib
-o ksh pmain.o libshell.a
/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/lib/libdll.a
/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/lib/libast.a
/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/lib/libast.a
/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/lib/libcoshell.a
/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/lib/libast.a
/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/lib/libast.a
/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/lib/libcmd.a
-lutil /home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/lib/libast.a
-lutil /home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/lib/libast.a
/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/lib/libast.a
/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/lib/libast.a
streval.c:(.text+0x187b): undefined reference to `pow'
streval.c:(.text+0x1f6c): undefined reference to `floorl'
streval.c:(.text+0x1f7c): undefined reference to `floorl'
streval.c:(.text+0x1f8a): undefined reference to `floorl'
strdata.c:(.text+0x18): undefined reference to `__fpclassifyl'
strdata.c:(.text+0xd9): undefined reference to `__fpclassifyl'
strdata.c:(.text+0x100): undefined reference to `__fpclassifyl'
strdata.c:(.text+0x141): undefined reference to `__fpclassifyl'
libshell.a(strdata.o):(.rodata+0x2d0): undefined reference to `acosl'
libshell.a(strdata.o):(.rodata+0x2e8): undefined reference to `acoshl'
libshell.a(strdata.o):(.rodata+0x300): undefined reference to `asinl'
libshell.a(strdata.o):(.rodata+0x318): undefined reference to `asinhl'
libshell.a(strdata.o):(.rodata+0x330): undefined reference to `atanl'
libshell.a(strdata.o):(.rodata+0x348): undefined reference to `atan2l'
libshell.a(strdata.o):(.rodata+0x360): undefined reference to `atanhl'
libshell.a(strdata.o):(.rodata+0x378): undefined reference to `cbrtl'
libshell.a(strdata.o):(.rodata+0x390): undefined reference to `ceill'
libshell.a(strdata.o):(.rodata+0x3c0): undefined reference to `cosl'
libshell.a(strdata.o):(.rodata+0x3d8): undefined reference to `coshl'
libshell.a(strdata.o):(.rodata+0x3f0): undefined reference to `erfl'
libshell.a(strdata.o):(.rodata+0x408): undefined reference to `erfcl'
libshell.a(strdata.o):(.rodata+0x420): undefined reference to `expl'
libshell.a(strdata.o):(.rodata+0x438): undefined reference to `exp10l'
libshell.a(strdata.o):(.rodata+0x450): undefined reference to `exp2l'
libshell.a(strdata.o):(.rodata+0x468): undefined reference to `expm1l'
libshell.a(strdata.o):(.rodata+0x480): undefined reference to `fabsl'
libshell.a(strdata.o):(.rodata+0x498): undefined reference to `fabsl'
libshell.a(strdata.o):(.rodata+0x4b0): undefined reference to `fdiml'
libshell.a(strdata.o):(.rodata+0x4e0): undefined reference to `floorl'
libshell.a(strdata.o):(.rodata+0x4f8): undefined reference to `floorl'
libshell.a(strdata.o):(.rodata+0x510): undefined reference to `fmal'
libshell.a(strdata.o):(.rodata+0x528): undefined reference to `fmaxl'
libshell.a(strdata.o):(.rodata+0x540): undefined reference to `fminl'
libshell.a(strdata.o):(.rodata+0x558): undefined reference to `fmodl'
libshell.a(strdata.o):(.rodata+0x588): undefined reference to `hypotl'
libshell.a(strdata.o):(.rodata+0x5a0): undefined reference to `ilogbl'
libshell.a(strdata.o):(.rodata+0x6d8): undefined reference to `j0l'
libshell.a(strdata.o):(.rodata+0x6f0): undefined reference to `j1l'
libshell.a(strdata.o):(.rodata+0x708): undefined reference to `jnl'
libshell.a(strdata.o):(.rodata+0x738): undefined reference to `lgammal'
libshell.a(strdata.o):(.rodata+0x750): undefined reference to `logl'
libshell.a(strdata.o):(.rodata+0x768): undefined reference to `log10l'
libshell.a(strdata.o):(.rodata+0x780): undefined reference to `log1pl'
libshell.a(strdata.o):(.rodata+0x798): undefined reference to `log2l'
libshell.a(strdata.o):(.rodata+0x7b0): undefined reference to `logbl'
libshell.a(strdata.o):(.rodata+0x7c8): undefined reference to `nearbyintl'
libshell.a(strdata.o):(.rodata+0x7e0): undefined reference to `nextafterl'
libshell.a(strdata.o):(.rodata+0x7f8): undefined reference to `nexttowardl'
libshell.a(strdata.o):(.rodata+0x810): undefined reference to `powl'
libshell.a(strdata.o):(.rodata+0x828): undefined reference to `remainderl'
libshell.a(strdata.o):(.rodata+0x840): undefined reference to `rintl'
libshell.a(strdata.o):(.rodata+0x858): undefined reference to `roundl'
libshell.a(strdata.o):(.rodata+0x870): undefined reference to `scalbl'
libshell.a(strdata.o):(.rodata+0x8b8): undefined reference to `sinl'
libshell.a(strdata.o):(.rodata+0x8d0): undefined reference to `sinhl'
libshell.a(strdata.o):(.rodata+0x8e8): undefined reference to `sqrtl'
libshell.a(strdata.o):(.rodata+0x900): undefined reference to `tanl'
libshell.a(strdata.o):(.rodata+0x918): undefined reference to `tanhl'
libshell.a(strdata.o):(.rodata+0x930): undefined reference to `tgammal'
libshell.a(strdata.o):(.rodata+0x948): undefined reference to `truncl'
libshell.a(strdata.o):(.rodata+0x960): undefined reference to `y0l'
libshell.a(strdata.o):(.rodata+0x978): undefined reference to `y1l'
libshell.a(strdata.o):(.rodata+0x990): undefined reference to `ynl'
dllplug.c:(.text+0xe1): undefined reference to `dlclose'
dllplug.c:(.text+0x1fe): undefined reference to `dlclose'
dlllook.c:(.text+0x1d): undefined reference to `dlsym'
dlllook.c:(.text+0x9f): undefined reference to `dlsym'
dllerror.c:(.text+0x41): undefined reference to `dlerror'
dllopen.c:(.text+0xe): undefined reference to `dlopen'
collect2: error: ld returned 1 exit status
mamake [cmd/ksh93]: *** exit code 1 making ksh
+ cc -O2 -I. -I/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/src/cmd/ksh93
-Iinclude -I/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/src/cmd/ksh93/include
-I/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/include/ast
-DSHOPT_BRACEPAT '-DSH_DICT="libshell"' '-D_API_ast=20121001'
-D_PACKAGE_ast '-DERROR_CONTEXT_T=Error_context_t' -DSHOPT_STATS
-DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_PFSH -DSHOPT_FIXEDARRAY
-DSHOPT_MULTIBYTE '-DUSAGE_LICENSE="[-author?David Korn
<dgk at research.att.com>][-copyright?Copyright (c) 1982-2013 AT&T
Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libshell]"'
-c /home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/src/cmd/ksh93/sh/shcomp.c
-- snip --
I'm still digging why this happens (it looks linking against libm.so
isn't done) ...
----
Bye,
Roland
--
__ . . __
(o.\ \/ /.o) roland.mainz at nrubsig.org
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL +49 641 3992797
(;O/ \/ \O;)
Michal Hlavinka
2013-05-27 14:20:13 UTC
Permalink
Hi,

I can reproduce this too.
Post by Glenn Fowler
the chain of events is
$INSTALLROOT/src/cmd/INIT
generates m.req (for -lm refs)
installs m.req as $INSTALLROOT/lib/lib/m
m.req should contain
-lm
fails, it contains just "-"

Bug is in Mamfile, attached patch fixes this for me

Michal
Post by Glenn Fowler
$INSTALLROOT/src/lib/libast
generates ast.req (for -last refs)
installs ast.req as $INSTALLROOT/lib/lib/ast
ast.req should contain
-last -lm
$INSTALLROOT/src/cmd/ksh93
references -last
which should reference $INSTALLROOT/lib/lib/ast
Post by Roland Mainz
Post by Glenn Fowler
the AT&T Software Technology ast alpha 2013-05-24 source and binary release
has been posted to the download site
http://www.research.att.com/sw/download/alpha/
the package names and md5 checksums are
INIT ed29bc9017e7bed828b66977c474f3dc
ast-ksh ec93af891a10071d65afe581be31df30
the md5 sums should match the ones listed on the download page
if not then don't download
[snip]
-- snip --
+ cc -O2 -L. -L/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/lib
-o ksh pmain.o libshell.a
/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/lib/libdll.a
/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/lib/libast.a
/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/lib/libast.a
/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/lib/libcoshell.a
/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/lib/libast.a
/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/lib/libast.a
/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/lib/libcmd.a
-lutil /home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/lib/libast.a
-lutil /home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/lib/libast.a
/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/lib/libast.a
/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/lib/libast.a
streval.c:(.text+0x187b): undefined reference to `pow'
streval.c:(.text+0x1f6c): undefined reference to `floorl'
streval.c:(.text+0x1f7c): undefined reference to `floorl'
streval.c:(.text+0x1f8a): undefined reference to `floorl'
strdata.c:(.text+0x18): undefined reference to `__fpclassifyl'
strdata.c:(.text+0xd9): undefined reference to `__fpclassifyl'
strdata.c:(.text+0x100): undefined reference to `__fpclassifyl'
strdata.c:(.text+0x141): undefined reference to `__fpclassifyl'
libshell.a(strdata.o):(.rodata+0x2d0): undefined reference to `acosl'
libshell.a(strdata.o):(.rodata+0x2e8): undefined reference to `acoshl'
libshell.a(strdata.o):(.rodata+0x300): undefined reference to `asinl'
libshell.a(strdata.o):(.rodata+0x318): undefined reference to `asinhl'
libshell.a(strdata.o):(.rodata+0x330): undefined reference to `atanl'
libshell.a(strdata.o):(.rodata+0x348): undefined reference to `atan2l'
libshell.a(strdata.o):(.rodata+0x360): undefined reference to `atanhl'
libshell.a(strdata.o):(.rodata+0x378): undefined reference to `cbrtl'
libshell.a(strdata.o):(.rodata+0x390): undefined reference to `ceill'
libshell.a(strdata.o):(.rodata+0x3c0): undefined reference to `cosl'
libshell.a(strdata.o):(.rodata+0x3d8): undefined reference to `coshl'
libshell.a(strdata.o):(.rodata+0x3f0): undefined reference to `erfl'
libshell.a(strdata.o):(.rodata+0x408): undefined reference to `erfcl'
libshell.a(strdata.o):(.rodata+0x420): undefined reference to `expl'
libshell.a(strdata.o):(.rodata+0x438): undefined reference to `exp10l'
libshell.a(strdata.o):(.rodata+0x450): undefined reference to `exp2l'
libshell.a(strdata.o):(.rodata+0x468): undefined reference to `expm1l'
libshell.a(strdata.o):(.rodata+0x480): undefined reference to `fabsl'
libshell.a(strdata.o):(.rodata+0x498): undefined reference to `fabsl'
libshell.a(strdata.o):(.rodata+0x4b0): undefined reference to `fdiml'
libshell.a(strdata.o):(.rodata+0x4e0): undefined reference to `floorl'
libshell.a(strdata.o):(.rodata+0x4f8): undefined reference to `floorl'
libshell.a(strdata.o):(.rodata+0x510): undefined reference to `fmal'
libshell.a(strdata.o):(.rodata+0x528): undefined reference to `fmaxl'
libshell.a(strdata.o):(.rodata+0x540): undefined reference to `fminl'
libshell.a(strdata.o):(.rodata+0x558): undefined reference to `fmodl'
libshell.a(strdata.o):(.rodata+0x588): undefined reference to `hypotl'
libshell.a(strdata.o):(.rodata+0x5a0): undefined reference to `ilogbl'
libshell.a(strdata.o):(.rodata+0x6d8): undefined reference to `j0l'
libshell.a(strdata.o):(.rodata+0x6f0): undefined reference to `j1l'
libshell.a(strdata.o):(.rodata+0x708): undefined reference to `jnl'
libshell.a(strdata.o):(.rodata+0x738): undefined reference to `lgammal'
libshell.a(strdata.o):(.rodata+0x750): undefined reference to `logl'
libshell.a(strdata.o):(.rodata+0x768): undefined reference to `log10l'
libshell.a(strdata.o):(.rodata+0x780): undefined reference to `log1pl'
libshell.a(strdata.o):(.rodata+0x798): undefined reference to `log2l'
libshell.a(strdata.o):(.rodata+0x7b0): undefined reference to `logbl'
libshell.a(strdata.o):(.rodata+0x7c8): undefined reference to `nearbyintl'
libshell.a(strdata.o):(.rodata+0x7e0): undefined reference to `nextafterl'
libshell.a(strdata.o):(.rodata+0x7f8): undefined reference to `nexttowardl'
libshell.a(strdata.o):(.rodata+0x810): undefined reference to `powl'
libshell.a(strdata.o):(.rodata+0x828): undefined reference to `remainderl'
libshell.a(strdata.o):(.rodata+0x840): undefined reference to `rintl'
libshell.a(strdata.o):(.rodata+0x858): undefined reference to `roundl'
libshell.a(strdata.o):(.rodata+0x870): undefined reference to `scalbl'
libshell.a(strdata.o):(.rodata+0x8b8): undefined reference to `sinl'
libshell.a(strdata.o):(.rodata+0x8d0): undefined reference to `sinhl'
libshell.a(strdata.o):(.rodata+0x8e8): undefined reference to `sqrtl'
libshell.a(strdata.o):(.rodata+0x900): undefined reference to `tanl'
libshell.a(strdata.o):(.rodata+0x918): undefined reference to `tanhl'
libshell.a(strdata.o):(.rodata+0x930): undefined reference to `tgammal'
libshell.a(strdata.o):(.rodata+0x948): undefined reference to `truncl'
libshell.a(strdata.o):(.rodata+0x960): undefined reference to `y0l'
libshell.a(strdata.o):(.rodata+0x978): undefined reference to `y1l'
libshell.a(strdata.o):(.rodata+0x990): undefined reference to `ynl'
dllplug.c:(.text+0xe1): undefined reference to `dlclose'
dllplug.c:(.text+0x1fe): undefined reference to `dlclose'
dlllook.c:(.text+0x1d): undefined reference to `dlsym'
dlllook.c:(.text+0x9f): undefined reference to `dlsym'
dllerror.c:(.text+0x41): undefined reference to `dlerror'
dllopen.c:(.text+0xe): undefined reference to `dlopen'
collect2: error: ld returned 1 exit status
mamake [cmd/ksh93]: *** exit code 1 making ksh
+ cc -O2 -I. -I/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/src/cmd/ksh93
-Iinclude -I/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/src/cmd/ksh93/include
-I/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/include/ast
-DSHOPT_BRACEPAT '-DSH_DICT="libshell"' '-D_API_ast=20121001'
-D_PACKAGE_ast '-DERROR_CONTEXT_T=Error_context_t' -DSHOPT_STATS
-DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_PFSH -DSHOPT_FIXEDARRAY
-DSHOPT_MULTIBYTE '-DUSAGE_LICENSE="[-author?David Korn
<dgk at research.att.com>][-copyright?Copyright (c) 1982-2013 AT&T
Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libshell]"'
-c /home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/src/cmd/ksh93/sh/shcomp.c
-- snip --
I'm still digging why this happens (it looks linking against libm.so
isn't done) ...
----
Bye,
Roland
--
__ . . __
(o.\ \/ /.o) roland.mainz at nrubsig.org
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL +49 641 3992797
(;O/ \/ \O;)
_______________________________________________
ast-developers mailing list
ast-developers at lists.research.att.com
http://lists.research.att.com/mailman/listinfo/ast-developers
-------------- next part --------------
A non-text attachment was scrubbed...
Name: buildpatch.patch
Type: text/x-patch
Size: 1895 bytes
Desc: not available
URL: <http://lists.research.att.com/pipermail/ast-developers/attachments/20130527/5bff20dd/attachment.bin>
Glenn Fowler
2013-05-28 04:58:57 UTC
Permalink
thanks Michal
the patch led me to the problem in src/cmd/INIT/MAPLIB.mk

background
Mamfile's are generated from nmake Makefile's as part of the packaging process
there's a bit of delayed black magic in that process to prevent
packaging host attributes from bleeding in to the Mamfiles and
thus interfering with build host attributes
This is a multi-part message in MIME format.
--------------030902080905000609020006
Content-Type: text/plain; charset=KOI8-R; format=flowed
Content-Transfer-Encoding: 7bit
Hi,
I can reproduce this too.
Post by Glenn Fowler
the chain of events is
$INSTALLROOT/src/cmd/INIT
generates m.req (for -lm refs)
installs m.req as $INSTALLROOT/lib/lib/m
m.req should contain
-lm
fails, it contains just "-"
Bug is in Mamfile, attached patch fixes this for me
Michal
Post by Glenn Fowler
$INSTALLROOT/src/lib/libast
generates ast.req (for -last refs)
installs ast.req as $INSTALLROOT/lib/lib/ast
ast.req should contain
-last -lm
$INSTALLROOT/src/cmd/ksh93
references -last
which should reference $INSTALLROOT/lib/lib/ast
Post by Roland Mainz
Post by Glenn Fowler
the AT&T Software Technology ast alpha 2013-05-24 source and binary release
has been posted to the download site
http://www.research.att.com/sw/download/alpha/
the package names and md5 checksums are
INIT ed29bc9017e7bed828b66977c474f3dc
ast-ksh ec93af891a10071d65afe581be31df30
the md5 sums should match the ones listed on the download page
if not then don't download
[snip]
-- snip --
+ cc -O2 -L. -L/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/lib
-o ksh pmain.o libshell.a
/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/lib/libdll.a
/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/lib/libast.a
/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/lib/libast.a
/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/lib/libcoshell.a
/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/lib/libast.a
/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/lib/libast.a
/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/lib/libcmd.a
-lutil /home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/lib/libast.a
-lutil /home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/lib/libast.a
/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/lib/libast.a
/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/lib/libast.a
streval.c:(.text+0x187b): undefined reference to `pow'
streval.c:(.text+0x1f6c): undefined reference to `floorl'
streval.c:(.text+0x1f7c): undefined reference to `floorl'
streval.c:(.text+0x1f8a): undefined reference to `floorl'
strdata.c:(.text+0x18): undefined reference to `__fpclassifyl'
strdata.c:(.text+0xd9): undefined reference to `__fpclassifyl'
strdata.c:(.text+0x100): undefined reference to `__fpclassifyl'
strdata.c:(.text+0x141): undefined reference to `__fpclassifyl'
libshell.a(strdata.o):(.rodata+0x2d0): undefined reference to `acosl'
libshell.a(strdata.o):(.rodata+0x2e8): undefined reference to `acoshl'
libshell.a(strdata.o):(.rodata+0x300): undefined reference to `asinl'
libshell.a(strdata.o):(.rodata+0x318): undefined reference to `asinhl'
libshell.a(strdata.o):(.rodata+0x330): undefined reference to `atanl'
libshell.a(strdata.o):(.rodata+0x348): undefined reference to `atan2l'
libshell.a(strdata.o):(.rodata+0x360): undefined reference to `atanhl'
libshell.a(strdata.o):(.rodata+0x378): undefined reference to `cbrtl'
libshell.a(strdata.o):(.rodata+0x390): undefined reference to `ceill'
libshell.a(strdata.o):(.rodata+0x3c0): undefined reference to `cosl'
libshell.a(strdata.o):(.rodata+0x3d8): undefined reference to `coshl'
libshell.a(strdata.o):(.rodata+0x3f0): undefined reference to `erfl'
libshell.a(strdata.o):(.rodata+0x408): undefined reference to `erfcl'
libshell.a(strdata.o):(.rodata+0x420): undefined reference to `expl'
libshell.a(strdata.o):(.rodata+0x438): undefined reference to `exp10l'
libshell.a(strdata.o):(.rodata+0x450): undefined reference to `exp2l'
libshell.a(strdata.o):(.rodata+0x468): undefined reference to `expm1l'
libshell.a(strdata.o):(.rodata+0x480): undefined reference to `fabsl'
libshell.a(strdata.o):(.rodata+0x498): undefined reference to `fabsl'
libshell.a(strdata.o):(.rodata+0x4b0): undefined reference to `fdiml'
libshell.a(strdata.o):(.rodata+0x4e0): undefined reference to `floorl'
libshell.a(strdata.o):(.rodata+0x4f8): undefined reference to `floorl'
libshell.a(strdata.o):(.rodata+0x510): undefined reference to `fmal'
libshell.a(strdata.o):(.rodata+0x528): undefined reference to `fmaxl'
libshell.a(strdata.o):(.rodata+0x540): undefined reference to `fminl'
libshell.a(strdata.o):(.rodata+0x558): undefined reference to `fmodl'
libshell.a(strdata.o):(.rodata+0x588): undefined reference to `hypotl'
libshell.a(strdata.o):(.rodata+0x5a0): undefined reference to `ilogbl'
libshell.a(strdata.o):(.rodata+0x6d8): undefined reference to `j0l'
libshell.a(strdata.o):(.rodata+0x6f0): undefined reference to `j1l'
libshell.a(strdata.o):(.rodata+0x708): undefined reference to `jnl'
libshell.a(strdata.o):(.rodata+0x738): undefined reference to `lgammal'
libshell.a(strdata.o):(.rodata+0x750): undefined reference to `logl'
libshell.a(strdata.o):(.rodata+0x768): undefined reference to `log10l'
libshell.a(strdata.o):(.rodata+0x780): undefined reference to `log1pl'
libshell.a(strdata.o):(.rodata+0x798): undefined reference to `log2l'
libshell.a(strdata.o):(.rodata+0x7b0): undefined reference to `logbl'
libshell.a(strdata.o):(.rodata+0x7c8): undefined reference to `nearbyintl'
libshell.a(strdata.o):(.rodata+0x7e0): undefined reference to `nextafterl'
libshell.a(strdata.o):(.rodata+0x7f8): undefined reference to `nexttowardl'
libshell.a(strdata.o):(.rodata+0x810): undefined reference to `powl'
libshell.a(strdata.o):(.rodata+0x828): undefined reference to `remainderl'
libshell.a(strdata.o):(.rodata+0x840): undefined reference to `rintl'
libshell.a(strdata.o):(.rodata+0x858): undefined reference to `roundl'
libshell.a(strdata.o):(.rodata+0x870): undefined reference to `scalbl'
libshell.a(strdata.o):(.rodata+0x8b8): undefined reference to `sinl'
libshell.a(strdata.o):(.rodata+0x8d0): undefined reference to `sinhl'
libshell.a(strdata.o):(.rodata+0x8e8): undefined reference to `sqrtl'
libshell.a(strdata.o):(.rodata+0x900): undefined reference to `tanl'
libshell.a(strdata.o):(.rodata+0x918): undefined reference to `tanhl'
libshell.a(strdata.o):(.rodata+0x930): undefined reference to `tgammal'
libshell.a(strdata.o):(.rodata+0x948): undefined reference to `truncl'
libshell.a(strdata.o):(.rodata+0x960): undefined reference to `y0l'
libshell.a(strdata.o):(.rodata+0x978): undefined reference to `y1l'
libshell.a(strdata.o):(.rodata+0x990): undefined reference to `ynl'
dllplug.c:(.text+0xe1): undefined reference to `dlclose'
dllplug.c:(.text+0x1fe): undefined reference to `dlclose'
dlllook.c:(.text+0x1d): undefined reference to `dlsym'
dlllook.c:(.text+0x9f): undefined reference to `dlsym'
dllerror.c:(.text+0x41): undefined reference to `dlerror'
dllopen.c:(.text+0xe): undefined reference to `dlopen'
collect2: error: ld returned 1 exit status
mamake [cmd/ksh93]: *** exit code 1 making ksh
+ cc -O2 -I. -I/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/src/cmd/ksh93
-Iinclude -I/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/src/cmd/ksh93/include
-I/home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/arch/linux.i386-64/include/ast
-DSHOPT_BRACEPAT '-DSH_DICT="libshell"' '-D_API_ast=20121001'
-D_PACKAGE_ast '-DERROR_CONTEXT_T=Error_context_t' -DSHOPT_STATS
-DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_PFSH -DSHOPT_FIXEDARRAY
-DSHOPT_MULTIBYTE '-DUSAGE_LICENSE="[-author?David Korn
<dgk at research.att.com>][-copyright?Copyright (c) 1982-2013 AT&T
Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libshell]"'
-c /home/test001/work/ast_ksh_20130524/build_i386_64bit_debug/src/cmd/ksh93/sh/shcomp.c
-- snip --
I'm still digging why this happens (it looks linking against libm.so
isn't done) ...
----
Bye,
Roland
--
__ . . __
(o.\ \/ /.o) roland.mainz at nrubsig.org
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL +49 641 3992797
(;O/ \/ \O;)
_______________________________________________
ast-developers mailing list
ast-developers at lists.research.att.com
http://lists.research.att.com/mailman/listinfo/ast-developers
--------------030902080905000609020006
Content-Type: text/x-patch;
name="buildpatch.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="buildpatch.patch"
diff -up ksh-20130524/src/cmd/INIT/Mamfile.fixit ksh-20130524/src/cmd/INIT/Mamfile
--- ksh-20130524/src/cmd/INIT/Mamfile.fixit 2013-05-27 13:34:25.141961510 +0200
+++ ksh-20130524/src/cmd/INIT/Mamfile 2013-05-27 13:47:54.092572975 +0200
@@ -1111,7 +1111,7 @@ exec - 0) break ;;
exec - esac
exec - src=$1
exec - obj=$2
-exec - if ${CC} -c $src
+exec - if ${CC} -c $src -o $obj
exec - then g=
exec - for p in dl -
exec - do case $p in
@@ -1148,7 +1148,7 @@ exec - 0) break ;;
exec - esac
exec - src=$1
exec - obj=$2
-exec - if ${CC} -c $src
+exec - if ${CC} -c $src -o $obj
exec - then g=
exec - for p in iconv -
exec - do case $p in
@@ -1187,7 +1187,7 @@ exec - 0) break ;;
exec - esac
exec - src=$1
exec - obj=$2
-exec - if ${CC} -c $src
+exec - if ${CC} -c $src -o $obj
exec - then g=
exec - for p in w -
exec - do case $p in
@@ -1224,7 +1224,7 @@ exec - 0) break ;;
exec - esac
exec - src=$1
exec - obj=$2
-exec - if ${CC} -c $src
+exec - if ${CC} -c $src -o $obj
exec - then g=
exec - for p in intl -
exec - do case $p in
@@ -1271,7 +1271,7 @@ exec - 0) break ;;
exec - esac
exec - src=$1
exec - obj=$2
-exec - if ${CC} -c $src
+exec - if ${CC} -c $src -o $obj
exec - then g=
exec - for p in m -
exec - do case $p in
@@ -1308,7 +1308,7 @@ exec - 0) break ;;
exec - esac
exec - src=$1
exec - obj=$2
-exec - if ${CC} -c $src
+exec - if ${CC} -c $src -o $obj
exec - then g=
exec - for p in nsl -
exec - do case $p in
@@ -1346,7 +1346,7 @@ exec - 0) break ;;
exec - esac
exec - src=$1
exec - obj=$2
-exec - if ${CC} -c $src
+exec - if ${CC} -c $src -o $obj
exec - then g=
exec - for p in socket -
exec - do case $p in
@@ -1393,7 +1393,7 @@ exec - 0) break ;;
exec - esac
exec - src=$1
exec - obj=$2
-exec - if ${CC} -c $src
+exec - if ${CC} -c $src -o $obj
exec - then g=
exec - for p in db - gdbm_compat - gdbm - ndbm - dbm -
exec - do case $p in
--------------030902080905000609020006--
Cedric Blancher
2013-05-24 17:55:50 UTC
Permalink
Post by Glenn Fowler
the AT&T Software Technology ast alpha 2013-05-24 source and binary release
has been posted to the download site
http://www.research.att.com/sw/download/alpha/
the package names and md5 checksums are
INIT ed29bc9017e7bed828b66977c474f3dc
ast-ksh ec93af891a10071d65afe581be31df30
the md5 sums should match the ones listed on the download page
if not then don't download
this alpha includes updated -last { aso cdt vmalloc }
which should be in much better shape in multi-threaded apps
these updates represent a flurry of activity surrounding the
retirement of long time ast colleague Phong Vo (moving on to google)
and making sure all of his latest stuff is properly merged into ast
since a lot of his code touches the heart of ast the merging is
a meticulous process and has taken up most of my ast time
the biggest effect w.r.t. the list has been to make note of but
not act on any non-ksh patches -- once the merge is done we'll start
looking at those patches (we've learned over the years that even the
smallest innocent patch has the ability to wreak havoc on a release --
debugging kpv merged code is hard enough -- adding in other changes
at the same time could tip the process into chaos)
the next ast-open alpha will be early next week
that will include updated -lvcodex and vczip
a corresponding uwin alpha will be about 2 weeks away
Using directory file descriptors to change the cwd doesn't work
anymore on Linux:
ksh -c 'redirect {n}</etc ; cd /dev/fd/$n ; ;'
/home/ced/bin/ksh: cd: /dev/fd/11: [Bad address]

Ced
--
Cedric Blancher <cedric.blancher at googlemail.com>
Institute Pasteur
Roland Mainz
2013-05-27 11:58:57 UTC
Permalink
On Fri, May 24, 2013 at 7:55 PM, Cedric Blancher
Post by Cedric Blancher
Post by Glenn Fowler
the AT&T Software Technology ast alpha 2013-05-24 source and binary release
has been posted to the download site
http://www.research.att.com/sw/download/alpha/
the package names and md5 checksums are
INIT ed29bc9017e7bed828b66977c474f3dc
ast-ksh ec93af891a10071d65afe581be31df30
the md5 sums should match the ones listed on the download page
if not then don't download
[snip]
Post by Cedric Blancher
Using directory file descriptors to change the cwd doesn't work
ksh -c 'redirect {n}</etc ; cd /dev/fd/$n ; ;'
/home/ced/bin/ksh: cd: /dev/fd/11: [Bad address]
I can reproduce the problem on SuSE 12.3 Linux /AMD64/64bit ... ;-(

----

Bye,
Roland
--
__ . . __
(o.\ \/ /.o) roland.mainz at nrubsig.org
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL +49 641 3992797
(;O/ \/ \O;)
Cedric Blancher
2013-06-19 15:52:28 UTC
Permalink
Post by Cedric Blancher
Post by Glenn Fowler
the AT&T Software Technology ast alpha 2013-05-24 source and binary release
has been posted to the download site
http://www.research.att.com/sw/download/alpha/
the package names and md5 checksums are
INIT ed29bc9017e7bed828b66977c474f3dc
ast-ksh ec93af891a10071d65afe581be31df30
the md5 sums should match the ones listed on the download page
if not then don't download
this alpha includes updated -last { aso cdt vmalloc }
which should be in much better shape in multi-threaded apps
these updates represent a flurry of activity surrounding the
retirement of long time ast colleague Phong Vo (moving on to google)
and making sure all of his latest stuff is properly merged into ast
since a lot of his code touches the heart of ast the merging is
a meticulous process and has taken up most of my ast time
the biggest effect w.r.t. the list has been to make note of but
not act on any non-ksh patches -- once the merge is done we'll start
looking at those patches (we've learned over the years that even the
smallest innocent patch has the ability to wreak havoc on a release --
debugging kpv merged code is hard enough -- adding in other changes
at the same time could tip the process into chaos)
the next ast-open alpha will be early next week
that will include updated -lvcodex and vczip
a corresponding uwin alpha will be about 2 weeks away
Using directory file descriptors to change the cwd doesn't work
ksh -c 'redirect {n}</etc ; cd /dev/fd/$n ; ;'
/home/ced/bin/ksh: cd: /dev/fd/11: [Bad address]
David, the bug report was the first about the problems with cd /dev/fd/$fd

Ced
--
Cedric Blancher <cedric.blancher at googlemail.com>
Institute Pasteur
Cedric Blancher
2013-05-27 19:13:30 UTC
Permalink
Post by Glenn Fowler
the AT&T Software Technology ast alpha 2013-05-24 source and binary release
has been posted to the download site
http://www.research.att.com/sw/download/alpha/
the package names and md5 checksums are
INIT ed29bc9017e7bed828b66977c474f3dc
ast-ksh ec93af891a10071d65afe581be31df30
the md5 sums should match the ones listed on the download page
if not then don't download
this alpha includes updated -last { aso cdt vmalloc }
which should be in much better shape in multi-threaded apps
these updates represent a flurry of activity surrounding the
retirement of long time ast colleague Phong Vo (moving on to google)
and making sure all of his latest stuff is properly merged into ast
since a lot of his code touches the heart of ast the merging is
a meticulous process and has taken up most of my ast time
the biggest effect w.r.t. the list has been to make note of but
not act on any non-ksh patches -- once the merge is done we'll start
looking at those patches (we've learned over the years that even the
smallest innocent patch has the ability to wreak havoc on a release --
debugging kpv merged code is hard enough -- adding in other changes
at the same time could tip the process into chaos)
the next ast-open alpha will be early next week
that will include updated -lvcodex and vczip
a corresponding uwin alpha will be about 2 weeks away
Is the update going to include the fma() function on UWIN?

Ced

---------- Forwarded message ----------
From: Cedric Blancher <cedric.blancher at googlemail.com>
Date: 2 April 2013 13:54
Subject: Re: [uwin-developers] Beginner and usability problems with uwin beta
To: ????? ???????????? <olga.kryzhanovska at gmail.com>,
uwin-developers at research.att.com
Post by Glenn Fowler
David and Glenn, I have collected some usability problems, from both
beginner, programmer and usability stand points, which might be nice
- Documentation needs a general update
- /usr/doc should not contain *.ico files
- /usr/doc should have sub directories, one per topic or application
- Intro manual page for each populated section, i.e. Intro(1) and
Intro(8), as POSIX requires, is missing
- man ksh does not work if only the base uwin package is installed
- man -b ksh prints warnings like man[148]: mktemp: not found [No such
file or directory]
- man vi does not work
- /usr/bin/vi does not have cursor keys, which work. This is
confusing, for the beginner. Cygwin does not have the same issue.
- Characters out side ASCII do not work, even on machines with extra
language packs installed. My test machine has Cyrillic installed but
still does not support Cyrillic characters. A read -N1 c ; print
character-number shows that ksh93 always operates in single-byte mode,
even if LC_ALL is set to en_US.UTF-8 or C.UTF-8
- The default editor mode of vi in uwin ksh93 is a pain, for
beginners. Please consider using gmacs like SUN did for Solaris 11 to
aid beginners. That should be set in /etc/ksh.kshrc
- There should be a reasonable PS1 prompt which displays $LOGNAME and
the last characters of the pwd, defined via /etc/ksh.kshrc
- ksh93 in uwin does not support /etc/ksh.kshrc
- There is no alternative to vi, like emacs, installed. If vi is
busted, there is no way to recover
- No default version control management is available in the base
package, neither svn, my preference, or git
- A lot of the utilities, like getent and pagesize, used by autoconf
or other auto build and config systems, are missing
- shcomp is missing
- newgrp is missing, to switch the primary group of a process
Olga, thanks for compiling the list of issues.

Here's my take on urgent problems:
- grep is not available as shell builtin
- poll is not available as shell builtin
- ksh93 does not support the fma() (fused multiply add) math function
in (( ... ))
- Code page in Windows console does not default to UTF-8
- The uwin beta can not be uninstalled using Control Panel->Add or
Remove Programs in Windows NT, XP and 7
- That Windows console cursor keys are not supported by vi is a pest
- Windows console uses vt100 as default terminal. Can this be updated
to vt220 or is that not possible? Cygwin uses its own terminal type
TERM="cygwin" which is near vt220

* If the Windows console problems (UTF-8, cursor keys!!!!) are to hard
to fix, could you ship
http://www.chiark.greenend.org.uk/~sgtatham/putty/ (MIT licensed!!)?

Ced
--
Cedric Blancher <cedric.blancher at googlemail.com>
Institute Pasteur
--
Cedric Blancher <cedric.blancher at googlemail.com>
Institute Pasteur
Loading...