On Mon, Jun 17, 2013 at 6:42 PM, Glenn Fowler <[email protected]> wrote:
> On Mon, 17 Jun 2013 17:22:29 +0200 Roland Mainz wrote:
>> Small (?!) bug:
>> On SuSE 12.3/AMD64/64bit build ksh93's "getconf" builtins reports a
>> 64bit HOSTTYPE:
>> -- snip --
>> $ file ./arch/linux.i386/bin/ksh
>> ./arch/linux.i386/bin/ksh: ELF 32-bit LSB executable, Intel 80386,
>> version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux
>> 2.6.16, BuildID[sha1]=0xa537902b7b89da7cf44601f3fa5262009a8ed689, not
>> stripped
>> $ ./arch/linux.i386/bin/ksh -c 'builtin getconf ; getconf HOSTTYPE'
>> linux.i386-64
>> -- snip --
>
> I found a problem in bin/package host type than may be releated
> that fix will be in the next ast-ksh alpha which should be out later today
> thanks

It looks this is still broken in ast-ksh.2013-06-28:
-- snip --
$ (export PATH="/usr/ast/bin:$PATH" HOSTTYPE="linux.i386"
SHELL=~/bin/ksh CC='/usr/bin/gcc -m32' ; time $SHELL ./bin/package
make HOSTTYPE="$HOSTTYPE") 2>&1 | tee -a buildlog.log
$ ./arch/linux.i386/bin/ksh -c 'getconf HOSTTYPE'
linux.i386-64
-- snip --

... it should print "linux.i386" for a 32bit build...

----

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

Reply via email to