I see a build error for android-8.0.0_r12 on mac OS

[ 11% 1830/16140] target asm: 2ndbootloader.bin <= 
hardware/intel/bootstub/head.S
FAILED: 
out/target/product/<target>/obj/EXECUTABLES/2ndbootloader.bin_intermediates/head.o
 
/bin/bash -c "prebuilts/clang/host/darwin-x86/clang-3859424/bin/clang -I 
system/core/mkbootimg -I hardware/intel/bootstub -I 
out/target/product/<target>/obj/EXECUTABLES/2ndbootloader.bin_intermediates 
-I 
out/target/product/<target>/gen/EXECUTABLES/2ndbootloader.bin_intermediates 
-I libnativehelper/include/nativehelper \$(cat 
out/target/product/<target>/obj/EXECUTABLES/2ndbootloader.bin_intermediates/import_includes)
  
-I system/core/include -I system/media/audio/include -I 
hardware/libhardware/include -I hardware/libhardware_legacy/include -I 
hardware/ril/include -I libnativehelper/include -I 
frameworks/native/include -I frameworks/native/opengl/include -isystem 
frameworks/av/include -isystem out/target/product/<target>/obj/include 
-isystem device/asus/fugu/kernel-headers -isystem 
bionic/libc/arch-x86/include -isystem bionic/libc/include -isystem 
bionic/libc/kernel/uapi -isystem bionic/libc/kernel/uapi/asm-x86 -isystem 
bionic/libc/kernel/android/uapi -c  -m32 -ffreestanding -Wall -O1 
-DCMDLINE_SIZE=0x400 -DAOSP_HEADER_ADDRESS=0x10007800   -std=gnu99    
-DSTACK_OFFSET=0x10F00000 -D__ASSEMBLY__ -MD -MF 
out/target/product/<target>/obj/EXECUTABLES/2ndbootloader.bin_intermediates/head.d
 
-o 
out/target/product/<target>/obj/EXECUTABLES/2ndbootloader.bin_intermediates/head.o
 
hardware/intel/bootstub/head.S"
hardware/intel/bootstub/head.S:59:10: error: mach-o section specifier uses 
an unknown section type
.section ".text.head","ax",@progbits
         ^
[ 11% 1834/16140] build 
out/target/common/obj/JAVA_LIBRARIES/sdk_v15_intermediates/classes.jack
ninja: build stopped: subcommand failed.
22:59:50 ninja failed with: exit status 1
make: *** [run_soong_ui] Error 1

I will attempt a build using prebuilts/clang/host/darwin-x86/ master branch 
instead, but I would like to know whether mac OS builds of the 
android-8.0.0* branches is supported. 

The build error points 
to http://llvm.org/doxygen/MCSectionMachO_8cpp_source.html line 232, but 
it's unclear to me what section type is needed.

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to