Mac OS building rescue group

152 views
Skip to first unread message

Gianluca Mezzetti

unread,
May 8, 2014, 4:51:13 AM5/8/14
to android-...@googlegroups.com
In my intentions, this thread aims to collect some of the (bad or good) experiences building Android on Mac OS.
I hope that this could attract some kind developers from "inside" that can help us.


  • Master (today 09:00 UTC)
    • On Maverick 10.9.2
      • With Latest XCode
        • aosp_x86
          • collect2: ld returned 1 exit status
          • collect2: ld returned 1 exit status
          • make: *** [out/host/darwin-x86/obj/lib/lib64GLES_V2_translator.dylib] Error 1
          • make: *** Waiting for unfinished jobs....
          • make: *** [out/host/darwin-x86/obj/lib/lib64GLES_CM_translator.dylib] Error 1
          • ld: warning: -read_only_relocs cannot be used with x86_64
          • ld: in 'out/host/darwin-x86/obj/lib/libcompiler_rt.dylib', file was built for i386 which is not the architecture being linked (x86_64): out/host/darwin-x86/obj/lib/libcompiler_rt.dylib for architecture x86_64
          • collect2: ld returned 1 exit status
          • make: *** [out/host/darwin-x86/obj/lib/lib64EGL_translator.dylib] Error 1
          • Note: Some input files use or override a deprecated API.
          • Note: Recompile with -Xlint:deprecation for details.
          • Note: Some input files use unchecked or unsafe operations.
          • Note: Recompile with -Xlint:unchecked for details.

Gianluca Mezzetti

unread,
May 8, 2014, 5:52:32 PM5/8/14
to android-...@googlegroups.com
  • Master
    • Maverick
      • Latest XCode
        • aosp_x86_69-eng
          • bionic/libc/bionic/fpclassify.cpp: In function 'int __isnormall(long double)':
            bionic/libc/bionic/fpclassify.cpp:129:22: error: '((short unsigned int*)&u)[7]' is used uninitialized in this function [-Werror=uninitialized]
               if (u.bits.ext_exp == 0) {
                                  ^
            bionic/libc/bionic/fpclassify.cpp:127:17: note: 'u' was declared here
               long_double_u u;
                             ^
            cc1plus: all warnings being treated as errors
            make: *** [out/target/product/generic_x86_64/obj/STATIC_LIBRARIES/libc_bionic_intermediates/bionic/fpclassify.o] Error 1

          • make: *** Waiting for unfinished jobs....
        • aosp_arm-eng
          • Not compiling
      • Xcode 4.5.2
        • aosp_x86-eng
          • ld: warning: -read_only_relocs cannot be used with x86_64
          • ld: in out/host/darwin-x86/obj/lib/libcompiler_rt.dylib, file was built for unsupported file format ( 0xce make: *** [out/host/darwin-x86/obj/lib/lib64GLES_CM_translator.dylib] Error 1
            make: 0xfa*** Waiting for unfinished jobs....
            0xed 0xfe 0x 7 0x 0 0x 0 0x 0 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (x86_64): out/host/darwin-x86/obj/lib/libcompiler_rt.dylib for architecture x86_64
          • collect2: ld returned 1 exit status
            make: *** [out/host/darwin-x86/obj/lib/lib64EGL_translator.dylib] Error 1
          • make: *** [out/host/darwin-x86/obj/lib/lib64GLES_V2_translator.dylib] Error 1
          • target StaticLib: libc_nomalloc (out/target/product/generic_x86/obj/STATIC_LIBRARIES/libc_nomalloc_intermediates/libc_nomalloc.a)

  • 4.4.2_r2
    • Maverick
      • Xcode 4.5.2
        • aosp-x86-eng
      • In file included from external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/xmalloc.c:27In file included from external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/xstrdup.c:31:
        external/chromium_org/third_party/yasm/source/patched-yasm/util.h:78:23: error: libintl.h: No such file or directory
        :
        external/chromium_org/third_party/yasm/source/patched-yasm/util.h:78:23: error: libintl.h: No such file or directory
        In file included from external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/phash.c:2:
        external/chromium_org/third_party/yasm/source/patched-yasm/util.h:78:23: error: libintl.h: No such file or directory
        host C: third_party_yasm_genversion_host_gyp <= external/chromium_org/third_party/yasm/source/patched-yasm/modules/preprocs/nasm/genversion.c
        Notice file: external/chromium_org/NOTICE -- out/host/darwin-x86/obj/NOTICE_FILES/src//obj/GYP/shared_intermediates/genversion.txt
        make: *** [out/host/darwin-x86/obj/STATIC_LIBRARIES/third_party_yasm_genperf_libs_host_gyp_intermediates/third_party/yasm/source/patched-yasm/libyasm/xstrdup.o] Error 1

      • make: *** Waiting for unfinished jobs....
      • make: *** [out/host/darwin-x86/obj/STATIC_LIBRARIES/third_party_yasm_genperf_libs_host_gyp_intermediates/third_party/yasm/source/patched-yasm/libyasm/xmalloc.o] Error 1
        make: *** [out/host/darwin-x86/obj/STATIC_LIBRARIES/third_party_yasm_genperf_libs_host_gyp_intermediates/third_party/yasm/source/patched-yasm/libyasm/phash.o] Error 1
        • aosp_arm 
        • Compiles!!

Reply all
Reply to author
Forward
0 new messages