Skip to content

Windows CI: SPM build regression #8950

@compnerd

Description

@compnerd

Description

04:09:35  libCCryptoBoringSSL.lib(bcm.cc.obj) : error LNK2019: unresolved external symbol CCryptoBoringSSL_aes_hw_set_encrypt_key referenced in function "int __cdecl aead_aes_ccm_init(struct evp_aead_ctx_st *,unsigned char const *,unsigned __int64,unsigned __int64,unsigned int,unsigned int)" (?aead_aes_ccm_init@@YAHPEAUevp_aead_ctx_st@@PEBE_K2II@Z)
04:09:35  libCCryptoBoringSSL.lib(bcm.cc.obj) : error LNK2019: unresolved external symbol CCryptoBoringSSL_aes_hw_set_decrypt_key referenced in function "int __cdecl aes_init_key(struct evp_cipher_ctx_st *,unsigned char const *,unsigned char const *,int)" (?aes_init_key@@YAHPEAUevp_cipher_ctx_st@@PEBE1H@Z)
04:09:35  libCCryptoBoringSSL.lib(bcm.cc.obj) : error LNK2019: unresolved external symbol CCryptoBoringSSL_aes_hw_encrypt referenced in function "int __cdecl aead_aes_ccm_init(struct evp_aead_ctx_st *,unsigned char const *,unsigned __int64,unsigned __int64,unsigned int,unsigned int)" (?aead_aes_ccm_init@@YAHPEAUevp_aead_ctx_st@@PEBE_K2II@Z)
04:09:35  libCCryptoBoringSSL.lib(bcm.cc.obj) : error LNK2019: unresolved external symbol CCryptoBoringSSL_aes_hw_decrypt referenced in function "int __cdecl aes_init_key(struct evp_cipher_ctx_st *,unsigned char const *,unsigned char const *,int)" (?aes_init_key@@YAHPEAUevp_cipher_ctx_st@@PEBE1H@Z)
04:09:35  libCCryptoBoringSSL.lib(bcm.cc.obj) : error LNK2019: unresolved external symbol CCryptoBoringSSL_aes_hw_cbc_encrypt referenced in function "int __cdecl aes_init_key(struct evp_cipher_ctx_st *,unsigned char const *,unsigned char const *,int)" (?aes_init_key@@YAHPEAUevp_cipher_ctx_st@@PEBE1H@Z)
04:09:35  libCCryptoBoringSSL.lib(bcm.cc.obj) : error LNK2019: unresolved external symbol CCryptoBoringSSL_aes_hw_ctr32_encrypt_blocks referenced in function "int __cdecl aead_aes_ccm_init(struct evp_aead_ctx_st *,unsigned char const *,unsigned __int64,unsigned __int64,unsigned int,unsigned int)" (?aead_aes_ccm_init@@YAHPEAUevp_aead_ctx_st@@PEBE_K2II@Z)
04:09:35  libCCryptoBoringSSL.lib(bcm.cc.obj) : error LNK2019: unresolved external symbol CCryptoBoringSSL_vpaes_set_encrypt_key referenced in function "int __cdecl aead_aes_ccm_init(struct evp_aead_ctx_st *,unsigned char const *,unsigned __int64,unsigned __int64,unsigned int,unsigned int)" (?aead_aes_ccm_init@@YAHPEAUevp_aead_ctx_st@@PEBE_K2II@Z)
04:09:35  libCCryptoBoringSSL.lib(bcm.cc.obj) : error LNK2019: unresolved external symbol CCryptoBoringSSL_vpaes_set_decrypt_key referenced in function "int __cdecl aes_init_key(struct evp_cipher_ctx_st *,unsigned char const *,unsigned char const *,int)" (?aes_init_key@@YAHPEAUevp_cipher_ctx_st@@PEBE1H@Z)
04:09:35  libCCryptoBoringSSL.lib(bcm.cc.obj) : error LNK2019: unresolved external symbol CCryptoBoringSSL_vpaes_encrypt referenced in function "int __cdecl aead_aes_ccm_init(struct evp_aead_ctx_st *,unsigned char const *,unsigned __int64,unsigned __int64,unsigned int,unsigned int)" (?aead_aes_ccm_init@@YAHPEAUevp_aead_ctx_st@@PEBE_K2II@Z)
04:09:35  libCCryptoBoringSSL.lib(bcm.cc.obj) : error LNK2019: unresolved external symbol CCryptoBoringSSL_vpaes_decrypt referenced in function "int __cdecl aes_init_key(struct evp_cipher_ctx_st *,unsigned char const *,unsigned char const *,int)" (?aes_init_key@@YAHPEAUevp_cipher_ctx_st@@PEBE1H@Z)
04:09:35  libCCryptoBoringSSL.lib(bcm.cc.obj) : error LNK2019: unresolved external symbol CCryptoBoringSSL_vpaes_cbc_encrypt referenced in function "int __cdecl aes_init_key(struct evp_cipher_ctx_st *,unsigned char const *,unsigned char const *,int)" (?aes_init_key@@YAHPEAUevp_cipher_ctx_st@@PEBE1H@Z)
04:09:35  libCCryptoBoringSSL.lib(bcm.cc.obj) : error LNK2019: unresolved external symbol CCryptoBoringSSL_vpaes_ctr32_encrypt_blocks referenced in function "int __cdecl aead_aes_ccm_init(struct evp_aead_ctx_st *,unsigned char const *,unsigned __int64,unsigned __int64,unsigned int,unsigned int)" (?aead_aes_ccm_init@@YAHPEAUevp_aead_ctx_st@@PEBE_K2II@Z)
04:09:35  libCCryptoBoringSSL.lib(bcm.cc.obj) : error LNK2019: unresolved external symbol CCryptoBoringSSL_gcm_init_v8 referenced in function CCryptoBoringSSL_CRYPTO_POLYVAL_init
04:09:35  libCCryptoBoringSSL.lib(bcm.cc.obj) : error LNK2019: unresolved external symbol CCryptoBoringSSL_gcm_gmult_v8 referenced in function CCryptoBoringSSL_CRYPTO_POLYVAL_init
04:09:35  libCCryptoBoringSSL.lib(bcm.cc.obj) : error LNK2019: unresolved external symbol CCryptoBoringSSL_gcm_ghash_v8 referenced in function CCryptoBoringSSL_CRYPTO_POLYVAL_init
04:09:35  libCCryptoBoringSSL.lib(bcm.cc.obj) : error LNK2019: unresolved external symbol CCryptoBoringSSL_gcm_init_neon referenced in function CCryptoBoringSSL_CRYPTO_POLYVAL_init
04:09:35  libCCryptoBoringSSL.lib(bcm.cc.obj) : error LNK2019: unresolved external symbol CCryptoBoringSSL_gcm_gmult_neon referenced in function CCryptoBoringSSL_CRYPTO_POLYVAL_init
04:09:35  libCCryptoBoringSSL.lib(bcm.cc.obj) : error LNK2019: unresolved external symbol CCryptoBoringSSL_gcm_ghash_neon referenced in function CCryptoBoringSSL_CRYPTO_POLYVAL_init
04:09:35  libCCryptoBoringSSL.lib(bcm.cc.obj) : error LNK2019: unresolved external symbol CCryptoBoringSSL_aes_gcm_enc_kernel referenced in function "unsigned __int64 __cdecl hw_gcm_encrypt(unsigned char const *,unsigned char *,unsigned __int64,struct aes_key_st const *,unsigned char * const,unsigned char * const,struct u128 const * const,enum gcm_impl_t)" (?hw_gcm_encrypt@@YA_KPEBEPEAE_KPEBUaes_key_st@@QEAE4QEBUu128@@W4gcm_impl_t@@@Z)
04:09:35  libCCryptoBoringSSL.lib(bcm.cc.obj) : error LNK2019: unresolved external symbol CCryptoBoringSSL_aes_gcm_dec_kernel referenced in function "unsigned __int64 __cdecl hw_gcm_decrypt(unsigned char const *,unsigned char *,unsigned __int64,struct aes_key_st const *,unsigned char * const,unsigned char * const,struct u128 const * const,enum gcm_impl_t)" (?hw_gcm_decrypt@@YA_KPEBEPEAE_KPEBUaes_key_st@@QEAE4QEBUu128@@W4gcm_impl_t@@@Z)
04:09:35  libCCryptoBoringSSL.lib(bcm.cc.obj) : error LNK2019: unresolved external symbol CCryptoBoringSSL_bn_add_words referenced in function "void __cdecl bn_mul_part_recursive(unsigned __int64 *,unsigned __int64 const *,unsigned __int64 const *,int,int,int,unsigned __int64 *)" (?bn_mul_part_recursive@@YAXPEA_KPEB_K1HHH0@Z)
04:09:35  libCCryptoBoringSSL.lib(bcm.cc.obj) : error LNK2019: unresolved external symbol CCryptoBoringSSL_bn_sub_words referenced in function "void __cdecl bn_abs_sub_words(unsigned __int64 *,unsigned __int64 const *,unsigned __int64 const *,unsigned __int64,unsigned __int64 *)" (?bn_abs_sub_words@@YAXPEA_KPEB_K1_K0@Z)
04:09:35  libCCryptoBoringSSL.lib(bcm.cc.obj) : error LNK2019: unresolved external symbol CCryptoBoringSSL_bn_mul_mont referenced in function CCryptoBoringSSL_BN_mod_exp_mont_consttime
04:09:35  libCCryptoBoringSSL.lib(bcm.cc.obj) : error LNK2019: unresolved external symbol CCryptoBoringSSL_ecp_nistz256_neg referenced in function "void __cdecl ecp_nistz256_point_mul_base(struct ec_group_st const *,struct EC_JACOBIAN *,struct EC_SCALAR const *)" (?ecp_nistz256_point_mul_base@@YAXPEBUec_group_st@@PEAUEC_JACOBIAN@@PEBUEC_SCALAR@@@Z)
04:09:35  libCCryptoBoringSSL.lib(bcm.cc.obj) : error LNK2019: unresolved external symbol CCryptoBoringSSL_ecp_nistz256_mul_mont referenced in function "int __cdecl ecp_nistz256_cmp_x_coordinate(struct ec_group_st const *,struct EC_JACOBIAN const *,struct EC_SCALAR const *)" (?ecp_nistz256_cmp_x_coordinate@@YAHPEBUec_group_st@@PEBUEC_JACOBIAN@@PEBUEC_SCALAR@@@Z)
04:09:35  libCCryptoBoringSSL.lib(bcm.cc.obj) : error LNK2019: unresolved external symbol CCryptoBoringSSL_ecp_nistz256_sqr_mont referenced in function "int __cdecl ecp_nistz256_get_affine(struct ec_group_st const *,struct EC_JACOBIAN const *,struct EC_FELEM *,struct EC_FELEM *)" (?ecp_nistz256_get_affine@@YAHPEBUec_group_st@@PEBUEC_JACOBIAN@@PEAUEC_FELEM@@2@Z)
04:09:35  libCCryptoBoringSSL.lib(bcm.cc.obj) : error LNK2019: unresolved external symbol CCryptoBoringSSL_ecp_nistz256_ord_mul_mont referenced in function "void __cdecl ecp_nistz256_inv0_mod_ord(struct ec_group_st const *,struct EC_SCALAR *,struct EC_SCALAR const *)" (?ecp_nistz256_inv0_mod_ord@@YAXPEBUec_group_st@@PEAUEC_SCALAR@@PEBU2@@Z)
04:09:35  libCCryptoBoringSSL.lib(bcm.cc.obj) : error LNK2019: unresolved external symbol CCryptoBoringSSL_ecp_nistz256_ord_sqr_mont referenced in function "void __cdecl ecp_nistz256_inv0_mod_ord(struct ec_group_st const *,struct EC_SCALAR *,struct EC_SCALAR const *)" (?ecp_nistz256_inv0_mod_ord@@YAXPEBUec_group_st@@PEAUEC_SCALAR@@PEBU2@@Z)
04:09:35  libCCryptoBoringSSL.lib(bcm.cc.obj) : error LNK2019: unresolved external symbol CCryptoBoringSSL_beeu_mod_inverse_vartime referenced in function "int __cdecl ecp_nistz256_scalar_to_montgomery_inv_vartime(struct ec_group_st const *,struct EC_SCALAR *,struct EC_SCALAR const *)" (?ecp_nistz256_scalar_to_montgomery_inv_vartime@@YAHPEBUec_group_st@@PEAUEC_SCALAR@@PEBU2@@Z)
04:09:35  libCCryptoBoringSSL.lib(bcm.cc.obj) : error LNK2019: unresolved external symbol CCryptoBoringSSL_ecp_nistz256_select_w5 referenced in function "void __cdecl ecp_nistz256_windowed_mul(struct ec_group_st const *,struct P256_POINT *,struct EC_JACOBIAN const *,struct EC_SCALAR const *)" (?ecp_nistz256_windowed_mul@@YAXPEBUec_group_st@@PEAUP256_POINT@@PEBUEC_JACOBIAN@@PEBUEC_SCALAR@@@Z)
04:09:35  libCCryptoBoringSSL.lib(bcm.cc.obj) : error LNK2019: unresolved external symbol CCryptoBoringSSL_ecp_nistz256_select_w7 referenced in function "void __cdecl ecp_nistz256_point_mul_base(struct ec_group_st const *,struct EC_JACOBIAN *,struct EC_SCALAR const *)" (?ecp_nistz256_point_mul_base@@YAXPEBUec_group_st@@PEAUEC_JACOBIAN@@PEBUEC_SCALAR@@@Z)
04:09:35  libCCryptoBoringSSL.lib(bcm.cc.obj) : error LNK2019: unresolved external symbol CCryptoBoringSSL_ecp_nistz256_point_double referenced in function "void __cdecl ecp_nistz256_dbl(struct ec_group_st const *,struct EC_JACOBIAN *,struct EC_JACOBIAN const *)" (?ecp_nistz256_dbl@@YAXPEBUec_group_st@@PEAUEC_JACOBIAN@@PEBU2@@Z)
04:09:35  libCCryptoBoringSSL.lib(bcm.cc.obj) : error LNK2019: unresolved external symbol CCryptoBoringSSL_ecp_nistz256_point_add referenced in function "void __cdecl ecp_nistz256_add(struct ec_group_st const *,struct EC_JACOBIAN *,struct EC_JACOBIAN const *,struct EC_JACOBIAN const *)" (?ecp_nistz256_add@@YAXPEBUec_group_st@@PEAUEC_JACOBIAN@@PEBU2@2@Z)
04:09:35  libCCryptoBoringSSL.lib(bcm.cc.obj) : error LNK2019: unresolved external symbol CCryptoBoringSSL_ecp_nistz256_point_add_affine referenced in function "void __cdecl ecp_nistz256_point_mul_base(struct ec_group_st const *,struct EC_JACOBIAN *,struct EC_SCALAR const *)" (?ecp_nistz256_point_mul_base@@YAXPEBUec_group_st@@PEAUEC_JACOBIAN@@PEBUEC_SCALAR@@@Z)
04:09:35  libCCryptoBoringSSL.lib(bcm.cc.obj) : error LNK2019: unresolved external symbol CCryptoBoringSSL_sha1_block_data_order_hw referenced in function "void __cdecl sha1_block_data_order(unsigned int * const,unsigned char const *,unsigned __int64)" (?sha1_block_data_order@@YAXQEAIPEBE_K@Z)
04:09:35  libCCryptoBoringSSL.lib(bcm.cc.obj) : error LNK2019: unresolved external symbol CCryptoBoringSSL_sha1_block_data_order_nohw referenced in function "void __cdecl sha1_block_data_order(unsigned int * const,unsigned char const *,unsigned __int64)" (?sha1_block_data_order@@YAXQEAIPEBE_K@Z)
04:09:35  libCCryptoBoringSSL.lib(bcm.cc.obj) : error LNK2019: unresolved external symbol CCryptoBoringSSL_sha256_block_data_order_hw referenced in function "void __cdecl sha256_block_data_order(unsigned int * const,unsigned char const *,unsigned __int64)" (?sha256_block_data_order@@YAXQEAIPEBE_K@Z)
04:09:35  libCCryptoBoringSSL.lib(bcm.cc.obj) : error LNK2019: unresolved external symbol CCryptoBoringSSL_sha256_block_data_order_nohw referenced in function "void __cdecl sha256_block_data_order(unsigned int * const,unsigned char const *,unsigned __int64)" (?sha256_block_data_order@@YAXQEAIPEBE_K@Z)
04:09:35  libCCryptoBoringSSL.lib(bcm.cc.obj) : error LNK2019: unresolved external symbol CCryptoBoringSSL_sha512_block_data_order_hw referenced in function "void __cdecl sha512_block_data_order(unsigned __int64 * const,unsigned char const *,unsigned __int64)" (?sha512_block_data_order@@YAXQEA_KPEBE_K@Z)
04:09:35  libCCryptoBoringSSL.lib(bcm.cc.obj) : error LNK2019: unresolved external symbol CCryptoBoringSSL_sha512_block_data_order_nohw referenced in function "void __cdecl sha512_block_data_order(unsigned __int64 * const,unsigned char const *,unsigned __int64)" (?sha512_block_data_order@@YAXQEA_KPEBE_K@Z)
04:09:35  bin\PackageCollectionsSigning.dll : fatal error LNK1120: 40 unresolved externals
04:09:35  clang: error: linker command failed with exit code 1120 (use -v to see invocation)
04:09:35  <unknown>:0: error: link command failed with exit code 1120 (use -v to see invocation)

Reproduction

Windows CI on https://ci-external.swift.org

Expected behavior

For the build to succeed

Environment

Windows

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions