This repository was archived by the owner on Jan 12, 2024. It is now read-only.
This repository was archived by the owner on Jan 12, 2024. It is now read-only.
Linker warnings for spectre-mitigated libs of VS2022 #1026
Open
Description
(Windows)
The Spectre-mitigated libs of VS2022 cause linker warnings (see below) when building QIR runtime, but don't cause such warnings when building the native part of the full-state simulator. See microsoft.qsharp-runtime pipeline, Building Q# runtime.
So far does not affect the test run. May affect the ability to debug the QIR RT and its tests.
Has been noticed when working on #1025, but was found happening even before.
Linker warnings:
[33/34] Linking CXX executable unittests\qir-runtime-unittests.exe
lld-link: warning: procedure symbol record for `std::bad_alloc::bad_alloc` in D:\a\_work\1\s\Intermediate\vctools\libcpmt.nativeproj__1724544669\objr\amd64\iostream.obj refers to PDB item index 0x12A3 which is not a valid function ID record
lld-link: warning: procedure symbol record for `std::bad_array_new_length::bad_array_new_length` in D:\a\_work\1\s\Intermediate\vctools\libcpmt.nativeproj__1724544669\objr\amd64\iostream.obj refers to PDB item index 0x12A6 which is not a valid function ID record
lld-link: warning: procedure symbol record for `std::bad_alloc::~bad_alloc` in D:\a\_work\1\s\Intermediate\vctools\libcpmt.nativeproj__1724544669\objr\amd64\iostream.obj refers to PDB item index 0x12A5 which is not a valid function ID record
lld-link: warning: procedure symbol record for `std::bad_array_new_length::~bad_array_new_length` in D:\a\_work\1\s\Intermediate\vctools\libcpmt.nativeproj__1724544669\objr\amd64\iostream.obj refers to PDB item index 0x12A8 which is not a valid function ID record
lld-link: warning: procedure symbol record for `std::runtime_error::~runtime_error` in D:\a\_work\1\s\Intermediate\vctools\libcpmt.nativeproj__1724544669\objr\amd64\iostream.obj refers to PDB item index 0x1349 which is not a valid function ID record
lld-link: warning: procedure symbol record for `std::error_category::operator==` in D:\a\_work\1\s\Intermediate\vctools\libcpmt.nativeproj__1724544669\objr\amd64\iostream.obj refers to PDB item index 0x1353 which is not a valid function ID record
lld-link: warning: procedure symbol record for `std::_Default_allocate_traits::_Allocate` in D:\a\_work\1\s\Intermediate\vctools\libcpmt.nativeproj__1724544669\objr\amd64\iostream.obj refers to PDB item index 0x132E which is not a valid function ID record
lld-link: warning: procedure symbol record for `std::_Fake_proxy_ptr_impl::_Release` in D:\a\_work\1\s\Intermediate\vctools\libcpmt.nativeproj__1724544669\objr\amd64\iostream.obj refers to PDB item index 0x1338 which is not a valid function ID record
lld-link: warning: procedure symbol record for `std::invalid_argument::~invalid_argument` in D:\a\_work\1\s\Intermediate\vctools\libcpmt.nativeproj__1724544669\objr\amd64\xthrow.obj refers to PDB item index 0x1341 which is not a valid function ID record
lld-link: warning: procedure symbol record for `std::length_error::~length_error` in D:\a\_work\1\s\Intermediate\vctools\libcpmt.nativeproj__1724544669\objr\amd64\xthrow.obj refers to PDB item index 0x1343 which is not a valid function ID record
lld-link: warning: procedure symbol record for `std::out_of_range::~out_of_range` in D:\a\_work\1\s\Intermediate\vctools\libcpmt.nativeproj__1724544669\objr\amd64\xthrow.obj refers to PDB item index 0x1345 which is not a valid function ID record
lld-link: warning: procedure symbol record for `std::invalid_argument::`scalar deleting destructor'` in D:\a\_work\1\s\Intermediate\vctools\libcpmt.nativeproj__1724544669\objr\amd64\xthrow.obj refers to PDB item index 0x1340 which is not a valid function ID record
lld-link: warning: procedure symbol record for `std::length_error::`scalar deleting destructor'` in D:\a\_work\1\s\Intermediate\vctools\libcpmt.nativeproj__1724544669\objr\amd64\xthrow.obj refers to PDB item index 0x1342 which is not a valid function ID record
lld-link: warning: procedure symbol record for `std::out_of_range::`scalar deleting destructor'` in D:\a\_work\1\s\Intermediate\vctools\libcpmt.nativeproj__1724544669\objr\amd64\xthrow.obj refers to PDB item index 0x1344 which is not a valid function ID record
lld-link: warning: procedure symbol record for `std::overflow_error::`scalar deleting destructor'` in D:\a\_work\1\s\Intermediate\vctools\libcpmt.nativeproj__1724544669\objr\amd64\xthrow.obj refers to PDB item index 0x134A which is not a valid function ID record
lld-link: warning: procedure symbol record for `std::bad_exception::~bad_exception` in D:\a\_work\1\s\Intermediate\vctools\libcpmt.nativeproj__1724544669\objr\amd64\excptptr.obj refers to PDB item index 0x12A2 which is not a valid function ID record
lld-link: warning: procedure symbol record for `std::bad_exception::`scalar deleting destructor'` in D:\a\_work\1\s\Intermediate\vctools\libcpmt.nativeproj__1724544669\objr\amd64\excptptr.obj refers to PDB item index 0x12A1 which is not a valid function ID record
lld-link: warning: procedure symbol record for `ldexpf` in D:\a\_work\1\s\Intermediate\vctools\libcpmt.nativeproj__1724544669\objr\amd64\locale.obj refers to PDB item index 0x1273 which is not a valid function ID record
Activity