I just built partner, it worked for me.

Anything unusual in your path?  I'm not sure "*/..//bin/as*" looks 
correct.  Do you have something in "/bin/as"?  It should be using the 
prebuilt one synced as part of the repo.  Otherwise, try a new shell 
without any "extra" environment variables set...

-Chris


$ repo init -u https://android.googlesource.com/kernel/manifest -b 
android-msm-bluecross-4.9-pie-qpr1

$ repo sync -j8

$ sh build/build.sh


========================================================

= build config: /usr/local/google/home/cfries/work2/partner/build.config

KERNEL_DIR=private/msm-google

UNSTRIPPED_MODULES="

wlan.ko

"

. ${ROOT_DIR}/${KERNEL_DIR}/build.config.common.clang

POST_DEFCONFIG_CMDS="check_defconfig"


PATH=/usr/local/google/home/cfries/work2/partner/prebuilts-master/misc/linux-x86/libufdt:/usr/local/google/home/cfries/work2/partner/prebuilts-master/misc/linux-x86/dtc:/usr/local/google/home/cfries/work2/partner/prebuilts-master/misc/linux-x86/lz4:/usr/local/google/home/cfries/work2/partner/prebuilts-master/clang/host/linux-x86/clang-4393122/bin/:/usr/local/google/home/cfries/work2/partner/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin:/usr/local/google/home/cfries/work2/partner/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin:/usr/local/google/home/cfries/bin:/usr/lib/google-golang/bin:/usr/local/buildtools/java/jdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin


========================================================

 Setting up for build

+ cd private/msm-google

+ make 
O=/usr/local/work2/partner/out/android-msm-bluecross-4.9/private/msm-google 
mrproper

make[1]: Entering directory 
'/usr/local/work2/partner/out/android-msm-bluecross-4.9/private/msm-google'

find: ‘arch/arm64/boot/dts/’: No such file or directory

find: ‘arch/arm64/boot/dts/’: No such file or directory

make[1]: Leaving directory 
'/usr/local/work2/partner/out/android-msm-bluecross-4.9/private/msm-google'

+ set +x

+ cd private/msm-google

+ make 
O=/usr/local/work2/partner/out/android-msm-bluecross-4.9/private/msm-google 
b1c1_defconfig

make[1]: Entering directory 
'/usr/local/work2/partner/out/android-msm-bluecross-4.9/private/msm-google'

  HOSTCC  scripts/basic/fixdep

  GEN     ./Makefile

  HOSTCC  scripts/kconfig/conf.o

  SHIPPED scripts/kconfig/zconf.tab.c

  SHIPPED scripts/kconfig/zconf.lex.c

  SHIPPED scripts/kconfig/zconf.hash.c

  HOSTCC  scripts/kconfig/zconf.tab.o

  HOSTLD  scripts/kconfig/conf

#

# configuration written to .config

#

make[1]: Leaving directory 
'/usr/local/work2/partner/out/android-msm-bluecross-4.9/private/msm-google'

+ set +x

========================================================

 Running pre-make command(s):

+ eval check_defconfig

++ check_defconfig

++ cd 
/usr/local/work2/partner/out/android-msm-bluecross-4.9/private/msm-google

++ make 
O=/usr/local/work2/partner/out/android-msm-bluecross-4.9/private/msm-google 
savedefconfig

  GEN     ./Makefile

scripts/kconfig/conf  --savedefconfig=defconfig Kconfig

++ '[' arm64 = x86_64 -o arm64 = i386 ']'

++ echo Verifying that savedefconfig matches 
private/msm-google/arch/arm64/configs/b1c1_defconfig

Verifying that savedefconfig matches 
private/msm-google/arch/arm64/configs/b1c1_defconfig

++ RES=0

++ diff 
/usr/local/work2/partner/out/android-msm-bluecross-4.9/private/msm-google/defconfig
 
private/msm-google/arch/arm64/configs/b1c1_defconfig

++ '[' 0 -ne 0 ']'

++ return 0

+ set +x

========================================================

 Building kernel

+ cd 
/usr/local/work2/partner/out/android-msm-bluecross-4.9/private/msm-google

++ nproc

+ make 
O=/usr/local/work2/partner/out/android-msm-bluecross-4.9/private/msm-google 
CC=clang -j56
...

On Friday, January 18, 2019 at 2:17:29 PM UTC-6, Chris Fries wrote:
>
> Which repo did you sync, when you built?  
>
> This reminds me of https://partner-android-review.googlesource.com/1089911
>
> On Thursday, January 17, 2019 at 6:36:19 PM UTC-6, shjeep...@gmail.com 
> wrote:
>>
>> Hi,
>> I'm try to build pixel3 xl kernel w/ this command
>> $sh build/build.sh
>> But facing below error, any idea on how to fix it?
>>
>>   VDSOSYM include/generated/vdso-offsets.h
>>   VDSOC32   arch/arm64/kernel/vdso32/vgettimeofday.o
>>   LDS     arch/arm64/kernel/vdso32/vdso.lds
>>   VDSOA32   arch/arm64/kernel/vdso32/sigreturn.o
>>   HOSTCC  arch/arm64/kernel/vdso32/../../../arm/vdso/vdsomunge
>>
>> */..//bin/as: unrecognized option '-mfloat-abi=soft'clang-5.0: error: 
>> assembler command failed with exit code 1 (use -v to see invocation)*
>> make[3]: *** 
>> [/home/jiangenj/workspace/pixel3/kernel/private/msm-google/arch/arm64/kernel/vdso32/Makefile:144:
>>  
>> arch/arm64/kernel/vdso32/sigreturn.o] Error 1
>> make[3]: *** Waiting for unfinished jobs....
>> /..//bin/as: unrecognized option '-mfloat-abi=soft'
>> clang-5.0: error: assembler command failed with exit code 1 (use -v to 
>> see invocation)
>> make[3]: *** 
>> [/home/jiangenj/workspace/pixel3/kernel/private/msm-google/arch/arm64/kernel/vdso32/Makefile:142:
>>  
>> arch/arm64/kernel/vdso32/vgettimeofday.o] Error 1
>> make[2]: *** [arch/arm64/Makefile:242: vdso_prepare] Error 2
>> make[1]: *** [Makefile:152: sub-make] Error 2
>> make: *** [Makefile:24: __sub-make] Error 2
>>
>> Thanks
>>
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
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 android-building+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to