сб, 9 нояб. 2024 г. в 02:50, Marshall Clow via Boost :
RC1 had some build issues which have been corrected.
I've repeated my experiment from the last release cycle and did some
cross-builds of the beta.
I've successfully built and installed most of the libraries using
Mingw-w64 11.0.1 (gcc-13, win32 threading model, address-model 32, 64,
C++ 11,14,17,20,23). Again, I had to disable Python, as I didn't have
libpython targeting this configuration.
Setting boost.stacktrace.from_exception=off from the CLI doesn't work
at the moment. This is because Stacktrace needs to define its custom
b2 features in its root build.jam (just like e.g. Context). So, I had
to disable Stacktrace.
I also had to disable Process because of a build error:
./boost/process/v2/detail/process_handle_windows.hpp:311:45: error:
‘default_completion_token_t’ was not declared in this scope; did you
mean ‘boost::asio::default_completion_token_t’?
311 | auto async_wait(WaitHandler &&handler =
default_completion_token_t())
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
|
boost::asio::default_completion_token_t
This is due to a simple typo. Nevertheless, I had to disable Process too.
Similarly, I've built and installed most of the same libraries using
GCC 13 targeting arm-linux-gnueabi (C++ 11,14,17,20,23). As the last
time I had to disable Context, as assembler sources were rejected by
the assembler. For posterity, here's an example of errors I've got:
gcc.compile.asm
bin.v2/libs/context/build/gcc-13_arm/release/abi-aapcs/address-model-64/architecture-arm/threading-multi/visibility-hidden/asm/jump_arm64_aapcs_elf_gas.o
jump_arm64_aapcs_elf_gas.S: Assembler messages:
jump_arm64_aapcs_elf_gas.S:65: Error: bad instruction `stp d8,d9,[sp,#0x00]'
jump_arm64_aapcs_elf_gas.S:66: Error: bad instruction `stp d10,d11,[sp,#0x10]'
jump_arm64_aapcs_elf_gas.S:67: Error: bad instruction `stp d12,d13,[sp,#0x20]'
jump_arm64_aapcs_elf_gas.S:68: Error: bad instruction `stp d14,d15,[sp,#0x30]'
jump_arm64_aapcs_elf_gas.S:71: Error: bad instruction `stp x19,x20,[sp,#0x40]'
jump_arm64_aapcs_elf_gas.S:72: Error: bad instruction `stp x21,x22,[sp,#0x50]'
jump_arm64_aapcs_elf_gas.S:73: Error: bad instruction `stp x23,x24,[sp,#0x60]'
jump_arm64_aapcs_elf_gas.S:74: Error: bad instruction `stp x25,x26,[sp,#0x70]'
jump_arm64_aapcs_elf_gas.S:75: Error: bad instruction `stp x27,x28,[sp,#0x80]'
jump_arm64_aapcs_elf_gas.S:76: Error: bad instruction `stp x29,x30,[sp,#0x90]'
jump_arm64_aapcs_elf_gas.S:79: Error: ARM register expected -- `str
x30,[sp,#0xa0]'
jump_arm64_aapcs_elf_gas.S:82: Error: ARM register expected -- `mov x4,sp'
jump_arm64_aapcs_elf_gas.S:85: Error: immediate expression requires a
# prefix -- `mov sp,x0'
jump_arm64_aapcs_elf_gas.S:88: Error: bad instruction `ldp d8,d9,[sp,#0x00]'
jump_arm64_aapcs_elf_gas.S:89: Error: bad instruction `ldp d10,d11,[sp,#0x10]'
jump_arm64_aapcs_elf_gas.S:90: Error: bad instruction `ldp d12,d13,[sp,#0x20]'
jump_arm64_aapcs_elf_gas.S:91: Error: bad instruction `ldp d14,d15,[sp,#0x30]'
jump_arm64_aapcs_elf_gas.S:94: Error: bad instruction `ldp x19,x20,[sp,#0x40]'
jump_arm64_aapcs_elf_gas.S:95: Error: bad instruction `ldp x21,x22,[sp,#0x50]'
jump_arm64_aapcs_elf_gas.S:96: Error: bad instruction `ldp x23,x24,[sp,#0x60]'
jump_arm64_aapcs_elf_gas.S:97: Error: bad instruction `ldp x25,x26,[sp,#0x70]'
jump_arm64_aapcs_elf_gas.S:98: Error: bad instruction `ldp x27,x28,[sp,#0x80]'
jump_arm64_aapcs_elf_gas.S:99: Error: bad instruction `ldp x29,x30,[sp,#0x90]'
jump_arm64_aapcs_elf_gas.S:104: Error: ARM register expected -- `mov x0,x4'
jump_arm64_aapcs_elf_gas.S:107: Error: ARM register expected -- `ldr
x4,[sp,#0xa0]'
jump_arm64_aapcs_elf_gas.S:112: Error: bad instruction `ret x4'
"/usr/bin/arm-linux-gnueabi-g++-13" -x assembler-with-cpp -fPIC
-pthread -O3 -finline-functions -Wno-inline -Wall -fvisibility=hidden
-DBOOST_ALL_NO_LIB=1 -DBOOST_CONTEXT_DYN_LINK=1
-DBOOST_CONTEXT_NO_LIB=1 -DBOOST_CONTEXT_SOURCE
-DBOOST_DISABLE_ASSERTS -DNDEBUG -I"."
-I"/home/grisumbras/download/boost_1_87_0/libs/assert/include"
-I"/home/grisumbras/download/boost_1_87_0/libs/context/include"
-I"/home/grisumbras/download/boost_1_87_0/libs/core/include"
-I"/home/grisumbras/download/boost_1_87_0/libs/mp11/include"
-I"/home/grisumbras/download/boost_1_87_0/libs/predef/include"
-I"/home/grisumbras/download/boost_1_87_0/libs/smart_ptr/include"
-I"/home/grisumbras/download/boost_1_87_0/libs/throw_exception/include"
-c -o "bin.v2/libs/context/build/gcc-13_arm/release/abi-aapcs/address-model-64/architecture-arm/threading-multi/visibility-hidden/asm/jump_arm64_aapcs_elf_gas.o"
"/home/grisumbras/download/boost_1_87_0/libs/context/src/asm/jump_arm64_aapcs_elf_gas.S"
Finally, Charconv, Container, Log, Math, Process, Serialization, and
Wave generated warnings.