Niels,

You can find AIX 7.1 builds here: http://v8ppc.osuosl.org:8080/ - but these
won't work as it under the PACE environment which is targeted at AIX 6.1.

I do know that "some" of the code has been made to work by someone working
against our source repository on github. IBM doesn't yet have an easy to
download version for IBM iSeries - but as my job is to bring Node.js and V8
to IBM Platforms, my plan is to achieve exactly that.

If you want to take a shot and getting it going yourself, I'd be happy to
accept issues logged against the github projects

https://github.com/andrewlow/v8ppc
https://github.com/andrewlow/node

as you discover / resolve issues. I'll make a few suggestions here to start
anyone off who wants to tackle this task

1) You probably want a recent version of GCC (like: 4.8.2)
2) v8ppc/src/platform-aix.cc  may need some tweaks for mprotect

Specifically..

replace

 if (mprotect(base, size, prot) == -1) return false;


with


  if (mprotect(base, size, prot) == -1) {


    perror("mprotect");

    return false;

  }


and


void* reservation = mmap(OS::GetRandomMmapAddr(),

                         request_size,

                         PROT_NONE,

                         MAP_PRIVATE | MAP_ANONYMOUS,

                         kMmapFd,

                         kMmapFdOffset);


the mprotect with PROT_READ|PROT_WRITE will fail.


Change the PROT_NONE to *PROT_READ | PROT_WRITE*

On Fri, Mar 21, 2014 at 4:26 AM, Niels Liisberg <[email protected]>wrote:

> Hi Andrew,
>
> Why haven't I found you before :) This is what I have been waiting for in
> years...
>
> Have you also made it for the PASE environment on the IBMi?
>
> Regards
>
> Niels
>
>
>
>
>  --
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
>
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "nodejs" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/nodejs/ivGMr-C_m1Y/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to