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