Glenn, thank you.

I tried a 32bit debug build on Solaris SPARC but it loops forever in
nmake --nroff in the new cas32 instructions:
+ /bin/cp nmake
/home/fleyta/ksh_20120202/build_sparc_32bit_debug/arch/sol11.sun4/bin/nmake
+ sed -e /itself/r nmake.1.body -e /fBsh/r nmake.1.tail
+ nmake --nroff
+ 2>& 1
+ 1> nmake.1
Peeking with truss into the code stream shows the endless cas loop:
/1@1:             -> nmake:asocas32(0x1efb78, 0x0, 0x1, 0x0)
/1@1:               -> nmake:cas32(0x1efb78, 0x0, 0x1, 0x0)
/1@1:               <- nmake:cas32() = 0xfe970a90
/1@1:             <- nmake:asocas32() = 0xfe970a90
/1@1:             -> nmake:asocas32(0x1efb78, 0x0, 0x1, 0x0)
/1@1:               -> nmake:cas32(0x1efb78, 0x0, 0x1, 0x0)
/1@1:               <- nmake:cas32() = 0xfe970a90
/1@1:             <- nmake:asocas32() = 0xfe970a90
/1@1:             -> nmake:asocas32(0x1efb78, 0x0, 0x1, 0x0)
/1@1:               -> nmake:cas32(0x1efb78, 0x0, 0x1, 0x0)
/1@1:               <- nmake:cas32() = 0xfe970a90
/1@1:             <- nmake:asocas32() = 0xfe970a90
/1@1:             -> nmake:asocas32(0x1efb78, 0x0, 0x1, 0x0)
/1@1:               -> nmake:cas32(0x1efb78, 0x0, 0x1, 0x0)
/1@1:               <- nmake:cas32() = 0xfe970a90
/1@1:             <- nmake:asocas32() = 0xfe970a90
/1@1:             -> nmake:asocas32(0x1efb78, 0x0, 0x1, 0x0)
/1@1:               -> nmake:cas32(0x1efb78, 0x0, 0x1, 0x0)
/1@1:               <- nmake:cas32() = 0xfe970a90
/1@1:             <- nmake:asocas32() = 0xfe970a90
/1@1:             -> nmake:asocas32(0x1efb78, 0x0, 0x1, 0x0)
/1@1:               -> nmake:cas32(0x1efb78, 0x0, 0x1, 0x0)
/1@1:               <- nmake:cas32() = 0xfe970a90
/1@1:             <- nmake:asocas32() = 0xfe970a90
/1@1:             -> nmake:asocas32(0x1efb78, 0x0, 0x1, 0x0)
/1@1:               -> nmake:cas32(0x1efb78, 0x0, 0x1, 0x0)
/1@1:               <- nmake:cas32() = 0xfe970a90
/1@1:             <- nmake:asocas32() = 0xfe970a90
/1@1:             -> nmake:asocas32(0x1efb78, 0x0, 0x1, 0x0)
/1@1:               -> nmake:cas32(0x1efb78, 0x0, 0x1, 0x0)
/1@1:               <- nmake:cas32() = 0xfe970a90
/1@1:             <- nmake:asocas32() = 0xfe970a90
/1@1:             -> nmake:asocas32(0x1efb78, 0x0, 0x1, 0x0)
/1@1:               -> nmake:cas32(0x1efb78, 0x0, 0x1, 0x0)
/1@1:               <- nmake:cas32() = 0xfe970a90
/1@1:             <- nmake:asocas32() = 0xfe970a90
/1@1:             -> nmake:asocas32(0x1efb78, 0x0, 0x1, 0x0)
/1@1:               -> nmake:cas32(0x1efb78, 0x0, 0x1, 0x0)
/1@1:               <- nmake:cas32() = 0xfe970a90
/1@1:             <- nmake:asocas32() = 0xfe970a90
/1@1:             -> nmake:asocas32(0x1efb78, 0x0, 0x1, 0x0)
/1@1:               -> nmake:cas32(0x1efb78, 0x0, 0x1, 0x0)
/1@1:               <- nmake:cas32() = 0xfe970a90
/1@1:             <- nmake:asocas32() = 0xfe970a90
/1@1:             -> nmake:asocas32(0x1efb78, 0x0, 0x1, 0x0)
/1@1:               -> nmake:cas32(0x1efb78, 0x0, 0x1, 0x0)
/1@1:               <- nmake:cas32() = 0xfe970a90
/1@1:             <- nmake:asocas32() = 0xfe970a90
/1@1:             -> nmake:asocas32(0x1efb78, 0x0, 0x1, 0x0)
/1@1:               -> nmake:cas32(0x1efb78, 0x0, 0x1, 0x0)
/1@1:               <- nmake:cas32() = 0xfe970a90
/1@1:             <- nmake:asocas32() = 0xfe970a90
/1@1:             -> nmake:asocas32(0x1efb78, 0x0, 0x1, 0x0)
/1@1:               -> nmake:cas32(0x1efb78, 0x0, 0x1, 0x0)
^C

Olga

On Tue, Feb 14, 2012 at 12:41 PM, Glenn Fowler <[email protected]> wrote:
>
> this was fixed last week and will be posted today
>
> On Tue, 14 Feb 2012 12:34:07 +0100 =?KOI8-R?B?z8zYx8Egy9LZ1sHOz9fTy8HR?= 
> wrote:
>> I can not compile ast-open either because nmake crashes in my 64bit build:
>
>> program terminated by signal SEGV (no mapping at the fault address)
>> 0x0000000100032a38: metamatch+0x0078:   ldsb     [%g5 + 1], %i5
>> (dbx) where
>> =>[1] metamatch(0x0, 0xffffffff7eb02512, 0xffffffff7e719951, 0x0,
>> 0x6c, 0x1e07b4), at 0x100032a38
>



-- 
      ,   _                                    _   ,
     { \/`o;====-    Olga Kryzhanovska   -====;o`\/ }
.----'-/`-/     [email protected]   \-`\-'----.
 `'-..-| /       http://twitter.com/fleyta     \ |-..-'`
      /\/\     Solaris/BSD//C/C++ programmer   /\/\
      `--`                                      `--`
_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers

Reply via email to