Hi, I have tried to set the sdclang configurations in the Boardconfig.mk but still issue remains if there is anyother options that i must do regarding the build environment , i was able to build the 7.1 for the same chip .
If anyone had configured please post what all files are modified. regards, Jayakrishnan On Monday, November 13, 2017 at 11:33:10 PM UTC+5:30, Colin Cross wrote: > > https://groups.google.com/forum/#!topic/android-building/AgSUZB6dnVY was > the same question. config.setSdclangVars() doesn't exist in AOSP, so > there's not much we can do to help. It appears to be something related to > configuring the path to SnapDragon clang, so likely some sort of > environment variable that Qualcomm's BSP is expecting you to set. > > On Mon, Nov 13, 2017 at 1:27 AM, <[email protected] <javascript:>> > wrote: > >> >> Hi , >> >> i am facing trouble in building android 8.0 to msm8996 chip >> >> here's my log >> >> PLATFORM_VERSION_CODENAME=REL >> PLATFORM_VERSION=8.0.0 >> TARGET_PRODUCT=msm8996 >> TARGET_BUILD_VARIANT=userdebug >> TARGET_BUILD_TYPE=release >> TARGET_ARCH=arm64 >> TARGET_ARCH_VARIANT=armv8-a >> TARGET_CPU_VARIANT=kryo >> TARGET_2ND_ARCH=arm >> TARGET_2ND_ARCH_VARIANT=armv7-a-neon >> TARGET_2ND_CPU_VARIANT=cortex-a9 >> HOST_ARCH=x86_64 >> HOST_2ND_ARCH=x86 >> HOST_OS=linux >> HOST_OS_EXTRA=Linux-4.10.0-37-generic-x86_64-with-Ubuntu-16.04-xenial >> HOST_CROSS_OS=windows >> HOST_CROSS_ARCH=x86 >> HOST_CROSS_2ND_ARCH=x86_64 >> HOST_BUILD_TYPE=release >> BUILD_ID=OPR1.170623.026 >> OUT_DIR=out >> ============================================ >> ninja: no work to do. >> [1/5] test android/soong/cc/config >> FAILED: out/soong/.bootstrap/soong-cc-config/test/test.passed >> out/soong/.bootstrap/bin/gotestrunner -p ./build/soong/cc/config -f >> out/soong/.bootstrap/soong-cc-config/test/test.passed -- >> out/soong/.bootstrap/soong-cc-config/test/test -test.short >> panic: read /home/dolby/JK/android8msm: is a directory >> >> goroutine 1 [running]: >> android/soong/cc/config.setSdclangVars() >> /home/dolby/JK/android8msm/build/soong/cc/config/global.go:197 +0x20d4 >> android/soong/cc/config.init.2() >> /home/dolby/JK/android8msm/build/soong/cc/config/global.go:169 +0xcc9 >> android/soong/cc/config.init() >> /home/dolby/JK/android8msm/build/soong/cc/config/tidy_test.go:42 +0x3969 >> main.init() >> /home/dolby/JK/android8msm/out/soong/.bootstrap/soong-cc-config/test/test.go:34 >> >> +0x4e >> ninja: build stopped: subcommand failed. >> 14:13:37 soong bootstrap failed with: exit status 1 >> build/core/main.mk:21: recipe for target 'run_soong_ui' failed >> make: *** [run_soong_ui] Error 1 >> >> #### make failed to build some targets #### >> >> Please share if there is any solutions to this ? >> >> regards, >> jayakrishnan >> >> On Tuesday, September 5, 2017 at 9:11:02 PM UTC+5:30, aadi wrote: >>> >>> ninja: no work to do. >>> >>> [1/9] test android/soong/android >>> >>> FAILED: out/soong/.bootstrap/soong-android/test/test.passed >>> >>> out/soong/.bootstrap/bin/gotestrunner -p ./build/soong/android -f >>> out/soong/.bootstrap/soong-android/test/test.passed -- >>> out/soong/.bootstrap/soong-android/test/test -test.short >>> >>> --- FAIL: TestPrebuilts (0.00s) >>> >>> prebuilt_test.go:117: stat /tmp: no such file or directory >>> >>> FAIL >>> >>> [2/9] link out/soong/.bootstrap/soong_build/obj/a.out >>> >>> ninja: build stopped: subcommand failed. >>> >>> 13:27:31 soong bootstrap failed with: exit status 1 >>> >>> >>> #### failed to build some targets (1 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] >> <javascript:> >> To unsubscribe from this group, send email to >> [email protected] <javascript:> >> 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] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- -- 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.
