--
--
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 nod...@googlegroups.com
To unsubscribe from this group, send email to
nodejs+un...@googlegroups.com
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 nodejs+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
On Sep 3, 2013, at 14:53, Andrew Low wrote:
> If you're G4 Powerbook is running Linux - I think you _are_ the target market :)
>
> If your question was about getting a version running under OSX (on PowerPC) that may require a bunch of code changes. If you want to try, you're certainly welcome to go for it.
What "bunch of code changes" are you thinking of? node and v8 already compile fine on OS X on Intel.
One roadblock I see is that PowerPC Macs can't run Mac OS X 10.6 or later, and last I checked node did not compile on 10.5 or earlier. So someone wanting node to run on a PowerPC Mac could begin by figuring out why node doesn't compile on 10.5 on Intel and fixing that. It used to work a year or more ago but broke at some point.
If you're G4 Powerbook is running Linux - I think you _are_ the target market :)If your question was about getting a version running under OSX (on PowerPC) that may require a bunch of code changes. If you want to try, you're certainly welcome to go for it.
We've also managed to convince the code to (mostly) compile/run on AIX. So it's pretty flexible.
--
--
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 nod...@googlegroups.com
To unsubscribe from this group, send email to
nodejs+un...@googlegroups.com
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 nodejs+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
LD_SHOW_AUXV=1 /bin/true
Thanks
Mike
This is the same problem as https://github.com/andrewlow/v8ppc/issues/97
The G4 processor lacks some of the machine instructions the code uses. If you look we've already fixed the G5 that also has a few missing, but not as many as the G4.
If you want to help please coordinate via the issue. It might be a bit slow as we're in the holiday season.
--
--
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 nod...@googlegroups.com
To unsubscribe from this group, send email to
nodejs+un...@googlegroups.com
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 nodejs+un...@googlegroups.com.
make -C out BUILDTYPE=Release V=1
make[1]: Entering directory `/volume1/public/node/out'
cc '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D_GNU_SOURCE' '-DHAVE_CONFIG_H' '-DCARES_STATICLIB' -I../deps/cares/include -I../deps/cares/src -I../deps/cares/config/linux -Wall -Wextra -Wno-unused-parameter -pthread -m32 -g --std=gnu89 -pedantic -Wall -Wextra -Wno-unused-parameter -O2 -fno-strict-aliasing -fno-tree-sink -MMD -MF /volume1/public/node/out/Release/.deps//volume1/public/node/out/Release/obj.target/cares/deps/cares/src/ares_cancel.o.d.raw -c -o /volume1/public/node/out/Release/obj.target/cares/deps/cares/src/ares_cancel.o ../deps/cares/src/ares_cancel.c
cc1: error: unrecognized command line option "-fno-tree-sink"
make[1]: *** [/volume1/public/node/out/Release/obj.target/cares/deps/cares/src/ares_cancel.o] Error 1
make[1]: Leaving directory `/volume1/public/node/out'
make: *** [node] Error 2
I'm not very familiar with linux and I would be happy if you could help me.
Thanks
Alex
--
mcmini v8ppc # uname -a
Linux mcmini 3.10.25-gentoo #1 Sun Jan 19 13:33:29 EST 2014 ppc 7447A, altivec supported PowerMac10,1 GNU/Linux
mcmini v8ppc # cat /proc/cpuinfo
processor : 0
cpu : 7447A, altivec supported
clock : 1249.999995MHz
revision : 1.2 (pvr 8003 0102)
bogomips : 83.24
timebase : 41620997
platform : PowerMac
model : PowerMac10,1
machine : PowerMac10,1
motherboard : PowerMac10,1 MacRISC3 Power Macintosh
detected as : 287 (Mac mini)
pmac flags : 00000010
L2 cache : 512K unified
pmac-generation : NewWorld
Memory : 512 MB
mcmini v8ppc # gdb out/ppc.debug/d8
GNU gdb (Gentoo 7.5.1 p2) 7.5.1
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "powerpc-unknown-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Reading symbols from /var/tmp/v8ppc/out/ppc.debug/d8...done.
(gdb) r --test --stress-opt --always-opt --nobreak-on-abort --nodead-code-elimination ./test/mjsunit/mjsunit.js ./test/mjsunit/regress/regress-2185-2.js
Starting program: /var/tmp/v8ppc/out/ppc.debug/d8 --test --stress-opt --always-opt --nobreak-on-abort --nodead-code-elimination ./test/mjsunit/mjsunit.js ./test/mjsunit/regress/regress-2185-2.js
warning: Could not load shared library symbols for linux-vdso32.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
============ Stress 1/2 ============
[New Thread 0x4882a480 (LWP 5107)]
Program received signal SIGILL, Illegal instruction.
0x54943298 in ?? ()
(gdb) bt
#0 0x54943298 in ?? ()
#1 0x54942d14 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) x/20i $pc-16
0x54943288: stw r0,0(r1)
0x5494328c: stw r10,4(r1)
0x54943290: lfd f6,0(r1)
0x54943294: addi r1,r1,8
=> 0x54943298: .long 0xfcc0369c
0x5494329c: fcmpu cr7,f7,f6
0x549432a0: bso- cr7,0x549432c4
0x549432a4: beq- cr7,0x549432b4
0x549432a8: blt- cr7,0x549432bc
0x549432ac: li r3,1
0x549432b0: blr
0x549432b4: li r3,0
0x549432b8: blr
0x549432bc: li r3,-1
0x549432c0: blr
0x549432c4: li r3,-1
0x549432c8: blr
0x549432cc: lwz r6,-1(r3)
0x549432d0: lbz r5,7(r6)
0x549432d4: cmpwi cr7,r5,132
(gdb) i r
r0 0x0 0
r1 0xbfffe93c 3221219644
r2 0x48030820 1208158240
r3 0x0 0
r4 0x3f714421 1064387617
r5 0x0 0
r6 0x0 0
r7 0x84 132
r8 0x0 0
r9 0x549433c1 1418998721
r10 0x0 0
r11 0xbfffe8e8 3221219560
r12 0x10020744 268568388
r13 0x100261c4 268591556
r14 0xc 12
r15 0xfb05554 263214420
r16 0xbfffe918 3221219608
r17 0x0 0
r18 0x0 0
r19 0x0 0
r20 0x5342a709 1396877065
r21 0x1001f044 268562500
r22 0x53408091 1396736145
r23 0x0 0
r24 0x0 0
r25 0x0 0
r26 0x0 0
r27 0x480206d0 1208092368
r28 0xbfffeaac 3221220012
r29 0xbfffeab0 3221220016
r30 0xffe1b78 268311416
r31 0xbfffe944 3221219652
pc 0x54943298 0x54943298
msr 0x8d932 579890
cr 0x28000422 671089698
lr 0x54942d14 0x54942d14
ctr 0x549431e0 1418998240
xer 0x0 0
orig_r3 0x1006f000 268890112
trap 0x700 1792
(gdb)
You are hitting a known issue. Please see https://github.com/andrewlow/v8ppc/issues/97
The G4 is an old processor that doesn't support all the instructions we're using.
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
--
--
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 nod...@googlegroups.com
To unsubscribe from this group, send email to
nodejs+un...@googlegroups.com
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 nodejs+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.