Skip to content
This repository was archived by the owner on Dec 1, 2020. It is now read-only.
This repository was archived by the owner on Dec 1, 2020. It is now read-only.

Build for android arm64 error #34

Description

@YanKawaYu

I'm trying to build Spidermonkey for android arm64. Here is what I added to build.sh in directory 'build-android':

TOOLS_ARCH=arm-linux-androideabi
TARGET_NAME=arm-linux-androideabi
CPU_ARCH=armv8-a
RELEASE_ARCH_DIR=arm64-v8a
GCC_VERSION=4.9
TOOLNAME_PREFIX=arm-linux-androideabi
build_with_arch

But somehow I got an error below:

/opt/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld: error: /var/folders/r2/lwdsvm0s1wbcd_hvk_n970080000gn/T//ccYDd7hQ.o: unknown CPU architecture
collect2: error: ld returned 1 exit status
configure: failed program was:

line 8916 "configure"

include "confdefs.h"

include

int main() {
int *foo = new int;
; return 0; }

Is there any place that I wrote wrong? Thank you very much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions