Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Illegal Instruction On PPC e500mc CPU Compile #118

Open
ctassell opened this issue Sep 12, 2014 · 1 comment
Open

Illegal Instruction On PPC e500mc CPU Compile #118

ctassell opened this issue Sep 12, 2014 · 1 comment

Comments

@ctassell
Copy link

Hello,

I'm trying to compile the master branch on a machine with an e500mc CPU, but I get the following error:
$ make ppc
make[1]: Entering directory /home/fsiot/v8ppc/out' ACTION tools_gyp_v8_gyp_v8_snapshot_target_run_mksnapshot /home/fsiot/v8ppc/out/ppc.release/obj.target/v8_snapshot/geni/snapshot.cc Illegal instruction make[1]: *** [/home/fsiot/v8ppc/out/ppc.release/obj.target/v8_snapshot/geni/snapshot.cc] Error 132 make[1]: Leaving directory/home/fsiot/v8ppc/out'
make: *** [ppc.release] Error 2

Any ideas as to what is wrong? Here is a bit more detail on the CPU:
$ LD_SHOW_AUXV=1 /bin/true
AT_DCACHEBSIZE: 0x40
AT_ICACHEBSIZE: 0x40
AT_UCACHEBSIZE: 0x0
AT_SYSINFO_EHDR: 0x100000
AT_HWCAP: booke mmu fpu ppc32
AT_PAGESZ: 4096
AT_CLKTCK: 100
AT_PHDR: 0x10000034
AT_PHENT: 32
AT_PHNUM: 8
AT_BASE: 0xb7b58000
AT_FLAGS: 0x0
AT_ENTRY: 0x10000c5c
AT_UID: 1001
AT_EUID: 1001
AT_GID: 1001
AT_EGID: 1001
AT_SECURE: 0
AT_RANDOM: 0xbfb8ba7c
AT_HWCAP2: isel
AT_EXECFN: /bin/true
AT_PLATFORM: ppce500mc
AT_BASE_PLATFORM:ppce500mc

@andrewlow
Copy link
Collaborator

Sorry, this got lost in the shuffle - thus the delayed reply.

This is effectively a duplicate of issue #99 and issue #100.

Unless you're a skilled and motivated developer who can write assembly, you'll be out of luck for now.

Personally I'd like to see these freescale CPUs go, but V8 makes use of FPU instructions which on these processors are different enough that the code won't work without significant changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants