mstorsjo/msvc-wine

LINK error if response files are huge

oetken opened this issue · 2 comments

oetken commented

Description

Linking with lots of objects fails. Maybe too many open files? Any ideas? Any help is highly appreciated ;)

cmake --build .
[ 63%] Built target crypto_obj
[ 63%] Linking C static library crypto-50.lib
Microsoft (R) Library Manager Version 14.38.33130.0
Copyright (C) Microsoft Corporation.  All rights reserved.

CMakeFiles/crypto.dir/empty.c.obj CMakeFiles/crypto_obj.dir/aes/aes_core.c.obj CMakeFiles/crypto_obj.dir/aes/aes_cbc.c.obj CMakeFiles/crypto_obj.dir/camellia/camellia.c.obj CMakeFiles/crypto_obj.dir/camellia/cmll_cbc.c.obj CMakeFiles/crypto_obj.dir/rc4/rc4_enc.c.obj CMakeFiles/crypto_obj.dir/rc4/rc4_skey.c.obj CMakeFiles/crypto_obj.dir/whrlpool/wp_block.c.obj CMakeFiles/crypto_obj.dir/cpt_err.c.obj CMakeFiles/crypto_obj.dir/cryptlib.c.obj CMakeFiles/crypto_obj.dir/crypto_init.c.obj CMakeFiles/crypto_obj.dir/cversion.c.obj CMakeFiles/crypto_obj.dir/ex_data.c.obj "CMakeFiles/crypto_obj.dir/malloc-wrapper.c.obj" CMakeFiles/crypto_obj.dir/mem_clr.c.obj CMakeFiles/crypto_obj.dir/mem_dbg.c.obj CMakeFiles/crypto_obj.dir/o_fips.c.obj CMakeFiles/crypto_obj.dir/o_init.c.obj CMakeFiles/crypto_obj.dir/o_str.c.obj CMakeFiles/crypto_obj.dir/aes/aes_cfb.c.obj CMakeFiles/crypto_obj.dir/aes/aes_ctr.c.obj CMakeFiles/crypto_obj.dir/aes/aes_ecb.c.obj CMakeFiles/crypto_obj.dir/aes/aes_ige.c.obj CMakeFiles/crypto_obj.dir/aes/aes_misc.c.obj CMakeFiles/crypto_obj.dir/aes/aes_ofb.c.obj CMakeFiles/crypto_obj.dir/aes/aes_wrap.c.obj CMakeFiles/crypto_obj.dir/asn1/a_bitstr.c.obj CMakeFiles/crypto_obj.dir/asn1/a_enum.c.obj CMakeFiles/crypto_obj.dir/asn1/a_int.c.obj CMakeFiles/crypto_obj.dir/asn1/a_mbstr.c.obj CMakeFiles/crypto_obj.dir/asn1/a_object.c.obj CMakeFiles/crypto_obj.dir/asn1/a_octet.c.obj CMakeFiles/crypto_obj.dir/asn1/a_pkey.c.obj CMakeFiles/crypto_obj.dir/asn1/a_print.c.obj CMakeFiles/crypto_obj.dir/asn1/a_pubkey.c.obj CMakeFiles/crypto_obj.dir/asn1/a_strex.c.obj CMakeFiles/crypto_obj.dir/asn1/a_string.c.obj CMakeFiles/crypto_obj.dir/asn1/a_strnid.c.obj CMakeFiles/crypto_obj.dir/asn1/a_time.c.obj CMakeFiles/crypto_obj.dir/asn1/a_time_posix.c.obj CMakeFiles/crypto_obj.dir/asn1/a_time_tm.c.obj CMakeFiles/crypto_obj.dir/asn1/a_type.c.obj CMakeFiles/crypto_obj.dir/asn1/a_utf8.c.obj CMakeFiles/crypto_obj.dir/asn1/ameth_lib.c.obj CMakeFiles/crypto_obj.dir/asn1/asn1_err.c.obj CMakeFiles/crypto_obj.dir/asn1/asn1_gen.c.obj CMakeFiles/crypto_obj.dir/asn1/asn1_item.c.obj CMakeFiles/crypto_obj.dir/asn1/asn1_lib.c.obj CMakeFiles/crypto_obj.dir/asn1/asn1_old.c.obj CMakeFiles/crypto_obj.dir/asn1/asn1_old_lib.c.obj CMakeFiles/crypto_obj.dir/asn1/asn1_par.c.obj CMakeFiles/crypto_obj.dir/asn1/asn1_types.c.obj CMakeFiles/crypto_obj.dir/asn1/asn_mime.c.obj CMakeFiles/crypto_obj.dir/asn1/asn_moid.c.obj CMakeFiles/crypto_obj.dir/asn1/bio_asn1.c.obj CMakeFiles/crypto_obj.dir/asn1/bio_ndef.c.obj CMakeFiles/crypto_obj.dir/asn1/nsseq.c.obj CMakeFiles/crypto_obj.dir/asn1/p5_pbe.c.obj CMakeFiles/crypto_obj.dir/asn1/p5_pbev2.c.obj CMakeFiles/crypto_obj.dir/asn1/p8_pkey.c.obj CMakeFiles/crypto_obj.dir/asn1/t_crl.c.obj CMakeFiles/crypto_obj.dir/asn1/t_pkey.c.obj CMakeFiles/crypto_obj.dir/asn1/t_req.c.obj CMakeFiles/crypto_obj.dir/asn1/t_spki.c.obj CMakeFiles/crypto_obj.dir/asn1/t_x509.c.obj CMakeFiles/crypto_obj.dir/asn1/t_x509a.c.obj CMakeFiles/crypto_obj.dir/asn1/tasn_dec.c.obj CMakeFiles/crypto_obj.dir/asn1/tasn_enc.c.obj CMakeFiles/crypto_obj.dir/asn1/tasn_fre.c.obj CMakeFiles/crypto_obj.dir/asn1/tasn_new.c.obj CMakeFiles/crypto_obj.dir/asn1/tasn_prn.c.obj CMakeFiles/crypto_obj.dir/asn1/tasn_typ.c.obj CMakeFiles/crypto_obj.dir/asn1/tasn_utl.c.obj CMakeFiles/crypto_obj.dir/asn1/x_algor.c.obj CMakeFiles/crypto_obj.dir/asn1/x_attrib.c.obj CMakeFiles/crypto_obj.dir/asn1/x_bignum.c.obj CMakeFiles/crypto_obj.dir/asn1/x_crl.c.obj CMakeFiles/crypto_obj.dir/asn1/x_exten.c.obj CMakeFiles/crypto_obj.dir/asn1/x_info.c.obj CMakeFiles/crypto_obj.dir/asn1/x_long.c.obj CMakeFiles/crypto_obj.dir/asn1/x_name.c.obj CMakeFiles/crypto_obj.dir/asn1/x_pkey.c.obj CMakeFiles/crypto_obj.dir/asn1/x_pubkey.c.obj CMakeFiles/crypto_obj.dir/asn1/x_req.c.obj CMakeFiles/crypto_obj.dir/asn1/x_sig.c.obj CMakeFiles/crypto_obj.dir/asn1/x_spki.c.obj CMakeFiles/crypto_obj.dir/asn1/x_val.c.obj CMakeFiles/crypto_obj.dir/asn1/x_x509.c.obj CMakeFiles/crypto_obj.dir/asn1/x_x509a.c.obj CMakeFiles/crypto_obj.dir/bf/bf_cfb64.c.obj CMakeFiles/crypto_obj.dir/bf/bf_ecb.c.obj CMakeFiles/crypto_obj.dir/bf/bf_enc.c.obj CMakeFiles/crypto_obj.dir/bf/bf_ofb64.c.obj CMakeFiles/crypto_obj.dir/bf/bf_skey.c.obj CMakeFiles/crypto_obj.dir/bio/b_dump.c.obj CMakeFiles/crypto_obj.dir/bio/b_print.c.obj CMakeFiles/crypto_obj.dir/bio/b_sock.c.obj CMakeFiles/crypto_obj.dir/bio/bf_buff.c.obj CMakeFiles/crypto_obj.dir/bio/bf_nbio.c.obj CMakeFiles/crypto_obj.dir/bio/bf_null.c.obj CMakeFiles/crypto_obj.dir/bio/bio_cb.c.obj CMakeFiles/crypto_obj.dir/bio/bio_err.c.obj CMakeFiles/crypto_obj.dir/bio/bio_lib.c.obj CMakeFiles/crypto_obj.dir/bio/bio_meth.c.obj CMakeFiles/crypto_obj.dir/bio/bss_acpt.c.obj CMakeFiles/crypto_obj.dir/bio/bss_bio.c.obj CMakeFiles/crypto_obj.dir/bio/bss_conn.c.obj CMakeFiles/crypto_obj.dir/bio/bss_dgram.c.obj CMakeFiles/crypto_obj.dir/bio/bss_fd.c.obj CMakeFiles/crypto_obj.dir/bio/bss_file.c.obj CMakeFiles/crypto_obj.dir/bio/bss_mem.c.obj CMakeFiles/crypto_obj.dir/bio/bss_null.c.obj CMakeFiles/crypto_obj.dir/bio/bss_sock.c.obj CMakeFiles/crypto_obj.dir/bn/bn_add.c.obj CMakeFiles/crypto_obj.dir/bn/bn_blind.c.obj CMakeFiles/crypto_obj.dir/bn/bn_bpsw.c.obj CMakeFiles/crypto_obj.dir/bn/bn_const.c.obj CMakeFiles/crypto_obj.dir/bn/bn_ctx.c.obj CMakeFiles/crypto_obj.dir/bn/bn_div.c.obj CMakeFiles/crypto_obj.dir/bn/bn_err.c.obj CMakeFiles/crypto_obj.dir/bn/bn_exp.c.obj CMakeFiles/crypto_obj.dir/bn/bn_gcd.c.obj CMakeFiles/crypto_obj.dir/bn/bn_gf2m.c.obj CMakeFiles/crypto_obj.dir/bn/bn_isqrt.c.obj CMakeFiles/crypto_obj.dir/bn/bn_kron.c.obj CMakeFiles/crypto_obj.dir/bn/bn_lib.c.obj CMakeFiles/crypto_obj.dir/bn/bn_mod.c.obj CMakeFiles/crypto_obj.dir/bn/bn_mont.c.obj CMakeFiles/crypto_obj.dir/bn/bn_mpi.c.obj CMakeFiles/crypto_obj.dir/bn/bn_mul.c.obj CMakeFiles/crypto_obj.dir/bn/bn_nist.c.obj CMakeFiles/crypto_obj.dir/bn/bn_prime.c.obj CMakeFiles/crypto_obj.dir/bn/bn_print.c.obj CMakeFiles/crypto_obj.dir/bn/bn_rand.c.obj CMakeFiles/crypto_obj.dir/bn/bn_recp.c.obj CMakeFiles/crypto_obj.dir/bn/bn_shift.c.obj CMakeFiles/crypto_obj.dir/bn/bn_small_primes.c.obj CMakeFiles/crypto_obj.dir/bn/bn_sqr.c.obj CMakeFiles/crypto_obj.dir/bn/bn_sqrt.c.obj CMakeFiles/crypto_obj.dir/bn/bn_word.c.obj CMakeFiles/crypto_obj.dir/bn/bn_x931p.c.obj CMakeFiles/crypto_obj.dir/buffer/buf_err.c.obj CMakeFiles/crypto_obj.dir/buffer/buf_str.c.obj CMakeFiles/crypto_obj.dir/buffer/buffer.c.obj CMakeFiles/crypto_obj.dir/bytestring/bs_ber.c.obj CMakeFiles/crypto_obj.dir/bytestring/bs_cbb.c.obj CMakeFiles/crypto_obj.dir/bytestring/bs_cbs.c.obj CMakeFiles/crypto_obj.dir/camellia/cmll_cfb.c.obj CMakeFiles/crypto_obj.dir/camellia/cmll_ctr.c.obj CMakeFiles/crypto_obj.dir/camellia/cmll_ecb.c.obj CMakeFiles/crypto_obj.dir/camellia/cmll_misc.c.obj CMakeFiles/crypto_obj.dir/camellia/cmll_ofb.c.obj CMakeFiles/crypto_obj.dir/cast/c_cfb64.c.obj CMakeFiles/crypto_obj.dir/cast/c_ecb.c.obj CMakeFiles/crypto_obj.dir/cast/c_enc.c.obj CMakeFiles/crypto_obj.dir/cast/c_ofb64.c.obj CMakeFiles/crypto_obj.dir/cast/c_skey.c.obj CMakeFiles/crypto_obj.dir/chacha/chacha.c.obj CMakeFiles/crypto_obj.dir/cmac/cm_ameth.c.obj CMakeFiles/crypto_obj.dir/cmac/cm_pmeth.c.obj CMakeFiles/crypto_obj.dir/cmac/cmac.c.obj CMakeFiles/crypto_obj.dir/cms/cms_asn1.c.obj CMakeFiles/crypto_obj.dir/cms/cms_att.c.obj CMakeFiles/crypto_obj.dir/cms/cms_cd.c.obj CMakeFiles/crypto_obj.dir/cms/cms_dd.c.obj CMakeFiles/crypto_obj.dir/cms/cms_enc.c.obj CMakeFiles/crypto_obj.dir/cms/cms_env.c.obj CMakeFiles/crypto_obj.dir/cms/cms_err.c.obj CMakeFiles/crypto_obj.dir/cms/cms_ess.c.obj CMakeFiles/crypto_obj.dir/cms/cms_io.c.obj CMakeFiles/crypto_obj.dir/cms/cms_kari.c.obj CMakeFiles/crypto_obj.dir/cms/cms_lib.c.obj CMakeFiles/crypto_obj.dir/cms/cms_pwri.c.obj CMakeFiles/crypto_obj.dir/cms/cms_sd.c.obj CMakeFiles/crypto_obj.dir/cms/cms_smime.c.obj CMakeFiles/crypto_obj.dir/comp/c_rle.c.obj CMakeFiles/crypto_obj.dir/comp/c_zlib.c.obj CMakeFiles/crypto_obj.dir/comp/comp_err.c.obj CMakeFiles/crypto_obj.dir/comp/comp_lib.c.obj CMakeFiles/crypto_obj.dir/conf/conf_api.c.obj CMakeFiles/crypto_obj.dir/conf/conf_def.c.obj CMakeFiles/crypto_obj.dir/conf/conf_err.c.obj CMakeFiles/crypto_obj.dir/conf/conf_lib.c.obj CMakeFiles/crypto_obj.dir/conf/conf_mall.c.obj CMakeFiles/crypto_obj.dir/conf/conf_mod.c.obj CMakeFiles/crypto_obj.dir/conf/conf_sap.c.obj CMakeFiles/crypto_obj.dir/ct/ct_b64.c.obj CMakeFiles/crypto_obj.dir/ct/ct_err.c.obj CMakeFiles/crypto_obj.dir/ct/ct_log.c.obj CMakeFiles/crypto_obj.dir/ct/ct_oct.c.obj CMakeFiles/crypto_obj.dir/ct/ct_policy.c.obj CMakeFiles/crypto_obj.dir/ct/ct_prn.c.obj CMakeFiles/crypto_obj.dir/ct/ct_sct.c.obj CMakeFiles/crypto_obj.dir/ct/ct_sct_ctx.c.obj CMakeFiles/crypto_obj.dir/ct/ct_vfy.c.obj CMakeFiles/crypto_obj.dir/ct/ct_x509v3.c.obj "CMakeFiles/crypto_obj.dir/curve25519/curve25519-generic.c.obj" CMakeFiles/crypto_obj.dir/curve25519/curve25519.c.obj CMakeFiles/crypto_obj.dir/des/cbc_cksm.c.obj CMakeFiles/crypto_obj.dir/des/cbc_enc.c.obj CMakeFiles/crypto_obj.dir/des/cfb64ede.c.obj CMakeFiles/crypto_obj.dir/des/cfb64enc.c.obj CMakeFiles/crypto_obj.dir/des/cfb_enc.c.obj CMakeFiles/crypto_obj.dir/des/des_enc.c.obj CMakeFiles/crypto_obj.dir/des/ecb3_enc.c.obj CMakeFiles/crypto_obj.dir/des/ecb_enc.c.obj CMakeFiles/crypto_obj.dir/des/ede_cbcm_enc.c.obj CMakeFiles/crypto_obj.dir/des/enc_read.c.obj CMakeFiles/crypto_obj.dir/des/enc_writ.c.obj CMakeFiles/crypto_obj.dir/des/fcrypt.c.obj CMakeFiles/crypto_obj.dir/des/fcrypt_b.c.obj CMakeFiles/crypto_obj.dir/des/ofb64ede.c.obj CMakeFiles/crypto_obj.dir/des/ofb64enc.c.obj CMakeFiles/crypto_obj.dir/des/ofb_enc.c.obj CMakeFiles/crypto_obj.dir/des/pcbc_enc.c.obj CMakeFiles/crypto_obj.dir/des/qud_cksm.c.obj CMakeFiles/crypto_obj.dir/des/rand_key.c.obj CMakeFiles/crypto_obj.dir/des/set_key.c.obj CMakeFiles/crypto_obj.dir/des/str2key.c.obj CMakeFiles/crypto_obj.dir/des/xcbc_enc.c.obj CMakeFiles/crypto_obj.dir/dh/dh_ameth.c.obj CMakeFiles/crypto_obj.dir/dh/dh_asn1.c.obj CMakeFiles/crypto_obj.dir/dh/dh_check.c.obj CMakeFiles/crypto_obj.dir/dh/dh_depr.c.obj CMakeFiles/crypto_obj.dir/dh/dh_err.c.obj CMakeFiles/crypto_obj.dir/dh/dh_gen.c.obj CMakeFiles/crypto_obj.dir/dh/dh_key.c.obj CMakeFiles/crypto_obj.dir/dh/dh_lib.c.obj CMakeFiles/crypto_obj.dir/dh/dh_pmeth.c.obj CMakeFiles/crypto_obj.dir/dh/dh_prn.c.obj CMakeFiles/crypto_obj.dir/dsa/dsa_ameth.c.obj CMakeFiles/crypto_obj.dir/dsa/dsa_asn1.c.obj CMakeFiles/crypto_obj.dir/dsa/dsa_depr.c.obj CMakeFiles/crypto_obj.dir/dsa/dsa_err.c.obj CMakeFiles/crypto_obj.dir/dsa/dsa_gen.c.obj CMakeFiles/crypto_obj.dir/dsa/dsa_key.c.obj CMakeFiles/crypto_obj.dir/dsa/dsa_lib.c.obj CMakeFiles/crypto_obj.dir/dsa/dsa_meth.c.obj CMakeFiles/crypto_obj.dir/dsa/dsa_ossl.c.obj CMakeFiles/crypto_obj.dir/dsa/dsa_pmeth.c.obj CMakeFiles/crypto_obj.dir/dsa/dsa_prn.c.obj CMakeFiles/crypto_obj.dir/dso/dso_dlfcn.c.obj CMakeFiles/crypto_obj.dir/dso/dso_err.c.obj CMakeFiles/crypto_obj.dir/dso/dso_lib.c.obj CMakeFiles/crypto_obj.dir/dso/dso_null.c.obj CMakeFiles/crypto_obj.dir/dso/dso_openssl.c.obj CMakeFiles/crypto_obj.dir/ec/ec2_mult.c.obj CMakeFiles/crypto_obj.dir/ec/ec2_oct.c.obj CMakeFiles/crypto_obj.dir/ec/ec2_smpl.c.obj CMakeFiles/crypto_obj.dir/ec/ec_ameth.c.obj CMakeFiles/crypto_obj.dir/ec/ec_asn1.c.obj CMakeFiles/crypto_obj.dir/ec/ec_check.c.obj CMakeFiles/crypto_obj.dir/ec/ec_curve.c.obj CMakeFiles/crypto_obj.dir/ec/ec_cvt.c.obj CMakeFiles/crypto_obj.dir/ec/ec_err.c.obj CMakeFiles/crypto_obj.dir/ec/ec_key.c.obj CMakeFiles/crypto_obj.dir/ec/ec_kmeth.c.obj CMakeFiles/crypto_obj.dir/ec/ec_lib.c.obj CMakeFiles/crypto_obj.dir/ec/ec_mult.c.obj CMakeFiles/crypto_obj.dir/ec/ec_oct.c.obj CMakeFiles/crypto_obj.dir/ec/ec_pmeth.c.obj CMakeFiles/crypto_obj.dir/ec/ec_print.c.obj CMakeFiles/crypto_obj.dir/ec/eck_prn.c.obj CMakeFiles/crypto_obj.dir/ec/ecp_mont.c.obj CMakeFiles/crypto_obj.dir/ec/ecp_nist.c.obj CMakeFiles/crypto_obj.dir/ec/ecp_oct.c.obj CMakeFiles/crypto_obj.dir/ec/ecp_smpl.c.obj CMakeFiles/crypto_obj.dir/ec/ecx_methods.c.obj CMakeFiles/crypto_obj.dir/ecdh/ecdh_kdf.c.obj CMakeFiles/crypto_obj.dir/ecdh/ech_err.c.obj CMakeFiles/crypto_obj.dir/ecdh/ech_key.c.obj CMakeFiles/crypto_obj.dir/ecdh/ech_lib.c.obj CMakeFiles/crypto_obj.dir/ecdsa/ecs_asn1.c.obj CMakeFiles/crypto_obj.dir/ecdsa/ecs_err.c.obj CMakeFiles/crypto_obj.dir/ecdsa/ecs_lib.c.obj CMakeFiles/crypto_obj.dir/ecdsa/ecs_ossl.c.obj CMakeFiles/crypto_obj.dir/ecdsa/ecs_sign.c.obj CMakeFiles/crypto_obj.dir/ecdsa/ecs_vrf.c.obj CMakeFiles/crypto_obj.dir/engine/eng_all.c.obj CMakeFiles/crypto_obj.dir/engine/eng_cnf.c.obj CMakeFiles/crypto_obj.dir/engine/eng_ctrl.c.obj CMakeFiles/crypto_obj.dir/engine/eng_dyn.c.obj CMakeFiles/crypto_obj.dir/engine/eng_err.c.obj CMakeFiles/crypto_obj.dir/engine/eng_fat.c.obj CMakeFiles/crypto_obj.dir/engine/eng_init.c.obj CMakeFiles/crypto_obj.dir/engine/eng_lib.c.obj CMakeFiles/crypto_obj.dir/engine/eng_list.c.obj CMakeFiles/crypto_obj.dir/engine/eng_openssl.c.obj CMakeFiles/crypto_obj.dir/engine/eng_pkey.c.obj CMakeFiles/crypto_obj.dir/engine/eng_table.c.obj CMakeFiles/crypto_obj.dir/engine/tb_asnmth.c.obj CMakeFiles/crypto_obj.dir/engine/tb_cipher.c.obj CMakeFiles/crypto_obj.dir/engine/tb_dh.c.obj CMakeFiles/crypto_obj.dir/engine/tb_digest.c.obj CMakeFiles/crypto_obj.dir/engine/tb_dsa.c.obj CMakeFiles/crypto_obj.dir/engine/tb_ecdh.c.obj CMakeFiles/crypto_obj.dir/engine/tb_ecdsa.c.obj CMakeFiles/crypto_obj.dir/engine/tb_eckey.c.obj CMakeFiles/crypto_obj.dir/engine/tb_pkmeth.c.obj CMakeFiles/crypto_obj.dir/engine/tb_rand.c.obj CMakeFiles/crypto_obj.dir/engine/tb_rsa.c.obj CMakeFiles/crypto_obj.dir/engine/tb_store.c.obj CMakeFiles/crypto_obj.dir/err/err.c.obj CMakeFiles/crypto_obj.dir/err/err_all.c.obj CMakeFiles/crypto_obj.dir/err/err_prn.c.obj CMakeFiles/crypto_obj.dir/evp/bio_b64.c.obj CMakeFiles/crypto_obj.dir/evp/bio_enc.c.obj CMakeFiles/crypto_obj.dir/evp/bio_md.c.obj CMakeFiles/crypto_obj.dir/evp/c_all.c.obj CMakeFiles/crypto_obj.dir/evp/cipher_method_lib.c.obj CMakeFiles/crypto_obj.dir/evp/digest.c.obj CMakeFiles/crypto_obj.dir/evp/e_aes.c.obj CMakeFiles/crypto_obj.dir/evp/e_aes_cbc_hmac_sha1.c.obj CMakeFiles/crypto_obj.dir/evp/e_bf.c.obj CMakeFiles/crypto_obj.dir/evp/e_camellia.c.obj CMakeFiles/crypto_obj.dir/evp/e_cast.c.obj CMakeFiles/crypto_obj.dir/evp/e_chacha.c.obj CMakeFiles/crypto_obj.dir/evp/e_chacha20poly1305.c.obj CMakeFiles/crypto_obj.dir/evp/e_des.c.obj CMakeFiles/crypto_obj.dir/evp/e_des3.c.obj CMakeFiles/crypto_obj.dir/evp/e_gost2814789.c.obj CMakeFiles/crypto_obj.dir/evp/e_idea.c.obj CMakeFiles/crypto_obj.dir/evp/e_null.c.obj CMakeFiles/crypto_obj.dir/evp/e_old.c.obj CMakeFiles/crypto_obj.dir/evp/e_rc2.c.obj CMakeFiles/crypto_obj.dir/evp/e_rc4.c.obj CMakeFiles/crypto_obj.dir/evp/e_rc4_hmac_md5.c.obj CMakeFiles/crypto_obj.dir/evp/e_sm4.c.obj CMakeFiles/crypto_obj.dir/evp/e_xcbc_d.c.obj CMakeFiles/crypto_obj.dir/evp/encode.c.obj CMakeFiles/crypto_obj.dir/evp/evp_aead.c.obj CMakeFiles/crypto_obj.dir/evp/evp_enc.c.obj CMakeFiles/crypto_obj.dir/evp/evp_err.c.obj CMakeFiles/crypto_obj.dir/evp/evp_key.c.obj CMakeFiles/crypto_obj.dir/evp/evp_lib.c.obj CMakeFiles/crypto_obj.dir/evp/evp_pbe.c.obj CMakeFiles/crypto_obj.dir/evp/evp_pkey.c.obj CMakeFiles/crypto_obj.dir/evp/m_gost2814789.c.obj CMakeFiles/crypto_obj.dir/evp/m_gostr341194.c.obj CMakeFiles/crypto_obj.dir/evp/m_md4.c.obj CMakeFiles/crypto_obj.dir/evp/m_md5.c.obj CMakeFiles/crypto_obj.dir/evp/m_md5_sha1.c.obj CMakeFiles/crypto_obj.dir/evp/m_null.c.obj CMakeFiles/crypto_obj.dir/evp/m_ripemd.c.obj CMakeFiles/crypto_obj.dir/evp/m_sha1.c.obj CMakeFiles/crypto_obj.dir/evp/m_sigver.c.obj CMakeFiles/crypto_obj.dir/evp/m_streebog.c.obj CMakeFiles/crypto_obj.dir/evp/m_sm3.c.obj CMakeFiles/crypto_obj.dir/evp/m_wp.c.obj CMakeFiles/crypto_obj.dir/evp/names.c.obj CMakeFiles/crypto_obj.dir/evp/p5_crpt.c.obj CMakeFiles/crypto_obj.dir/evp/p5_crpt2.c.obj CMakeFiles/crypto_obj.dir/evp/p_dec.c.obj CMakeFiles/crypto_obj.dir/evp/p_enc.c.obj CMakeFiles/crypto_obj.dir/evp/p_lib.c.obj CMakeFiles/crypto_obj.dir/evp/p_open.c.obj CMakeFiles/crypto_obj.dir/evp/p_seal.c.obj CMakeFiles/crypto_obj.dir/evp/p_sign.c.obj CMakeFiles/crypto_obj.dir/evp/p_verify.c.obj CMakeFiles/crypto_obj.dir/evp/pmeth_fn.c.obj CMakeFiles/crypto_obj.dir/evp/pmeth_gn.c.obj CMakeFiles/crypto_obj.dir/evp/pmeth_lib.c.obj CMakeFiles/crypto_obj.dir/gost/gost2814789.c.obj CMakeFiles/crypto_obj.dir/gost/gost89_keywrap.c.obj CMakeFiles/crypto_obj.dir/gost/gost89_params.c.obj CMakeFiles/crypto_obj.dir/gost/gost89imit_ameth.c.obj CMakeFiles/crypto_obj.dir/gost/gost89imit_pmeth.c.obj CMakeFiles/crypto_obj.dir/gost/gost_asn1.c.obj CMakeFiles/crypto_obj.dir/gost/gost_err.c.obj CMakeFiles/crypto_obj.dir/gost/gostr341001.c.obj CMakeFiles/crypto_obj.dir/gost/gostr341001_ameth.c.obj CMakeFiles/crypto_obj.dir/gost/gostr341001_key.c.obj CMakeFiles/crypto_obj.dir/gost/gostr341001_params.c.obj CMakeFiles/crypto_obj.dir/gost/gostr341001_pmeth.c.obj CMakeFiles/crypto_obj.dir/gost/gostr341194.c.obj CMakeFiles/crypto_obj.dir/gost/streebog.c.obj CMakeFiles/crypto_obj.dir/hkdf/hkdf.c.obj CMakeFiles/crypto_obj.dir/hmac/hm_ameth.c.obj CMakeFiles/crypto_obj.dir/hmac/hm_pmeth.c.obj CMakeFiles/crypto_obj.dir/hmac/hmac.c.obj CMakeFiles/crypto_obj.dir/idea/i_cbc.c.obj CMakeFiles/crypto_obj.dir/idea/i_cfb64.c.obj CMakeFiles/crypto_obj.dir/idea/i_ecb.c.obj CMakeFiles/crypto_obj.dir/idea/i_ofb64.c.obj CMakeFiles/crypto_obj.dir/idea/i_skey.c.obj CMakeFiles/crypto_obj.dir/kdf/hkdf_evp.c.obj CMakeFiles/crypto_obj.dir/kdf/kdf_err.c.obj CMakeFiles/crypto_obj.dir/lhash/lh_stats.c.obj 
LINK : fatal error LNK1104: cannot open file 'CMakeFiles\crypto_obj.dir\lhash\lh_stats.c.obj'
gmake[2]: *** [crypto/CMakeFiles/crypto.dir/build.make:1279: crypto/crypto-50.lib] Fehler 80
gmake[1]: *** [CMakeFiles/Makefile2:512: crypto/CMakeFiles/crypto.dir/all] Fehler 2
gmake: *** [Makefile:134: all] Fehler 2

Steps to reproduce

git clone https://github.com/oetken/libressl
cd libressl
git checkout v3.7.2
mkdir build && cd build
CC=cl CXX=cl LD=linker cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_SYSTEM_NAME=Windows
cmake --build .

I've run into this in some cases, IIRC when trying to build ffmpeg - although it does seem to work in some configurations as well.

In any case, in some environments, I run ulimit -n 10240 before starting up the wineserver (if using a persistent wineserver), that can help with such issues. Check with ulimit -n what the current limit is, and see how far you can raise it.

oetken commented

@mstorsjo Thanks alot, setting ulimit before starting the wineserver was the important point.