Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* awk on Jensen....one more try.
@ 1999-10-30  6:27 Rajiv Dighe
       [not found] ` <199910301828.MAA07999@ellpspace.math.ualberta.ca>
  0 siblings, 1 reply; 2+ messages in thread
From: Rajiv Dighe @ 1999-10-30  6:27 UTC (permalink / raw)
  To: axp-list

Some one please help me confirm this..I can make an ass of 
myself only so many times :(

using files from test directory that comes with gawk source, launch 
gawk as..
[gawk-3.0.4]$ ./gawk -f test/swaplns.awk swaplns.in
at this stage gawk is trying to execute floor(1.0)
backtrace taken from gdb looks approximately like this....

__floor()
double_to_int() <-- builtin.c
format_val() <-- node.c
r_force_string() <-- node.c
.
.
.
main()

I have no clue why it would get stuck in floor function. __floor is 
implemented in inline assembly & my knowledge of alpha 
assembly is zilch. 

--Rajiv



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: awk on Jensen....one more try.
       [not found] ` <199910301828.MAA07999@ellpspace.math.ualberta.ca>
@ 1999-10-30 20:35   ` Rajiv Dighe
  0 siblings, 0 replies; 2+ messages in thread
From: Rajiv Dighe @ 1999-10-30 20:35 UTC (permalink / raw)
  To: Michal Jaegermann; +Cc: axp-list

Fellow Jenseners,

    I have managed to get gawk working on my jensen by following 
these steps. Again, I don't yet know why it was not working. All I 
have managed to do is find out a workaround.
1. make sure you have Compaq linux compiler for alpha(ccc) 
installed and more importantly libcpml.
2. after running configure, edit top level Makefile by hand to do 
following changes..
   a. change CC options from '-g -O2' to '-g -O0' ( i.e. disable 
optimizations.
   b. also edit Makefile to use libcpml instead of libm( -lcpml 
instead of -lm )
3. fire off 'make'

After this 'make test' should work perfectly fine on your Jensen. I 
am doing 'make menuconfig' on the kernel source as I am writing 
this..life is good ;)

--Rajiv

On 30 Oct 99, at 12:28, Michal Jaegermann wrote:

> > 
> > Some one please help me confirm this..I can make an ass of 
> > myself only so many times :(
> 
> I do not happen to have Jensen around nor precisely your version of gawk
> (3.0.3 and some test versions) but I do not see any problems with this
> example you are trying to run.
> 
> > 
> > [gawk-3.0.4]$ ./gawk -f test/swaplns.awk swaplns.in
> > at this stage gawk is trying to execute floor(1.0)
> ...
> > 
> > I have no clue why it would get stuck in floor function.
> 
> Did you try to reproduce this hang on some very simple program
> using just floor(); without all this gawk machinery around?
> Maybe you just uncovered a bug with floor on Jensen?  Although
> it is a bit strange that nobody reported something of that sort
> up to now.
> 
> BTW - did you try to recompile gawk on your box?  One of targets
> there is 'make test'.
> 
>    Michal



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-10-30 20:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-10-30  6:27 awk on Jensen....one more try Rajiv Dighe
     [not found] ` <199910301828.MAA07999@ellpspace.math.ualberta.ca>
1999-10-30 20:35   ` Rajiv Dighe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox