Boost logo

Boost :

From: Tom Kent (lists_at_[hidden])
Date: 2024-07-11 22:16:08


On Thu, Jul 11, 2024 at 1:51 PM Marshall Clow via Boost <
boost_at_[hidden]> wrote:

> Available at: https://archives.boost.io/beta/1.86.0.beta1/source/
>
> The SHA256 checksums are as follows:
>
> 90be7ebbaf1c81a849791eb0f49d05a9ec7dbd0ec98b974dfe31d44d811e8298
> boost_1_86_0_b1_rc1.7z
> 543ca3b743250a8b24b25c71209cf911c35613910e78a320835c21c053212ef2
> boost_1_86_0_b1_rc1.tar.gz
> 1bf831ed717fa3e01db6c1f104b95f5a6a8d098a4cc9e61fa6eb81969c78645f
> boost_1_86_0_b1_rc1.tar.bz2
> f739f8761bee6006c60a39fd21ed80b7b0a681c9ed448d1ae1bb28d8d8a69659
> boost_1_86_0_b1_rc1.zip
>
>
> As always, the release managers would appreciate it if you download the
> candidate of your choice and give building it a try. Please report both
> success and failure, and anything else that is noteworthy.
>
> -- The Release Managers
>

We had some failures on windows, enough that we should probably have
another RC to fix them.

Here's one example with msvc-14.0
compile-c-c++
D:\RB\bin.v2\boost\bin.v2\libs\process\build\msvc-14.0\release\x86_32\link-static\runtime-link-static\threading-multi\ext\cmd.obj
cmd.cpp
Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example:
- add -D_WIN32_WINNT=0x0601 to the compiler command line; or
- add _WIN32_WINNT=0x0601 to your project's Preprocessor Definitions.
Assuming _WIN32_WINNT=0x0601 (i.e. Windows 7 target).
.\boost/process/v2/detail/environment_win.hpp(63): error C3250: 'itrs':
declaration is not allowed in 'constexpr' function body
.\boost/process/v2/detail/environment_win.hpp(62): note: while compiling
class template member function 'int
boost::process::v2::environment::key_char_traits<wchar_t>::compare(const
wchar_t *,const wchar_t *,std::size_t) noexcept'
.\boost/utility/string_view.hpp(208): note: see reference to function
template instantiation 'int
boost::process::v2::environment::key_char_traits<wchar_t>::compare(const
wchar_t *,const wchar_t *,std::size_t) noexcept' being compiled
.\boost/process/v2/environment.hpp(174): note: see reference to class
template instantiation
'boost::process::v2::environment::key_char_traits<wchar_t>' being compiled
.\boost/asio/execution/relationship.hpp(546): note: see reference to class
template instantiation 'boost::asio::execution::detail::relationship_t<0>'
being compiled
.\boost/asio/execution/outstanding_work.hpp(548): note: see reference to
class template instantiation
'boost::asio::execution::detail::outstanding_work_t<0>' being compiled
.\boost/asio/execution/occupancy.hpp(135): note: see reference to class
template instantiation 'boost::asio::execution::detail::occupancy_t<0>'
being compiled
.\boost/asio/execution/mapping.hpp(737): note: see reference to class
template instantiation 'boost::asio::execution::detail::mapping_t<0>' being
compiled
.\boost/asio/execution/context.hpp(142): note: see reference to class
template instantiation 'boost::asio::execution::detail::context_t<0>' being
compiled
.\boost/asio/execution/blocking_adaptation.hpp(722): note: see reference to
class template instantiation
'boost::asio::execution::detail::blocking_adaptation_t<0>' being compiled
.\boost/asio/execution/blocking.hpp(896): note: see reference to class
template instantiation 'boost::asio::execution::detail::blocking_t<0>'
being compiled
.\boost/process/v2/detail/environment_win.hpp(66): error C3250: 'c1':
declaration is not allowed in 'constexpr' function body
.\boost/process/v2/detail/environment_win.hpp(67): error C3250: 'c2':
declaration is not allowed in 'constexpr' function body
.\boost/process/v2/detail/environment_win.hpp(69): error C3256: 'c1':
variable use does not produce a constant expression
.\boost/process/v2/detail/environment_win.hpp(69): error C3256: 'c2':
variable use does not produce a constant expression
.\boost/process/v2/detail/environment_win.hpp(61): error C3259: 'constexpr'
functions can only have one return statement

    call
"D:\RB\bin.v2\boost\bin.v2\standalone\msvc\msvc-14.0\address-model-32\architecture-x86\msvc-setup.bat"
x86 >nul
 cl /Zm800 -nologo "libs\process\src\ext\cmd.cpp" -c
-Fo"D:\RB\bin.v2\boost\bin.v2\libs\process\build\msvc-14.0\release\x86_32\link-static\runtime-link-static\threading-multi\ext\cmd.obj"
    -TP /wd4675 /EHs /GR /Zc:throwingNew /O2 /Ob2 /W3 /MT /Zc:forScope
/Zc:wchar_t /Zc:inline /Gw /bigobj -DBOOST_ALL_NO_LIB=1
-DBOOST_ASIO_NO_DEPRECATED -DBOOST_ATOMIC_STATIC_LINK=1
-DBOOST_COBALT_USE_STD_PMR=1 -DBOOST_FILESYSTEM_STATIC_LINK=1
-DBOOST_PROCESS_SOURCE=1 -DNDEBUG -DWIN32_LEAN_AND_MEAN
-D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS "-I."

...failed compile-c-c++
D:\RB\bin.v2\boost\bin.v2\libs\process\build\msvc-14.0\release\x86_32\link-static\runtime-link-static\threading-

A link error with msvc-14.3 (similar ones for msvc-14.1 and msvc-14.2):

msvc.link.dll
D:\RB\bin.v2\boost\bin.v2\libs\process\build\msvc-14.3\release\x86_32\threading-multi\boost_process-vc143-mt-x32-1_86.dll
environment_win.obj : error LNK2019: unresolved external symbol
__imp__SHGetFileInfoW_at_20 referenced in function "bool __cdecl
boost::process::v2::environment::detail::is_executable(class
boost::filesystem::path const &,class boost::system::error_code &)"
(?is_executable_at_detail@environment_at_v2@process_at_boost@@YA_NABVpath_at_filesystem
@5_at_AAVerror_code_at_system@5@@Z)
process_handle_windows.obj : error LNK2019: unresolved external symbol
__imp__SendMessageW_at_16 referenced in function "int __stdcall
boost::process::v2::detail::enum_window(struct HWND__ *,long)"
(?enum_window_at_detail@v2_at_process@boost@@YGHPAUHWND__@@J_at_Z)
process_handle_windows.obj : error LNK2019: unresolved external symbol
__imp__EnumWindows_at_8 referenced in function "public: void __thiscall
boost::process::v2::detail::basic_process_handle_win<class
boost::asio::any_io_executor>::request_exit(class boost::system::error_code
&)" (?request_exit@?$basic_process_handle_win_at_Vany_io_executor_at_asio@boost
@@@detail_at_v2@process_at_boost@@QAEXAAVerror_code_at_system@5@@Z)
process_handle_windows.obj : error LNK2019: unresolved external symbol
__imp__GetWindowThreadProcessId_at_8 referenced in function "int __stdcall
boost::process::v2::detail::enum_window(struct HWND__ *,long)"
(?enum_window_at_detail@v2_at_process@boost@@YGHPAUHWND__@@J_at_Z)
process_handle_windows.obj : error LNK2019: unresolved external symbol
_RtlNtStatusToDosError_at_4 referenced in function "public: void __thiscall
boost::process::v2::detail::basic_process_handle_win<class
boost::asio::any_io_executor>::resume(class boost::system::error_code &)"
(?resume@?$basic_process_handle_win_at_Vany_io_executor_at_asio@boost@@@detail_at_v2
@process_at_boost@@QAEXAAVerror_code_at_system@5@@Z)
env.obj : error LNK2001: unresolved external symbol _RtlNtStatusToDosError_at_4
proc_info.obj : error LNK2001: unresolved external symbol
_RtlNtStatusToDosError_at_4
process_handle_windows.obj : error LNK2019: unresolved external symbol
_NtResumeProcess_at_4 referenced in function "public: void __thiscall
boost::process::v2::detail::basic_process_handle_win<class
boost::asio::any_io_executor>::resume(class boost::system::error_code &)"
(?resume@?$basic_process_handle_win_at_Vany_io_executor_at_asio@boost@@@detail_at_v2
@process_at_boost@@QAEXAAVerror_code_at_system@5@@Z)
process_handle_windows.obj : error LNK2019: unresolved external symbol
_NtSuspendProcess_at_4 referenced in function "public: void __thiscall
boost::process::v2::detail::basic_process_handle_win<class
boost::asio::any_io_executor>::suspend(class boost::system::error_code &)"
(?suspend@?$basic_process_handle_win_at_Vany_io_executor_at_asio@boost@@@detail_at_v2
@process_at_boost@@QAEXAAVerror_code_at_system@5@@Z)
env.obj : error LNK2019: unresolved external symbol
_NtQueryInformationProcess_at_20 referenced in function "struct
boost::process::v2::ext::env_view __cdecl boost::process::v2::ext::env(void
*,class boost::system::error_code &)" (?env_at_ext@v2_at_process@boost@
@YA?AUenv_view_at_1234@PAXAAVerror_code_at_system@4@@Z)
proc_info.obj : error LNK2001: unresolved external symbol
_NtQueryInformationProcess_at_20
proc_info.obj : error LNK2019: unresolved external symbol
__imp__OpenProcessToken_at_12 referenced in function "void * __cdecl
boost::process::v2::detail::ext::open_process_with_debug_privilege(unsigned
long,class boost::system::error_code &)"
(?open_process_with_debug_privilege_at_ext@detail_at_v2@process_at_boost
@@YAPAXKAAVerror_code_at_system@5@@Z)
proc_info.obj : error LNK2019: unresolved external symbol
__imp__AdjustTokenPrivileges_at_24 referenced in function "void * __cdecl
boost::process::v2::detail::ext::open_process_with_debug_privilege(unsigned
long,class boost::system::error_code &)"
(?open_process_with_debug_privilege_at_ext@detail_at_v2@process_at_boost
@@YAPAXKAAVerror_code_at_system@5@@Z)
proc_info.obj : error LNK2019: unresolved external symbol
__imp__LookupPrivilegeValueA_at_12 referenced in function "void * __cdecl
boost::process::v2::detail::ext::open_process_with_debug_privilege(unsigned
long,class boost::system::error_code &)"
(?open_process_with_debug_privilege_at_ext@detail_at_v2@process_at_boost
@@YAPAXKAAVerror_code_at_system@5@@Z)
shell.obj : error LNK2019: unresolved external symbol
__imp__CommandLineToArgvW_at_8 referenced in function "private: void
__thiscall boost::process::v2::shell::parse_(void)" (?parse__at_shell
@v2_at_process@boost@@AAEXXZ)
D:\RB\bin.v2\boost\bin.v2\libs\process\build\msvc-14.3\release\x86_32\threading-multi\boost_process-vc143-mt-x32-1_86.dll
: fatal error LNK1120: 12 unresolved externals

You can see the full output here:
https://gist.github.com/teeks99/bc3e129893260c2296fdada6b6f24dfe

Tom


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk