I have the same issue. Did you solve it somehow? Thanks!

On Friday, April 9, 2021 at 12:43:56 PM UTC-7 [email protected] wrote:

> I am trying to build AOSP for "aosp_arm" on a Mac machine. Even by 
> reducing the number of jobs (make *-j), It is not building. *Could you 
> please help?
>
> Snippet:
>
> % make -j1
> 10:39:48 ************************************************************
> 10:39:48 You are building on a machine with 16GB of RAM
> 10:39:48 
> 10:39:48 The minimum required amount of free memory is around 16GB,
> 10:39:48 and even with that, some configurations may not work.
> 10:39:48 
> 10:39:48 If you run into segfaults or other errors, try reducing your
> 10:39:48 -j value.
> 10:39:48 ************************************************************
> ============================================
> PLATFORM_VERSION_CODENAME=REL
> PLATFORM_VERSION=11
> TARGET_PRODUCT=aosp_arm
> TARGET_BUILD_VARIANT=eng
> TARGET_BUILD_TYPE=release
> TARGET_ARCH=arm
> TARGET_ARCH_VARIANT=armv7-a-neon
> TARGET_CPU_VARIANT=generic
> HOST_ARCH=x86_64
> HOST_OS=darwin
> HOST_OS_EXTRA=Darwin-19.6.0-x86_64-10.15.7
> HOST_BUILD_TYPE=release
> BUILD_ID=RQ2A.210405.005
> OUT_DIR=out
> PRODUCT_SOONG_NAMESPACES=device/generic/goldfish 
> device/generic/goldfish-opengl hardware/google/camera 
> hardware/google/camera/devices/EmulatedCamera device/generic/goldfish 
> device/generic/goldfish-opengl
> ============================================
> [ 51% 93/181] compile 
> out/soong/.bootstrap/soong-cc-config/test/android/soong/cc/config.a
> FAILED: out/soong/.bootstrap/soong-cc-config/test/android/soong/cc/config.a
> GOROOT='prebuilts/go/darwin-x86' 
> prebuilts/go/darwin-x86/pkg/tool/darwin_amd64/compile -c 8 -o 
> out/soong/.bootstrap/soong-cc-config/test/android/soong/cc/config.a.tmp -p 
> android/soong/cc/config -complete -I 
> out/soong/.bootstrap/blueprint-parser/pkg -I 
> out/soong/.bootstrap/blueprint-deptools/pkg -I 
> out/soong/.bootstrap/blueprint-pathtools/pkg -I 
> out/soong/.bootstrap/blueprint-proptools/pkg -I 
> out/soong/.bootstrap/blueprint/pkg -I 
> out/soong/.bootstrap/blueprint-bootstrap-bpdoc/pkg -I 
> out/soong/.bootstrap/blueprint-bootstrap/pkg -I 
> out/soong/.bootstrap/soong/pkg -I 
> out/soong/.bootstrap/soong-android-soongconfig/pkg -I 
> out/soong/.bootstrap/soong-env/pkg -I out/soong/.bootstrap/soong-shared/pkg 
> -I out/soong/.bootstrap/soong-android/pkg -I 
> out/soong/.bootstrap/soong-remoteexec/pkg -pack 
> build/soong/cc/config/clang.go build/soong/cc/config/global.go 
> build/soong/cc/config/tidy.go build/soong/cc/config/toolchain.go 
> build/soong/cc/config/vndk.go build/soong/cc/config/arm_device.go 
> build/soong/cc/config/arm64_device.go 
> build/soong/cc/config/arm64_fuchsia_device.go 
> build/soong/cc/config/mips_device.go build/soong/cc/config/mips64_device.go 
> build/soong/cc/config/x86_device.go build/soong/cc/config/x86_64_device.go 
> build/soong/cc/config/x86_64_fuchsia_device.go 
> build/soong/cc/config/x86_darwin_host.go 
> build/soong/cc/config/x86_linux_host.go 
> build/soong/cc/config/x86_linux_bionic_host.go 
> build/soong/cc/config/x86_windows_host.go 
> build/soong/cc/config/tidy_test.go && if cmp --quiet 
> out/soong/.bootstrap/soong-cc-config/test/android/soong/cc/config.a.tmp 
> out/soong/.bootstrap/soong-cc-config/test/android/soong/cc/config.a; then 
> rm out/soong/.bootstrap/soong-cc-config/test/android/soong/cc/config.a.tmp; 
> else mv -f 
> out/soong/.bootstrap/soong-cc-config/test/android/soong/cc/config.a.tmp 
> out/soong/.bootstrap/soong-cc-config/test/android/soong/cc/config.a; fi
> build/soong/cc/config/x86_darwin_host.go:69:9: syntax error: unexpected 
> newline, expecting comma or }
> 10:40:08 soong bootstrap failed with: exit status 1
>
> #### failed to build some targets (20 seconds) ####
>
>
>

-- 
-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/84b6b953-5c55-4cd2-93b6-3e528f34c0bbn%40googlegroups.com.

Reply via email to