Re: VS 2022 version 17.9.1 has a bug preventing building cli_ure
I can confirm this issue with Microsoft Visual Studio Professional 2022 (64-Bit) - Current Version 17.10.3 LINK : error LNK2034: Die Metadaten sind nicht konsistent mit der COFF-Symboltabelle: Symbol "?rtl_ustr_asciil_reverseEquals_WithLength@@$$J0YAEPEB_SPEBDJ@Z" (06000537) weist inkonsistente Metadaten mit (0A0009DC) in climaker_emit.o auf. climaker_emit.o : error LNK2020: Nicht aufgelöstes Token (0A0009DC) "extern "C" unsigned char __cdecl rtl_ustr_asciil_reverseEquals_WithLength(char16_t const *,char const *,long)" (?rtl_ustr_asciil_reverseEquals_WithLength@@$$J0YAEPEB_SPEBDJ@Z). D:\sources\libo-core\instdir\sdk\bin\climaker.exe : fatal error LNK1120: 1 nicht aufgelöste Externe [LNK] Library/wininetbe1lo.dll [DEP] LNK:Executable/helpex.exe.d mt.exe : general error c101008d: Failed to write the updated manifest to the resource of file "D:/sources/libo-core/instdir/sdk/bin/climaker.exe". Das System kann die angegebene Datei nicht finden. [LNK] Executable/helpex.exe make[1]: *** [D:/sources/libo-core/cli_ure/Executable_climaker.mk:10: D:/sources/libo-core/instdir/sdk/bin/climaker.exe] Error 96 make[1]: *** Waiting for unfinished jobs make: *** [Makefile:295: build] Error 2 Am 22.05.2024 um 20:39 schrieb Vasily Melenchuk: New version of Visual Studio 17.10.0 has exactly the same issue again. Do not hurry with update. LINK : error LNK2034: metadata inconsistent with COFF symbol table: symbol '? rtl_ustr_asciil_reverseEquals_WithLength@@$$J0YAEPEB_SPEBDJ@Z' (06000589) has inconsistent metadata with(0A000A14) in climaker_emit.o climaker_emit.o : error LNK2020: unresolved token (0A000A14) "extern "C" unsigned char __cdecl rtl_ustr_asciil_reverseEquals_WithLength(char16_t const *,char const *,long)" (? rtl_ustr_asciil_reverseEquals_WithLength@@$$J0YAEPEB_SPEBDJ@Z) D:\libreoffice\master\instdir\sdk\bin\climaker.exe : fatal error LNK1120: 1 unresolved externals -Original Message- From: LibreOffice On Behalf Of Oliver Brinzing Sent: Thursday, March 21, 2024 10:58 PM To: libreoffice@lists.freedesktop.org Subject: Re: VS 2022 version 17.9.1 has a bug preventing building cli_ure Am 20.03.2024 um 06:01 schrieb Mike Kaganski: On 24.02.2024 21:50, Mike Kaganski wrote: After upgrading my VS v.17.9.0 to v.17.9.1, building cli_ure started to fail like this: LINK : error LNK2034: metadata inconsistent with COFF symbol table: symbol '?rtl_ustr_asciil_reverseEquals_WithLength@@$$J0YAEPEB_SPEBDJ@Z' (06000579) has inconsistent metadata with (0A000A1A) in climaker_emit.o climaker_emit.o : error LNK2020: unresolved token (0A000A1A) "extern "C" unsigned char __cdecl rtl_ustr_asciil_reverseEquals_WithLength(char16_t const *,char const *,long)" (?rtl_ustr_asciil_reverseEquals_WithLength@@$$J0YAEPEB_SPEBDJ@Z) C:\lo\build\instdir\sdk\bin\climaker.exe : fatal error LNK1120: 1 unresolved externals I have filed a bug to Microsoft: https://deu01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdev elopercommunity.visualstudio.com%2Ft%2FLINK-%3A-error-LNK2034%3A-meta data-inconsis%2F10599604%3Fport%3D1025%26fsid%3Dfdff4046-995a-4c06-8c 64-1c14b9752c8f&data=05%7C02%7Cvasily.melenchuk%40cib.de%7C18f799eaae bb4c97b38108dc49e142af%7C00dd3e38f5434e1a88b93dbb13d75c49%7C0%7C0%7C6 38466479173686144%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjo iV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C4%7C%7C%7C&sdata=5yAjhj 9ym%2FhxgKpBUeYmnNftJ2md%2F8D82udjjOOKr%2BY%3D&reserved=0 This problem is fixed in VS 2022 version 17.9.4: https://deu01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flear n.microsoft.com%2Fen-us%2Fvisualstudio%2Freleases%2F2022%2Frelease-not es%2317.9.4&data=05%7C02%7Cvasily.melenchuk%40cib.de%7C18f799eaaebb4c9 7b38108dc49e142af%7C00dd3e38f5434e1a88b93dbb13d75c49%7C0%7C0%7C6384664 79173695033%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMz IiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C4%7C%7C%7C&sdata=%2FvnkJSIPmEMe S4bWkRU%2B3sSDSJ0BzdEZ2ERpL8Lh%2F6Y%3D&reserved=0 yes, it works again with VS 2022 btw: i had a build break after a "clean build": cd /cygdrive/d/sources/libo-core ./g checkout master ./g fetch --tags ./g pull -r /opt/lo/bin/make clean gb_COLOR=1 gb_TITLES=1 /cygdrive/d/sources/libo-core/autogen.sh \ --with-external-tar=/cygdrive/d/sources/lo-externalsrc \ --with-junit=/cygdrive/d/sources/junit-4.10.jar \ --with-ant-home=/cygdrive/d/sources/apache-ant-1.9.5 \ --with-jdk-home=/cygdrive/d/Programme/Java/jdk-17 \ --enable-pch \ --disable-ccache \ --enable-debug \ --disable-odk \ --disable-online-update \ --with-visual-studio=2022 /opt/lo/bin/make build gb_COLOR=1 gb_TITLES=1 2>&1 | tee build.log [...] [PAT] icu [BIN] dragonbox [MOD] frozen [BIN] glm Configuring OpenSSL version 3.0.13 for target VC-WIN64A Using os-specific seed configuration /cygdrive/d/sources/li
RE: VS 2022 version 17.9.1 has a bug preventing building cli_ure
New version of Visual Studio 17.10.0 has exactly the same issue again. Do not hurry with update. LINK : error LNK2034: metadata inconsistent with COFF symbol table: symbol '? rtl_ustr_asciil_reverseEquals_WithLength@@$$J0YAEPEB_SPEBDJ@Z' (06000589) has inconsistent metadata with(0A000A14) in climaker_emit.o climaker_emit.o : error LNK2020: unresolved token (0A000A14) "extern "C" unsigned char __cdecl rtl_ustr_asciil_reverseEquals_WithLength(char16_t const *,char const *,long)" (? rtl_ustr_asciil_reverseEquals_WithLength@@$$J0YAEPEB_SPEBDJ@Z) D:\libreoffice\master\instdir\sdk\bin\climaker.exe : fatal error LNK1120: 1 unresolved externals -Original Message- From: LibreOffice On Behalf Of Oliver Brinzing Sent: Thursday, March 21, 2024 10:58 PM To: libreoffice@lists.freedesktop.org Subject: Re: VS 2022 version 17.9.1 has a bug preventing building cli_ure Am 20.03.2024 um 06:01 schrieb Mike Kaganski: > On 24.02.2024 21:50, Mike Kaganski wrote: >> After upgrading my VS v.17.9.0 to v.17.9.1, building cli_ure started to fail >> like this: >> >>> LINK : error LNK2034: metadata inconsistent with COFF symbol table: >>> symbol >>> '?rtl_ustr_asciil_reverseEquals_WithLength@@$$J0YAEPEB_SPEBDJ@Z' >>> (06000579) has inconsistent metadata with (0A000A1A) in >>> climaker_emit.o climaker_emit.o : error LNK2020: unresolved token >>> (0A000A1A) "extern "C" unsigned char __cdecl >>> rtl_ustr_asciil_reverseEquals_WithLength(char16_t const *,char const >>> *,long)" >>> (?rtl_ustr_asciil_reverseEquals_WithLength@@$$J0YAEPEB_SPEBDJ@Z) >>> C:\lo\build\instdir\sdk\bin\climaker.exe : fatal error LNK1120: 1 >>> unresolved externals >> >> I have filed a bug to Microsoft: >> >> https://deu01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdev >> elopercommunity.visualstudio.com%2Ft%2FLINK-%3A-error-LNK2034%3A-meta >> data-inconsis%2F10599604%3Fport%3D1025%26fsid%3Dfdff4046-995a-4c06-8c >> 64-1c14b9752c8f&data=05%7C02%7Cvasily.melenchuk%40cib.de%7C18f799eaae >> bb4c97b38108dc49e142af%7C00dd3e38f5434e1a88b93dbb13d75c49%7C0%7C0%7C6 >> 38466479173686144%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjo >> iV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C4%7C%7C%7C&sdata=5yAjhj >> 9ym%2FhxgKpBUeYmnNftJ2md%2F8D82udjjOOKr%2BY%3D&reserved=0 > > This problem is fixed in VS 2022 version 17.9.4: > https://deu01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flear > n.microsoft.com%2Fen-us%2Fvisualstudio%2Freleases%2F2022%2Frelease-not > es%2317.9.4&data=05%7C02%7Cvasily.melenchuk%40cib.de%7C18f799eaaebb4c9 > 7b38108dc49e142af%7C00dd3e38f5434e1a88b93dbb13d75c49%7C0%7C0%7C6384664 > 79173695033%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMz > IiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C4%7C%7C%7C&sdata=%2FvnkJSIPmEMe > S4bWkRU%2B3sSDSJ0BzdEZ2ERpL8Lh%2F6Y%3D&reserved=0 > yes, it works again with VS 2022 btw: i had a build break after a "clean build": cd /cygdrive/d/sources/libo-core ./g checkout master ./g fetch --tags ./g pull -r /opt/lo/bin/make clean gb_COLOR=1 gb_TITLES=1 /cygdrive/d/sources/libo-core/autogen.sh \ --with-external-tar=/cygdrive/d/sources/lo-externalsrc \ --with-junit=/cygdrive/d/sources/junit-4.10.jar \ --with-ant-home=/cygdrive/d/sources/apache-ant-1.9.5 \ --with-jdk-home=/cygdrive/d/Programme/Java/jdk-17 \ --enable-pch \ --disable-ccache \ --enable-debug \ --disable-odk \ --disable-online-update \ --with-visual-studio=2022 /opt/lo/bin/make build gb_COLOR=1 gb_TITLES=1 2>&1 | tee build.log [...] [PAT] icu [BIN] dragonbox [MOD] frozen [BIN] glm Configuring OpenSSL version 3.0.13 for target VC-WIN64A Using os-specific seed configuration /cygdrive/d/sources/libo-core/workdir/UnpackedTarball/openssl/crypto/sha/../providers: No such file or directory at Configure line 3419. make[1]: *** [D:/sources/libo-core/external/openssl/ExternalProject_openssl.mk:67: D:/sources/libo-core/workdir/ExternalProject/openssl/build] Error 1 make[1]: *** Waiting for unfinished jobs but folder "providers" is located at: /cygdrive/d/sources/libo-core/workdir/UnpackedTarball/openssl/providers workaround: copy folder "providers" to: /cygdrive/d/sources/libo-core/workdir/UnpackedTarball/openssl/crypto
Re: VS 2022 version 17.9.1 has a bug preventing building cli_ure
> Am 23.03.2024 um 14:37 schrieb Mike Kaganski : > > On 23.03.2024 18:29, Oliver Brinzing wrote: >> i decided to install a complete new cygwin environment as described in: >> https://wiki.documentfoundation.org/Development/BuildingOnWindows >> but now, the build freezes reproducible immediately after some folders in >> \workdir are created: > > Possibly related to > https://lists.freedesktop.org/archives/libreoffice/2024-February/091524.html ? > -- > Best regards, > Mike Kaganski yes, a downgrade fixed the problem 😀 thx
Re: VS 2022 version 17.9.1 has a bug preventing building cli_ure
On 23.03.2024 18:29, Oliver Brinzing wrote: i decided to install a complete new cygwin environment as described in: https://wiki.documentfoundation.org/Development/BuildingOnWindows but now, the build freezes reproducible immediately after some folders in \workdir are created: Possibly related to https://lists.freedesktop.org/archives/libreoffice/2024-February/091524.html ? -- Best regards, Mike Kaganski
Re: VS 2022 version 17.9.1 has a bug preventing building cli_ure
Am 23.03.2024 um 00:04 schrieb Christian Lohmaier: Hi *, On Thu, Mar 21, 2024 at 8:58 PM Oliver Brinzing wrote: […] Configuring OpenSSL version 3.0.13 for target VC-WIN64A Using os-specific seed configuration /cygdrive/d/sources/libo-core/workdir/UnpackedTarball/openssl/crypto/sha/../providers: No such file or directory at Configure line 3419. Also had that on a system with a pretty old cygwin installation → update perl and it should work again. ciao Christian i decided to install a complete new cygwin environment as described in: https://wiki.documentfoundation.org/Development/BuildingOnWindows but now, the build freezes reproducible immediately after some folders in \workdir are created: x@LAPTOP /cygdrive/d/sources/libo-core $ /opt/lo/bin/make build gb_COLOR=1 gb_TITLES=1 2>&1 | tee build.log C:/cygwin/opt/lo/bin/make -j 12 -rs -f D:/sources/libo-core/Makefile.gbuild build 0 [] mkdir 8279 C:\cygwin\bin\mkdir.exe: *** fatal error - Can't reopen shared memory during exec, Win32 error 6 1 [] mkdir 8281 C:\cygwin\bin\mkdir.exe: *** fatal error - Can't reopen shared memory during exec, Win32 error 6 1 [] mkdir 7890 C:\cygwin\bin\mkdir.exe: *** fatal error - Can't reopen shared memory during exec, Win32 error 6 [..] any hints ? btw: changing back to my old cygwin makes it work again ... Oliver
Re: VS 2022 version 17.9.1 has a bug preventing building cli_ure
Hi *, On Thu, Mar 21, 2024 at 8:58 PM Oliver Brinzing wrote: > […] > Configuring OpenSSL version 3.0.13 for target VC-WIN64A > Using os-specific seed configuration > /cygdrive/d/sources/libo-core/workdir/UnpackedTarball/openssl/crypto/sha/../providers: > No such file > or directory at Configure line 3419. Also had that on a system with a pretty old cygwin installation → update perl and it should work again. ciao Christian
Re: VS 2022 version 17.9.1 has a bug preventing building cli_ure
Am 20.03.2024 um 06:01 schrieb Mike Kaganski: On 24.02.2024 21:50, Mike Kaganski wrote: After upgrading my VS v.17.9.0 to v.17.9.1, building cli_ure started to fail like this: LINK : error LNK2034: metadata inconsistent with COFF symbol table: symbol '?rtl_ustr_asciil_reverseEquals_WithLength@@$$J0YAEPEB_SPEBDJ@Z' (06000579) has inconsistent metadata with (0A000A1A) in climaker_emit.o climaker_emit.o : error LNK2020: unresolved token (0A000A1A) "extern "C" unsigned char __cdecl rtl_ustr_asciil_reverseEquals_WithLength(char16_t const *,char const *,long)" (?rtl_ustr_asciil_reverseEquals_WithLength@@$$J0YAEPEB_SPEBDJ@Z) C:\lo\build\instdir\sdk\bin\climaker.exe : fatal error LNK1120: 1 unresolved externals I have filed a bug to Microsoft: https://developercommunity.visualstudio.com/t/LINK-:-error-LNK2034:-metadata-inconsis/10599604?port=1025&fsid=fdff4046-995a-4c06-8c64-1c14b9752c8f This problem is fixed in VS 2022 version 17.9.4: https://learn.microsoft.com/en-us/visualstudio/releases/2022/release-notes#17.9.4 yes, it works again with VS 2022 btw: i had a build break after a "clean build": cd /cygdrive/d/sources/libo-core ./g checkout master ./g fetch --tags ./g pull -r /opt/lo/bin/make clean gb_COLOR=1 gb_TITLES=1 /cygdrive/d/sources/libo-core/autogen.sh \ --with-external-tar=/cygdrive/d/sources/lo-externalsrc \ --with-junit=/cygdrive/d/sources/junit-4.10.jar \ --with-ant-home=/cygdrive/d/sources/apache-ant-1.9.5 \ --with-jdk-home=/cygdrive/d/Programme/Java/jdk-17 \ --enable-pch \ --disable-ccache \ --enable-debug \ --disable-odk \ --disable-online-update \ --with-visual-studio=2022 /opt/lo/bin/make build gb_COLOR=1 gb_TITLES=1 2>&1 | tee build.log [...] [PAT] icu [BIN] dragonbox [MOD] frozen [BIN] glm Configuring OpenSSL version 3.0.13 for target VC-WIN64A Using os-specific seed configuration /cygdrive/d/sources/libo-core/workdir/UnpackedTarball/openssl/crypto/sha/../providers: No such file or directory at Configure line 3419. make[1]: *** [D:/sources/libo-core/external/openssl/ExternalProject_openssl.mk:67: D:/sources/libo-core/workdir/ExternalProject/openssl/build] Error 1 make[1]: *** Waiting for unfinished jobs but folder "providers" is located at: /cygdrive/d/sources/libo-core/workdir/UnpackedTarball/openssl/providers workaround: copy folder "providers" to: /cygdrive/d/sources/libo-core/workdir/UnpackedTarball/openssl/crypto
Re: VS 2022 version 17.9.1 has a bug preventing building cli_ure
On 24.02.2024 21:50, Mike Kaganski wrote: After upgrading my VS v.17.9.0 to v.17.9.1, building cli_ure started to fail like this: LINK : error LNK2034: metadata inconsistent with COFF symbol table: symbol '?rtl_ustr_asciil_reverseEquals_WithLength@@$$J0YAEPEB_SPEBDJ@Z' (06000579) has inconsistent metadata with (0A000A1A) in climaker_emit.o climaker_emit.o : error LNK2020: unresolved token (0A000A1A) "extern "C" unsigned char __cdecl rtl_ustr_asciil_reverseEquals_WithLength(char16_t const *,char const *,long)" (?rtl_ustr_asciil_reverseEquals_WithLength@@$$J0YAEPEB_SPEBDJ@Z) C:\lo\build\instdir\sdk\bin\climaker.exe : fatal error LNK1120: 1 unresolved externals I have filed a bug to Microsoft: https://developercommunity.visualstudio.com/t/LINK-:-error-LNK2034:-metadata-inconsis/10599604?port=1025&fsid=fdff4046-995a-4c06-8c64-1c14b9752c8f This problem is fixed in VS 2022 version 17.9.4: https://learn.microsoft.com/en-us/visualstudio/releases/2022/release-notes#17.9.4 -- Best regards, Mike Kaganski