I am trying to build Goldfish kernel for Android. I get this errors when I try to build it. Operating System is Kali. Errors are attached below. I searched the internet but no clue for the errors. I am trying to make it work this git repository:https://github.com/sharif-dev/AndroidKernelVulnerability
MODPOST vmlinux.oarch/x86/kernel/fpu/xstate.o: In function `fpu__init_system_xstate':/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/arch/x86/kernel/fpu/xstate.c:793: undefined reference to `__asan_set_shadow_00'arch/x86/kernel/cpu/mshyperv.o: In function `ms_hyperv_init_platform':/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/arch/x86/kernel/cpu/mshyperv.c:266: undefined reference to `__asan_set_shadow_00'arch/x86/crypto/fpu.o: In function `crypto_fpu_encrypt':/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/arch/x86/crypto/fpu.c:47: undefined reference to `__asan_alloca_poison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/arch/x86/crypto/fpu.c:61: undefined reference to `__asan_allocas_unpoison'arch/x86/crypto/fpu.o: In function `crypto_fpu_decrypt':/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/arch/x86/crypto/fpu.c:68: undefined reference to `__asan_alloca_poison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/arch/x86/crypto/fpu.c:82: undefined reference to `__asan_allocas_unpoison'fs/crypto/keyinfo.o: In function `derive_essiv_salt':/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/fs/crypto/keyinfo.c:403: undefined reference to `__asan_alloca_poison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/fs/crypto/keyinfo.c:408: undefined reference to `__asan_allocas_unpoison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/fs/crypto/keyinfo.c:409: undefined reference to `__asan_allocas_unpoison'fs/pstore/ram_core.o: In function `persistent_ram_decode_rs8':/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/fs/pstore/ram_core.c:114: undefined reference to `__asan_alloca_poison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/fs/pstore/ram_core.c:120: undefined reference to `__asan_allocas_unpoison'fs/pstore/ram_core.o: In function `persistent_ram_encode_rs8':/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/fs/pstore/ram_core.c:101: undefined reference to `__asan_alloca_poison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/fs/pstore/ram_core.c:108: undefined reference to `__asan_allocas_unpoison'crypto/cipher.o: In function `cipher_crypt_unaligned':/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/crypto/cipher.c:70: undefined reference to `__asan_alloca_poison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/crypto/cipher.c:76: undefined reference to `__asan_allocas_unpoison'crypto/seqiv.o: In function `seqiv_aead_encrypt':/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/crypto/seqiv.c:76: undefined reference to `__asan_alloca_poison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/crypto/seqiv.c:88: undefined reference to `__asan_allocas_unpoison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/crypto/seqiv.c:115: undefined reference to `__asan_allocas_unpoison'crypto/echainiv.o: In function `echainiv_encrypt':/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/crypto/echainiv.c:50: undefined reference to `__asan_alloca_poison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/crypto/echainiv.c:62: undefined reference to `__asan_allocas_unpoison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/crypto/echainiv.c:88: undefined reference to `__asan_allocas_unpoison'crypto/shash.o: In function `shash_update_unaligned':/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/crypto/shash.c:100: undefined reference to `__asan_alloca_poison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/crypto/shash.c:114: undefined reference to `__asan_allocas_unpoison'crypto/shash.o: In function `shash_final_unaligned':/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/crypto/shash.c:136: undefined reference to `__asan_alloca_poison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/crypto/shash.c:150: undefined reference to `__asan_allocas_unpoison'crypto/testmgr.o: In function `alg_test_crc32c':/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/crypto/testmgr.c:1860: undefined reference to `__asan_alloca_poison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/crypto/testmgr.c:1879: undefined reference to `__asan_allocas_unpoison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/crypto/testmgr.c:1884: undefined reference to `__asan_allocas_unpoison'crypto/hmac.o: In function `hmac_setkey':/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/crypto/hmac.c:56: undefined reference to `__asan_alloca_poison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/crypto/hmac.c:88: undefined reference to `__asan_allocas_unpoison'crypto/cbc.o: In function `crypto_cbc_decrypt_inplace':/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/include/crypto/cbc.h:116: undefined reference to `__asan_alloca_poison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/include/crypto/cbc.h:134: undefined reference to `__asan_allocas_unpoison'crypto/cts.o: In function `cts_cbc_encrypt':/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/crypto/cts.c:107: undefined reference to `__asan_alloca_poison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/crypto/cts.c:129: undefined reference to `__asan_allocas_unpoison'crypto/cts.o: In function `cts_cbc_decrypt':/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/crypto/cts.c:187: undefined reference to `__asan_alloca_poison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/crypto/cts.c:222: undefined reference to `__asan_allocas_unpoison'crypto/ctr.o: In function `crypto_ctr_crypt_inplace':/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/crypto/ctr.c:109: undefined reference to `__asan_alloca_poison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/crypto/ctr.c:124: undefined reference to `__asan_allocas_unpoison'crypto/ctr.o: In function `crypto_ctr_crypt_final':/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/crypto/ctr.c:61: undefined reference to `__asan_alloca_poison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/crypto/ctr.c:71: undefined reference to `__asan_allocas_unpoison'crypto/gcm.o: In function `crypto_rfc4543_copy_src_to_dst':/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/crypto/gcm.c:1077: undefined reference to `__asan_alloca_poison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/crypto/gcm.c:1084: undefined reference to `__asan_allocas_unpoison'crypto/ccm.o: In function `crypto_ccm_auth':/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/crypto/ccm.c:184: undefined reference to `__asan_alloca_poison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/crypto/ccm.c:235: undefined reference to `__asan_allocas_unpoison'crypto/cryptd.o: In function `cryptd_skcipher_encrypt':/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/crypto/cryptd.c:486: undefined reference to `__asan_alloca_poison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/crypto/cryptd.c:504: undefined reference to `__asan_allocas_unpoison'crypto/cryptd.o: In function `cryptd_skcipher_decrypt':/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/crypto/cryptd.c:514: undefined reference to `__asan_alloca_poison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/crypto/cryptd.c:532: undefined reference to `__asan_allocas_unpoison'crypto/authenc.o: In function `crypto_authenc_copy_assoc':/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/crypto/authenc.c:196: undefined reference to `__asan_alloca_poison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/crypto/authenc.c:205: undefined reference to `__asan_allocas_unpoison'crypto/authencesn.o: In function `crypto_authenc_esn_copy':/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/crypto/authencesn.c:186: undefined reference to `__asan_alloca_poison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/crypto/authencesn.c:194: undefined reference to `__asan_allocas_unpoison'lib/libcrc32c.o: In function `crc32c':/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/lib/libcrc32c.c:45: undefined reference to `__asan_alloca_poison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/lib/libcrc32c.c:59: undefined reference to `__asan_allocas_unpoison'lib/reed_solomon/reed_solomon.o: In function `decode_rs8':/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/lib/reed_solomon/decode_rs.c:34: undefined reference to `__asan_alloca_poison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/lib/reed_solomon/decode_rs.c:34: undefined reference to `__asan_alloca_poison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/lib/reed_solomon/decode_rs.c:35: undefined reference to `__asan_alloca_poison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/lib/reed_solomon/decode_rs.c:35: undefined reference to `__asan_alloca_poison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/lib/reed_solomon/decode_rs.c:35: undefined reference to `__asan_alloca_poison'lib/reed_solomon/reed_solomon.o:/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/lib/reed_solomon/decode_rs.c:36: more undefined references to `__asan_alloca_poison' followlib/reed_solomon/reed_solomon.o: In function `decode_rs8':/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/lib/reed_solomon/reed_solomon.c:329: undefined reference to `__asan_allocas_unpoison'drivers/net/ppp/ppp_mppe.o: In function `mppe_compress':/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/drivers/net/ppp/ppp_mppe.c:366: undefined reference to `__asan_alloca_poison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/drivers/net/ppp/ppp_mppe.c:442: undefined reference to `__asan_allocas_unpoison'drivers/net/ppp/ppp_mppe.o: In function `mppe_decompress':/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/drivers/net/ppp/ppp_mppe.c:480: undefined reference to `__asan_alloca_poison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/drivers/net/ppp/ppp_mppe.c:667: undefined reference to `__asan_allocas_unpoison'drivers/net/ppp/ppp_mppe.o: In function `mppe_rekey':/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/drivers/net/ppp/ppp_mppe.c:168: undefined reference to `__asan_alloca_poison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/drivers/net/ppp/ppp_mppe.c:196: undefined reference to `__asan_allocas_unpoison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/drivers/net/ppp/ppp_mppe.c:196: undefined reference to `__asan_allocas_unpoison'drivers/net/ppp/ppp_mppe.o: In function `get_new_key_from_sha':/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/drivers/net/ppp/ppp_mppe.c:140: undefined reference to `__asan_alloca_poison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/drivers/net/ppp/ppp_mppe.c:159: undefined reference to `__asan_allocas_unpoison'drivers/md/dm-stripe.o: In function `stripe_status':/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/drivers/md/dm-stripe.c:371: undefined reference to `__asan_alloca_poison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/drivers/md/dm-stripe.c:395: undefined reference to `__asan_allocas_unpoison'drivers/md/dm-crypt.o: In function `crypt_iv_essiv_init':/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/drivers/md/dm-crypt.c:330: undefined reference to `__asan_alloca_poison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/drivers/md/dm-crypt.c:353: undefined reference to `__asan_allocas_unpoison'drivers/md/dm-crypt.o: In function `crypt_iv_lmk_one':/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/drivers/md/dm-crypt.c:612: undefined reference to `__asan_alloca_poison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/drivers/md/dm-crypt.c:654: undefined reference to `__asan_allocas_unpoison'drivers/md/dm-crypt.o: In function `crypt_iv_tcw_whitening':/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/drivers/md/dm-crypt.c:771: undefined reference to `__asan_alloca_poison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/drivers/md/dm-crypt.c:801: undefined reference to `__asan_allocas_unpoison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/drivers/md/dm-crypt.c:801: undefined reference to `__asan_allocas_unpoison'drivers/md/dm-raid1.o: In function `mirror_status':/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/drivers/md/dm-raid1.c:1409: undefined reference to `__asan_alloca_poison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/drivers/md/dm-raid1.c:1448: undefined reference to `__asan_allocas_unpoison'drivers/md/dm-raid1.o: In function `mirror_flush':/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/drivers/md/dm-raid1.c:260: undefined reference to `__asan_alloca_poison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/drivers/md/dm-raid1.c:287: undefined reference to `__asan_allocas_unpoison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/drivers/md/dm-raid1.c:287: undefined reference to `__asan_allocas_unpoison'drivers/md/dm-raid1.o: In function `do_write':/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/drivers/md/dm-raid1.c:656: undefined reference to `__asan_alloca_poison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/drivers/md/dm-raid1.c:684: undefined reference to `__asan_allocas_unpoison'drivers/md/dm-verity-fec.o: In function `fec_read_bufs':/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/drivers/md/dm-verity-fec.c:218: undefined reference to `__asan_alloca_poison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/drivers/md/dm-verity-fec.c:304: undefined reference to `__asan_allocas_unpoison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/drivers/md/dm-verity-fec.c:304: undefined reference to `__asan_allocas_unpoison'drivers/of/unittest.o: In function `of_unittest_printf_one':/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/drivers/of/unittest.c:254: undefined reference to `__asan_alloca_poison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/drivers/of/unittest.c:276: undefined reference to `__asan_allocas_unpoison'sound/core/pcm_native.o: In function `constrain_params_by_rules':/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/sound/core/pcm_native.c:329: undefined reference to `__asan_alloca_poison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/sound/core/pcm_native.c:437: undefined reference to `__asan_allocas_unpoison'net/core/rtnetlink.o: In function `rtnl_newlink':/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/net/core/rtnetlink.c:2587: undefined reference to `__asan_alloca_poison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/net/core/rtnetlink.c:2588: undefined reference to `__asan_alloca_poison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/net/core/rtnetlink.c:2775: undefined reference to `__asan_allocas_unpoison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/net/core/rtnetlink.c:2775: undefined reference to `__asan_allocas_unpoison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/net/core/rtnetlink.c:2776: undefined reference to `__asan_allocas_unpoison'net/netfilter/nfnetlink.o: In function `nfnetlink_rcv_msg':/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/net/netfilter/nfnetlink.c:190: undefined reference to `__asan_alloca_poison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/net/netfilter/nfnetlink.c:224: undefined reference to `__asan_allocas_unpoison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/net/netfilter/nfnetlink.c:224: undefined reference to `__asan_allocas_unpoison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/net/netfilter/nfnetlink.c:225: undefined reference to `__asan_allocas_unpoison'net/netfilter/nfnetlink.o: In function `nfnetlink_rcv_batch':/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/net/netfilter/nfnetlink.c:384: undefined reference to `__asan_alloca_poison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/net/netfilter/nfnetlink.c:407: undefined reference to `__asan_allocas_unpoison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/net/netfilter/nfnetlink.c:407: undefined reference to `__asan_allocas_unpoison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/net/netfilter/nfnetlink.c:454: undefined reference to `__asan_allocas_unpoison'net/wireless/nl80211.o: In function `nl80211_send_wiphy':/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/net/wireless/nl80211.c:1953: undefined reference to `__asan_set_shadow_00'net/mac80211/aes_cmac.o: In function `ieee80211_aes_cmac':/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/net/mac80211/aes_cmac.c:30: undefined reference to `__asan_alloca_poison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/net/mac80211/aes_cmac.c:41: undefined reference to `__asan_allocas_unpoison'net/mac80211/aes_cmac.o: In function `ieee80211_aes_cmac_256':/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/net/mac80211/aes_cmac.c:46: undefined reference to `__asan_alloca_poison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/net/mac80211/aes_cmac.c:54: undefined reference to `__asan_allocas_unpoison'net/mac80211/fils_aead.o: In function `aes_s2v':/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/net/mac80211/fils_aead.c:32: undefined reference to `__asan_alloca_poison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/net/mac80211/fils_aead.c:66: undefined reference to `__asan_allocas_unpoison'/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/net/mac80211/fils_aead.c:66: undefined reference to `__asan_allocas_unpoison'make[2]: *** [/home/teodora/android-kernel-exploitation/android-4.14-dev/goldfish/Makefile:1105: vmlinux] Error 1make[1]: *** [Makefile:146: sub-make] Error 2make: *** [Makefile:24: __sub-make] Error 2