help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building any recent 3.X version on AIX 5.3 or above


From: scunacc
Subject: Re: Building any recent 3.X version on AIX 5.3 or above
Date: Sun, 11 Mar 2012 08:14:16 -0700 (PDT)

Hi all,

I managed to get 3.0.5 (and only that version after about 16 attempts !)
compiled - had to tweak some of the source code to remove some static inline
refs that xlC was not happy with and hardcoded a few isnan sequences because
of what looked like an inability to handle a nested :? piece. But, when it
has finished compiling, the tests do not run.

I can do a truss on octave and it hangs after sourcing /dev/urandom.

Like so:

....

10748276: 29819385: __loadx(0x0A040000, 0xD042F57C, 0x0000008A, 0x302AE37C,
0x30000155) = 0x00000000
10748276: 29819385: sbrk(0x00000000)                    = 0x30389D3C
10748276: 29819385: vmgetinfo(0x2FF20FC0, 7, 16)                = 0
10748276: 29819385: sbrk(0x00000000)                    = 0x30389D3C
10748276: 29819385: sbrk(0x00000004)                    = 0x30389D3C
10748276: 29819385: __libc_sbrk(0x00000000)             = 0x30389D40
10748276: 29819385: loadquery(2, 0x30389D68, 0x00001000)        = 0
10748276: 29819385: __loadx(0x0A040000, 0xF0697ED4, 0x00000000, 0x00000000,
0x00000000) = 0xF0644F64
10748276: 29819385: kfcntl(0, F_GETFL, 0x00000000)      = 67108866
10748276: 29819385: kfcntl(1, F_GETFL, 0x00000000)      = 67108866
10748276: 29819385: kfcntl(2, F_GETFL, 0x00000000)      = 67108866
10748276: 29819385: kfcntl(2, F_GETFL, 0x00000000)      = 67108866
10748276: 29819385: kopen("/dev/urandom", O_RDONLY)     = 3
10748276: 29819385: kioctl(3, 22528, 0x00000000, 0x00000000) = 0
10748276: 29819385: kioctl(3, 22528, 0x00000000, 0x00000000) = 0
10748276: 29819385: kread(3, " 9 � � � � < � �18 � �17".., 4096) = 4096
10748276: 29819385: close(3)                            = 0
^CPstatus: process is not stopped

Had to ^C it there as you see.

I've tried doing an strace on a Linux box of the octave that's working
there, and it does an mprotect after the reading of urandom and continues on
to getting limits and doing a uname.

Any thoughts as to why it would hang on AIX?

Kind regards

Derek.


--
View this message in context: 
http://octave.1599824.n4.nabble.com/Building-any-recent-3-X-version-on-AIX-5-3-or-above-tp4462791p4464023.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]