Mine plan to build 64 bit android

388 views
Skip to first unread message

Gyurmo

unread,
Oct 6, 2013, 5:54:42 AM10/6/13
to andro...@googlegroups.com
Hello
I'm interested, can I build 64 bit android for my pc? I have 8 GB ram in AMD64 PC. I like linux, I seen linux running well in android. So do you thing can I build 64bit android?
How can I do? I think I need build android from repo and build a kernel with 64 bit?

I started, but I got an error: 
Have you any idea, how can I solve it?

Thanks, Gyu..

Error:
# make -j4 iso_img TARGET_PRODUCT=android_x86
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.3
TARGET_PRODUCT=android_x86
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=x86
TARGET_ARCH_VARIANT=x86
TARGET_CPU_VARIANT=
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.11.3-1-ARCH-x86_64-with-arch
HOST_BUILD_TYPE=release
BUILD_ID=JLS36G
OUT_DIR=out
============================================
  File "build/tools/findleaves.py", line 95
    print r
          ^
SyntaxError: invalid syntax
Checking build tools versions...
  File "build/tools/findleaves.py", line 95
    print r
          ^
SyntaxError: invalid syntax
make: *** No rule to make target `iso_img'.  Stop.

Steve Jones

unread,
Oct 6, 2013, 8:25:20 PM10/6/13
to andro...@googlegroups.com
We've already done it mate ;) 

You can't build a 64 bit user space ( yet! ) but a 64bit kernel with IA-32 support and "the binder patch" will at least give you access to your full memory address range should it be > 4GB 
Half the patches are in the AOSP for 64bit userspace although that doesn't compile yet so there is still some work to do.

Your Error looks like a python issue have you got the correct versions? it might be worth resync the build directory!

Gyurmo

unread,
Dec 29, 2013, 8:06:10 AM12/29/13
to andro...@googlegroups.com

Hello,


I guess I was could solve the problem in python. python2 turn for me. I use the python2-virtualenv.

I still thinking about how I can create a working android for pc? I want to see all 8 GB. So it will be 64-bit, right? I tried to translate the 4.4 . Posted out a mistake. Do you know somebody that succeeded? The 4.3 also wrote out error. Different. I wonder if there is enough for me, if only to compile a kernel? The android 3.4, where that you have compiled. But what's the difference if I compile from source? Is it worth it for me?

How do I get started to compile the kernel? I have a working Arch Linux for many years.

The Documentation/android.txt  on the http://www.android-x86.org/documents/customizekernel page is a link that will help you to change the settings in the linux kernel to run Android on it? But the link is dead.

I am waiting for help. Or who have succeeded to compile? What state of the project, can be used?

One more thing. Can be used the compiler without the lunch software? For now I can not go for me.

Thanks in advance for your answers.

Gyurmo

unread,
Jan 1, 2014, 7:15:53 PM1/1/14
to andro...@googlegroups.com

These errors I got.

What can I do?

Who could build own for PC?


4.4


target  C++: libLLVMAsmParser <= external/llvm/lib/AsmParser/Parser.cpp

In file included from external/llvm/include/llvm/IR/Instructions.h:27:0,

                from external/llvm/lib/AsmParser/LLParser.h:21,

                from external/llvm/lib/AsmParser/Parser.cpp:15:

external/llvm/include/llvm/Support/IntegersSubsetMapping.h:89:5: internal compiler error: Segmentation fault

Please submit a full bug report,

with preprocessed source if appropriate.

See <http://source.android.com/source/report-bugs.html> for instructions.

make-3.81: *** [out/target/product/x86/obj/STATIC_LIBRARIES/libLLVMAsmParser_intermediates/Parser.o] Error 1

make-3.81: *** Waiting for unfinished jobs....



4.3


target  C: libdrm_intel <= external/drm/intel/intel_bufmgr_gem.c

Traceback (most recent call last):

 File "external/mesa/src/mapi/mapi_abi.py", line 36, in <module>

   import gl_XML

 File "./external/mesa/src/mapi/glapi/gen/gl_XML.py", line 29, in <module>

   import libxml2

ImportError: No module named libxml2

make-3.81: *** [out/target/product/x86/obj/SHARED_LIBRARIES/libglapi_intermediates/shared-glapi/glapi_mapi_tmp.h] Error 1

make-3.81: *** Deleting file `out/target/product/x86/obj/SHARED_LIBRARIES/libglapi_intermediates/shared-glapi/glapi_mapi_tmp.h'

make-3.81: *** Waiting for unfinished jobs....

rm out/target/product/x86/obj/STATIC_LIBRARIES/libmesa_dri_common_intermediates/xmlpool/sv.po out/target/product/x86/obj/STATIC_LIBRARIES/libmesa_dri_common_intermediates/xmlpool/fr.po out/target/product/x86/obj/STATIC_LIBRARIES/libmesa_dri_common_intermediates/xmlpool/es.po out/target/product/x86/obj/STATIC_LIBRARIES/libmesa_dri_common_intermediates/xmlpool/de.po out/target/product/x86/obj/STATIC_LIBRARIES/libmesa_dri_common_intermediates/xmlpool/nl.po


Reply all
Reply to author
Forward
0 new messages