espressif / esp-idf

Espressif IoT Development Framework. Official development framework for Espressif SoCs.
Apache License 2.0
13.45k stars 7.25k forks source link

C++17 build failure with esp32-2019r1-rc2 toolchain (IDFGH-1152) #3467

Closed tgill880 closed 5 years ago

tgill880 commented 5 years ago

Environment

Problem Description

C++17 build failure when compiling C++17 header only network library that relies on asio.

I am attempting to port an open source, C++17 networking library, chops-net-ip, to the ESP32. The library builds on top of asio. I can get the asio sample apps to run correctly on my development board. I am using the asio chat_server project as starter code (to get the right headers for asio). When I add the chops-net-ip headers, I get a thicket of build errors, and the build fails.

C++17 is only used for the project source file.

component.mk (in main)

CXXFLAGS = -std=c++17

Expected Behavior

Project builds.

Actual Behavior

Project does not build.

Steps to reproduce

See above

Code to reproduce this issue

// multiple system includes not listed
// asio project includes not listed
// chops-net-ip specific headers
#include "net_ip/net_ip.hpp"
#include "net_ip/basic_net_entity.hpp"
#include "net_ip/component/worker.hpp"
#include "net_ip/component/send_to_all.hpp"

// if I can get this code to compile, the rest of my development can continue
extern "C" void app_main()
{
    // standard startup code in asio chat_server.cpp not included
    chops::net::worker wk;
    wk.start();
    chops::net::net_ip server(wk.get_io_context());
    wk.stop();
}

Debug Logs

Compiler output

Toolchain path: /home/thurman/esp/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
WARNING: Toolchain version is not supported: esp32-2019r1-rc2
Expected to see version: crosstool-ng-1.22.0-80-g6c4433a
Please check ESP-IDF setup instructions and update the toolchain, or proceed at your own risk.
WARNING: Compiler version is not supported: 8.2.0
Expected to see version(s): 5.2.0
Please check ESP-IDF setup instructions and update the toolchain, or proceed at your own risk.
Python requirements from /home/thurman/esp/esp-idf/requirements.txt are satisfied.
WARNING: Toolchain version is not supported: esp32-2019r1-rc2
Expected to see version: crosstool-ng-1.22.0-80-g6c4433a
Please check ESP-IDF setup instructions and update the toolchain, or proceed at your own risk.
WARNING: Compiler version is not supported: 8.2.0
Expected to see version(s): 5.2.0
Please check ESP-IDF setup instructions and update the toolchain, or proceed at your own risk.

Project is not inside a git repository, will not use 'git describe' to determine PROJECT_VER.
App "chops_chat_server" version: 1
LD build/chops_chat_server.elf
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `app_main':
chat_server.cpp:(.text+0x1b2): dangerous relocation: call8: call target out of range: std::__cxx11::list<chat_server, std::allocator<chat_server> >::list()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text+0x1b5): dangerous relocation: call8: call target out of range: asio::ip::tcp::v4()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text+0x1da): dangerous relocation: call8: call target out of range: asio::ip::basic_endpoint<asio::ip::tcp>::basic_endpoint(asio::ip::tcp const&, unsigned short)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text+0x1ed): dangerous relocation: call8: call target out of range: chat_server& std::__cxx11::list<chat_server, std::allocator<chat_server> >::emplace_back<asio::io_context&, asio::ip::basic_endpoint<asio::ip::tcp>&>(asio::io_context&, asio::ip::basic_endpoint<asio::ip::tcp>&)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text+0x20a): dangerous relocation: call8: call target out of range: std::__cxx11::list<chat_server, std::allocator<chat_server> >::~list()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text+0x21d): dangerous relocation: call8: call target out of range: std::__cxx11::list<chat_server, std::allocator<chat_server> >::~list()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `__static_initialization_and_destruction_0(int, int)':
chat_server.cpp:(.text+0x255): dangerous relocation: call8: call target out of range: asio::error::get_system_category()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text+0x2d1): dangerous relocation: call8: call target out of range: asio::detail::tss_ptr<asio::detail::call_stack<asio::detail::thread_context, asio::detail::thread_info_base>::context>::tss_ptr()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text+0x325): dangerous relocation: call8: call target out of range: asio::detail::service_id<asio::detail::strand_service>::service_id()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text+0x3ae): dangerous relocation: call8: call target out of range: asio::detail::service_id<asio::detail::reactive_descriptor_service>::service_id()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text+0x405): dangerous relocation: call8: call target out of range: asio::detail::service_id<asio::detail::signal_set_service>::service_id()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text+0x459): dangerous relocation: call8: call target out of range: asio::detail::service_id<asio::detail::reactive_socket_service<asio::ip::tcp> >::service_id()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text+0x4b1): dangerous relocation: call8: call target out of range: asio::detail::service_id<asio::detail::deadline_timer_service<asio::detail::chrono_time_traits<std::chrono::_V2::steady_clock, asio::wait_traits<std::chrono::_V2::steady_clock> > > >::service_id()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text+0x50d): dangerous relocation: call8: call target out of range: asio::detail::service_id<asio::detail::reactive_socket_service<asio::ip::udp> >::service_id()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text+0x565): dangerous relocation: call8: call target out of range: asio::detail::service_id<asio::detail::resolver_service<asio::ip::tcp> >::service_id()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text+0x5bd): dangerous relocation: call8: call target out of range: asio::detail::service_id<asio::detail::resolver_service<asio::ip::udp> >::service_id()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text+0x617): dangerous relocation: call8: call target out of range: asio::detail::service_id<asio::detail::select_reactor>::service_id()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text+0x669): dangerous relocation: call8: call target out of range: asio::detail::service_id<asio::detail::select_reactor>::~service_id()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text+0x6aa): dangerous relocation: call8: call target out of range: asio::detail::service_id<asio::detail::resolver_service<asio::ip::udp> >::~service_id()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text+0x6ed): dangerous relocation: call8: call target out of range: asio::detail::service_id<asio::detail::resolver_service<asio::ip::tcp> >::~service_id()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text+0x72e): dangerous relocation: call8: call target out of range: asio::detail::service_id<asio::detail::reactive_socket_service<asio::ip::udp> >::~service_id()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text+0x771): dangerous relocation: call8: call target out of range: asio::detail::service_id<asio::detail::deadline_timer_service<asio::detail::chrono_time_traits<std::chrono::_V2::steady_clock, asio::wait_traits<std::chrono::_V2::steady_clock> > > >::~service_id()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text+0x7b2): dangerous relocation: call8: call target out of range: asio::detail::service_id<asio::detail::reactive_socket_service<asio::ip::tcp> >::~service_id()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text+0x7f5): dangerous relocation: call8: call target out of range: asio::detail::service_id<asio::detail::signal_set_service>::~service_id()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text+0x836): dangerous relocation: call8: call target out of range: asio::detail::service_id<asio::detail::reactive_descriptor_service>::~service_id()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text+0x8ba): dangerous relocation: call8: call target out of range: asio::detail::service_id<asio::detail::strand_service>::~service_id()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text+0x8fd): dangerous relocation: call8: call target out of range: asio::detail::tss_ptr<asio::detail::call_stack<asio::detail::thread_context, asio::detail::thread_info_base>::context>::~tss_ptr()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `std::type_info::operator==(std::type_info const&) const':
chat_server.cpp:(.text._ZNKSt9type_infoeqERKS_[std::type_info::operator==(std::type_info const&) const]+0x2d): dangerous relocation: call8: call target out of range: strcmp
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_add_ref_lock()':
chat_server.cpp:(.text._ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE15_M_add_ref_lockEv[std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_add_ref_lock()]+0x15): dangerous relocation: call8: call target out of range: std::__throw_bad_weak_ptr()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `asio::mutable_buffers_1::mutable_buffers_1(asio::mutable_buffer const&)':
chat_server.cpp:(.text._ZN4asio17mutable_buffers_1C2ERKNS_14mutable_bufferE[asio::mutable_buffers_1::mutable_buffers_1(asio::mutable_buffer const&)]+0x15): dangerous relocation: call8: call target out of range: memcpy
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `asio::const_buffers_1::const_buffers_1(asio::const_buffer const&)':
chat_server.cpp:(.text._ZN4asio15const_buffers_1C2ERKNS_12const_bufferE[asio::const_buffers_1::const_buffers_1(asio::const_buffer const&)]+0x15): dangerous relocation: call8: call target out of range: memcpy
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `asio::operator+(asio::mutable_buffer const&, unsigned int)':
chat_server.cpp:(.text._ZN4asioplERKNS_14mutable_bufferEj[asio::operator+(asio::mutable_buffer const&, unsigned int)]+0x59): dangerous relocation: call8: call target out of range: memcpy
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `asio::operator+(asio::const_buffer const&, unsigned int)':
chat_server.cpp:(.text._ZN4asioplERKNS_12const_bufferEj[asio::operator+(asio::const_buffer const&, unsigned int)]+0x59): dangerous relocation: call8: call target out of range: memcpy
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `asio::buffer(asio::mutable_buffer const&, unsigned int)':
chat_server.cpp:(.text._ZN4asio6bufferERKNS_14mutable_bufferEj[asio::buffer(asio::mutable_buffer const&, unsigned int)]+0x49): dangerous relocation: call8: call target out of range: memcpy
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `asio::buffer(asio::const_buffer const&, unsigned int)':
chat_server.cpp:(.text._ZN4asio6bufferERKNS_12const_bufferEj[asio::buffer(asio::const_buffer const&, unsigned int)]+0x3d): dangerous relocation: call8: call target out of range: memcpy
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `asio::buffer(void*, unsigned int)':
chat_server.cpp:(.text._ZN4asio6bufferEPvj[asio::buffer(void*, unsigned int)]+0x1e): dangerous relocation: call8: call target out of range: memcpy
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `asio::detail::reactive_socket_service_base::listen(asio::detail::reactive_socket_service_base::base_implementation_type&, int, std::error_code&)':
chat_server.cpp:(.text._ZN4asio6detail28reactive_socket_service_base6listenERNS1_24base_implementation_typeEiRSt10error_code[asio::detail::reactive_socket_service_base::listen(asio::detail::reactive_socket_service_base::base_implementation_type&, int, std::error_code&)]+0x26): dangerous relocation: call8: call target out of range: memcpy
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `asio::detail::base_from_completion_cond<asio::detail::transfer_all_t>::check_for_completion(std::error_code const&, unsigned int)':
chat_server.cpp:(.text._ZN4asio6detail25base_from_completion_condINS0_14transfer_all_tEE20check_for_completionERKSt10error_codej[asio::detail::base_from_completion_cond<asio::detail::transfer_all_t>::check_for_completion(std::error_code const&, unsigned int)]+0xf): dangerous relocation: call8: call target out of range: unsigned int asio::detail::transfer_all_t::operator()<std::error_code>(std::error_code const&, unsigned int)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `chat_message::decode_header()':
chat_server.cpp:(.text._ZN12chat_message13decode_headerEv[chat_message::decode_header()]+0x19): dangerous relocation: call8: call target out of range: strncat
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN12chat_message13decode_headerEv[chat_message::decode_header()]+0x1e): dangerous relocation: call8: call target out of range: atoi
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `chat_participant::~chat_participant()':
chat_server.cpp:(.text._ZN16chat_participantD0Ev[chat_participant::~chat_participant()]+0xa): dangerous relocation: call8: call target out of range: chat_participant::~chat_participant()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `chat_room::join(std::shared_ptr<chat_participant>)':
chat_server.cpp:(.text._ZN9chat_room4joinESt10shared_ptrI16chat_participantE[chat_room::join(std::shared_ptr<chat_participant>)]+0x62): dangerous relocation: call8: call target out of range: memcpy
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `chat_session::chat_session(asio::basic_stream_socket<asio::ip::tcp>, chat_room&)':
chat_server.cpp:(.text._ZN12chat_sessionC2EN4asio19basic_stream_socketINS0_2ip3tcpEEER9chat_room[chat_session::chat_session(asio::basic_stream_socket<asio::ip::tcp>, chat_room&)]+0x19): dangerous relocation: call8: call target out of range: std::enable_shared_from_this<chat_session>::enable_shared_from_this()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN12chat_sessionC2EN4asio19basic_stream_socketINS0_2ip3tcpEEER9chat_room[chat_session::chat_session(asio::basic_stream_socket<asio::ip::tcp>, chat_room&)]+0x29): dangerous relocation: call8: call target out of range: std::remove_reference<asio::basic_stream_socket<asio::ip::tcp>&>::type&& std::move<asio::basic_stream_socket<asio::ip::tcp>&>(asio::basic_stream_socket<asio::ip::tcp>&)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN12chat_sessionC2EN4asio19basic_stream_socketINS0_2ip3tcpEEER9chat_room[chat_session::chat_session(asio::basic_stream_socket<asio::ip::tcp>, chat_room&)]+0x32): dangerous relocation: call8: call target out of range: asio::basic_stream_socket<asio::ip::tcp>::basic_stream_socket(asio::basic_stream_socket<asio::ip::tcp>&&)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN12chat_sessionC2EN4asio19basic_stream_socketINS0_2ip3tcpEEER9chat_room[chat_session::chat_session(asio::basic_stream_socket<asio::ip::tcp>, chat_room&)]+0x42): dangerous relocation: call8: call target out of range: chat_message::chat_message()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN12chat_sessionC2EN4asio19basic_stream_socketINS0_2ip3tcpEEER9chat_room[chat_session::chat_session(asio::basic_stream_socket<asio::ip::tcp>, chat_room&)]+0x4e): dangerous relocation: call8: call target out of range: std::deque<chat_message, std::allocator<chat_message> >::deque()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN12chat_sessionC2EN4asio19basic_stream_socketINS0_2ip3tcpEEER9chat_room[chat_session::chat_session(asio::basic_stream_socket<asio::ip::tcp>, chat_room&)]+0x5a): dangerous relocation: call8: call target out of range: asio::basic_stream_socket<asio::ip::tcp>::~basic_stream_socket()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN12chat_sessionC2EN4asio19basic_stream_socketINS0_2ip3tcpEEER9chat_room[chat_session::chat_session(asio::basic_stream_socket<asio::ip::tcp>, chat_room&)]+0x66): dangerous relocation: call8: call target out of range: std::enable_shared_from_this<chat_session>::~enable_shared_from_this()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `chat_server::chat_server(asio::io_context&, asio::ip::basic_endpoint<asio::ip::tcp> const&)':
chat_server.cpp:(.text._ZN11chat_serverC2ERN4asio10io_contextERKNS0_2ip14basic_endpointINS3_3tcpEEE[chat_server::chat_server(asio::io_context&, asio::ip::basic_endpoint<asio::ip::tcp> const&)]+0x17): dangerous relocation: call8: call target out of range: asio::basic_socket_acceptor<asio::ip::tcp>::basic_socket_acceptor(asio::io_context&, asio::ip::basic_endpoint<asio::ip::tcp> const&, bool)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `unsigned int asio::detail::transfer_all_t::operator()<std::error_code>(std::error_code const&, unsigned int)':
chat_server.cpp:(.text._ZN4asio6detail14transfer_all_tclISt10error_codeEEjRKT_j[unsigned int asio::detail::transfer_all_t::operator()<std::error_code>(std::error_code const&, unsigned int)]+0xd): dangerous relocation: call8: call target out of range: std::error_code::operator bool() const
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `asio::detail::consuming_single_buffer<asio::mutable_buffers_1>::consuming_single_buffer<asio::mutable_buffers_1>(asio::mutable_buffers_1 const&)':
chat_server.cpp:(.text._ZN4asio6detail23consuming_single_bufferINS_17mutable_buffers_1EEC2IS2_EERKT_[asio::detail::consuming_single_buffer<asio::mutable_buffers_1>::consuming_single_buffer<asio::mutable_buffers_1>(asio::mutable_buffers_1 const&)]+0x15): dangerous relocation: call8: call target out of range: memcpy
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `std::set<std::shared_ptr<chat_participant>, std::less<std::shared_ptr<chat_participant> >, std::allocator<std::shared_ptr<chat_participant> > >::insert(std::shared_ptr<chat_participant> const&)':
chat_server.cpp:(.text._ZNSt3setISt10shared_ptrI16chat_participantESt4lessIS2_ESaIS2_EE6insertERKS2_[std::set<std::shared_ptr<chat_participant>, std::less<std::shared_ptr<chat_participant> >, std::allocator<std::shared_ptr<chat_participant> > >::insert(std::shared_ptr<chat_participant> const&)]+0x39): dangerous relocation: call8: call target out of range: memcpy
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `std::deque<chat_message, std::allocator<chat_message> >::size() const':
chat_server.cpp:(.text._ZNKSt5dequeI12chat_messageSaIS0_EE4sizeEv[std::deque<chat_message, std::allocator<chat_message> >::size() const]+0x15): dangerous relocation: call8: call target out of range: std::_Deque_iterator<chat_message, chat_message&, chat_message*>::difference_type std::operator-<chat_message, chat_message&, chat_message*>(std::_Deque_iterator<chat_message, chat_message&, chat_message*> const&, std::_Deque_iterator<chat_message, chat_message&, chat_message*> const&)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `asio::basic_socket_acceptor<asio::ip::tcp>::basic_socket_acceptor(asio::io_context&, asio::ip::basic_endpoint<asio::ip::tcp> const&, bool)':
chat_server.cpp:(.text._ZN4asio21basic_socket_acceptorINS_2ip3tcpEEC2ERNS_10io_contextERKNS1_14basic_endpointIS2_EEb[asio::basic_socket_acceptor<asio::ip::tcp>::basic_socket_acceptor(asio::io_context&, asio::ip::basic_endpoint<asio::ip::tcp> const&, bool)]+0x16): dangerous relocation: call8: call target out of range: asio::basic_io_object<asio::detail::reactive_socket_service<asio::ip::tcp>, true>::basic_io_object(asio::io_context&)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN4asio21basic_socket_acceptorINS_2ip3tcpEEC2ERNS_10io_contextERKNS1_14basic_endpointIS2_EEb[asio::basic_socket_acceptor<asio::ip::tcp>::basic_socket_acceptor(asio::io_context&, asio::ip::basic_endpoint<asio::ip::tcp> const&, bool)]+0x1e): dangerous relocation: call8: call target out of range: std::error_code::error_code()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN4asio21basic_socket_acceptorINS_2ip3tcpEEC2ERNS_10io_contextERKNS1_14basic_endpointIS2_EEb[asio::basic_socket_acceptor<asio::ip::tcp>::basic_socket_acceptor(asio::io_context&, asio::ip::basic_endpoint<asio::ip::tcp> const&, bool)]+0x23): dangerous relocation: call8: call target out of range: asio::ip::basic_endpoint<asio::ip::tcp>::protocol() const
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN4asio21basic_socket_acceptorINS_2ip3tcpEEC2ERNS_10io_contextERKNS1_14basic_endpointIS2_EEb[asio::basic_socket_acceptor<asio::ip::tcp>::basic_socket_acceptor(asio::io_context&, asio::ip::basic_endpoint<asio::ip::tcp> const&, bool)]+0x2e): dangerous relocation: call8: call target out of range: asio::basic_io_object<asio::detail::reactive_socket_service<asio::ip::tcp>, true>::get_service()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN4asio21basic_socket_acceptorINS_2ip3tcpEEC2ERNS_10io_contextERKNS1_14basic_endpointIS2_EEb[asio::basic_socket_acceptor<asio::ip::tcp>::basic_socket_acceptor(asio::io_context&, asio::ip::basic_endpoint<asio::ip::tcp> const&, bool)]+0x37): dangerous relocation: call8: call target out of range: asio::basic_io_object<asio::detail::reactive_socket_service<asio::ip::tcp>, true>::get_implementation()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN4asio21basic_socket_acceptorINS_2ip3tcpEEC2ERNS_10io_contextERKNS1_14basic_endpointIS2_EEb[asio::basic_socket_acceptor<asio::ip::tcp>::basic_socket_acceptor(asio::io_context&, asio::ip::basic_endpoint<asio::ip::tcp> const&, bool)]+0x4a): dangerous relocation: call8: call target out of range: asio::detail::reactive_socket_service<asio::ip::tcp>::open(asio::detail::reactive_socket_service<asio::ip::tcp>::implementation_type&, asio::ip::tcp const&, std::error_code&)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN4asio21basic_socket_acceptorINS_2ip3tcpEEC2ERNS_10io_contextERKNS1_14basic_endpointIS2_EEb[asio::basic_socket_acceptor<asio::ip::tcp>::basic_socket_acceptor(asio::io_context&, asio::ip::basic_endpoint<asio::ip::tcp> const&, bool)]+0x61): dangerous relocation: call8: call target out of range: asio::detail::throw_error(std::error_code const&, char const*)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN4asio21basic_socket_acceptorINS_2ip3tcpEEC2ERNS_10io_contextERKNS1_14basic_endpointIS2_EEb[asio::basic_socket_acceptor<asio::ip::tcp>::basic_socket_acceptor(asio::io_context&, asio::ip::basic_endpoint<asio::ip::tcp> const&, bool)]+0x6e): dangerous relocation: call8: call target out of range: asio::basic_io_object<asio::detail::reactive_socket_service<asio::ip::tcp>, true>::get_service()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN4asio21basic_socket_acceptorINS_2ip3tcpEEC2ERNS_10io_contextERKNS1_14basic_endpointIS2_EEb[asio::basic_socket_acceptor<asio::ip::tcp>::basic_socket_acceptor(asio::io_context&, asio::ip::basic_endpoint<asio::ip::tcp> const&, bool)]+0x7a): dangerous relocation: call8: call target out of range: asio::basic_io_object<asio::detail::reactive_socket_service<asio::ip::tcp>, true>::get_implementation()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN4asio21basic_socket_acceptorINS_2ip3tcpEEC2ERNS_10io_contextERKNS1_14basic_endpointIS2_EEb[asio::basic_socket_acceptor<asio::ip::tcp>::basic_socket_acceptor(asio::io_context&, asio::ip::basic_endpoint<asio::ip::tcp> const&, bool)]+0x86): dangerous relocation: call8: call target out of range: asio::detail::socket_option::boolean<4095, 4>::boolean(bool)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN4asio21basic_socket_acceptorINS_2ip3tcpEEC2ERNS_10io_contextERKNS1_14basic_endpointIS2_EEb[asio::basic_socket_acceptor<asio::ip::tcp>::basic_socket_acceptor(asio::io_context&, asio::ip::basic_endpoint<asio::ip::tcp> const&, bool)]+0x97): dangerous relocation: call8: call target out of range: std::error_code asio::detail::reactive_socket_service<asio::ip::tcp>::set_option<asio::detail::socket_option::boolean<4095, 4> >(asio::detail::reactive_socket_service<asio::ip::tcp>::implementation_type&, asio::detail::socket_option::boolean<4095, 4> const&, std::error_code&)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN4asio21basic_socket_acceptorINS_2ip3tcpEEC2ERNS_10io_contextERKNS1_14basic_endpointIS2_EEb[asio::basic_socket_acceptor<asio::ip::tcp>::basic_socket_acceptor(asio::io_context&, asio::ip::basic_endpoint<asio::ip::tcp> const&, bool)]+0xae): dangerous relocation: call8: call target out of range: asio::detail::throw_error(std::error_code const&, char const*)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN4asio21basic_socket_acceptorINS_2ip3tcpEEC2ERNS_10io_contextERKNS1_14basic_endpointIS2_EEb[asio::basic_socket_acceptor<asio::ip::tcp>::basic_socket_acceptor(asio::io_context&, asio::ip::basic_endpoint<asio::ip::tcp> const&, bool)]+0xb5): dangerous relocation: call8: call target out of range: asio::basic_io_object<asio::detail::reactive_socket_service<asio::ip::tcp>, true>::get_service()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN4asio21basic_socket_acceptorINS_2ip3tcpEEC2ERNS_10io_contextERKNS1_14basic_endpointIS2_EEb[asio::basic_socket_acceptor<asio::ip::tcp>::basic_socket_acceptor(asio::io_context&, asio::ip::basic_endpoint<asio::ip::tcp> const&, bool)]+0xbe): dangerous relocation: call8: call target out of range: asio::basic_io_object<asio::detail::reactive_socket_service<asio::ip::tcp>, true>::get_implementation()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN4asio21basic_socket_acceptorINS_2ip3tcpEEC2ERNS_10io_contextERKNS1_14basic_endpointIS2_EEb[asio::basic_socket_acceptor<asio::ip::tcp>::basic_socket_acceptor(asio::io_context&, asio::ip::basic_endpoint<asio::ip::tcp> const&, bool)]+0xce): dangerous relocation: call8: call target out of range: asio::detail::reactive_socket_service<asio::ip::tcp>::bind(asio::detail::reactive_socket_service<asio::ip::tcp>::implementation_type&, asio::ip::basic_endpoint<asio::ip::tcp> const&, std::error_code&)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN4asio21basic_socket_acceptorINS_2ip3tcpEEC2ERNS_10io_contextERKNS1_14basic_endpointIS2_EEb[asio::basic_socket_acceptor<asio::ip::tcp>::basic_socket_acceptor(asio::io_context&, asio::ip::basic_endpoint<asio::ip::tcp> const&, bool)]+0xe3): dangerous relocation: call8: call target out of range: asio::detail::throw_error(std::error_code const&, char const*)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN4asio21basic_socket_acceptorINS_2ip3tcpEEC2ERNS_10io_contextERKNS1_14basic_endpointIS2_EEb[asio::basic_socket_acceptor<asio::ip::tcp>::basic_socket_acceptor(asio::io_context&, asio::ip::basic_endpoint<asio::ip::tcp> const&, bool)]+0xea): dangerous relocation: call8: call target out of range: asio::basic_io_object<asio::detail::reactive_socket_service<asio::ip::tcp>, true>::get_service()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN4asio21basic_socket_acceptorINS_2ip3tcpEEC2ERNS_10io_contextERKNS1_14basic_endpointIS2_EEb[asio::basic_socket_acceptor<asio::ip::tcp>::basic_socket_acceptor(asio::io_context&, asio::ip::basic_endpoint<asio::ip::tcp> const&, bool)]+0xf6): dangerous relocation: call8: call target out of range: asio::basic_io_object<asio::detail::reactive_socket_service<asio::ip::tcp>, true>::get_implementation()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN4asio21basic_socket_acceptorINS_2ip3tcpEEC2ERNS_10io_contextERKNS1_14basic_endpointIS2_EEb[asio::basic_socket_acceptor<asio::ip::tcp>::basic_socket_acceptor(asio::io_context&, asio::ip::basic_endpoint<asio::ip::tcp> const&, bool)]+0x107): dangerous relocation: call8: call target out of range: asio::detail::reactive_socket_service_base::listen(asio::detail::reactive_socket_service_base::base_implementation_type&, int, std::error_code&)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN4asio21basic_socket_acceptorINS_2ip3tcpEEC2ERNS_10io_contextERKNS1_14basic_endpointIS2_EEb[asio::basic_socket_acceptor<asio::ip::tcp>::basic_socket_acceptor(asio::io_context&, asio::ip::basic_endpoint<asio::ip::tcp> const&, bool)]+0x11d): dangerous relocation: call8: call target out of range: asio::detail::throw_error(std::error_code const&, char const*)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN4asio21basic_socket_acceptorINS_2ip3tcpEEC2ERNS_10io_contextERKNS1_14basic_endpointIS2_EEb[asio::basic_socket_acceptor<asio::ip::tcp>::basic_socket_acceptor(asio::io_context&, asio::ip::basic_endpoint<asio::ip::tcp> const&, bool)]+0x126): dangerous relocation: call8: call target out of range: asio::socket_base::~socket_base()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN4asio21basic_socket_acceptorINS_2ip3tcpEEC2ERNS_10io_contextERKNS1_14basic_endpointIS2_EEb[asio::basic_socket_acceptor<asio::ip::tcp>::basic_socket_acceptor(asio::io_context&, asio::ip::basic_endpoint<asio::ip::tcp> const&, bool)]+0x12d): dangerous relocation: call8: call target out of range: asio::basic_io_object<asio::detail::reactive_socket_service<asio::ip::tcp>, true>::~basic_io_object()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `asio::detail::posix_tss_ptr<asio::detail::call_stack<asio::detail::thread_context, asio::detail::thread_info_base>::context>::~posix_tss_ptr()':
chat_server.cpp:(.text._ZN4asio6detail13posix_tss_ptrINS0_10call_stackINS0_14thread_contextENS0_16thread_info_baseEE7contextEED2Ev[asio::detail::posix_tss_ptr<asio::detail::call_stack<asio::detail::thread_context, asio::detail::thread_info_base>::context>::~posix_tss_ptr()]+0xd): dangerous relocation: call8: call target out of range: pthread_key_delete
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release()':
chat_server.cpp:(.text._ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE10_M_releaseEv[std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release()]+0xf): dangerous relocation: call8: call target out of range: (.text+0xa8)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE10_M_releaseEv[std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release()]+0x39): dangerous relocation: call8: call target out of range: (.text+0xa8)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_weak_release()':
chat_server.cpp:(.text._ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE15_M_weak_releaseEv[std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_weak_release()]+0xf): dangerous relocation: call8: call target out of range: (.text+0xa8)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_add_ref_copy()':
chat_server.cpp:(.text._ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE15_M_add_ref_copyEv[std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_add_ref_copy()]+0xf): dangerous relocation: call8: call target out of range: (.text+0xdc)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `std::pair<std::_Rb_tree_iterator<std::shared_ptr<chat_participant> >, bool> std::_Rb_tree<std::shared_ptr<chat_participant>, std::shared_ptr<chat_participant>, std::_Identity<std::shared_ptr<chat_participant> >, std::less<std::shared_ptr<chat_participant> >, std::allocator<std::shared_ptr<chat_participant> > >::_M_insert_unique<std::shared_ptr<chat_participant> const&>(std::shared_ptr<chat_participant> const&)':
chat_server.cpp:(.text._ZNSt8_Rb_treeISt10shared_ptrI16chat_participantES2_St9_IdentityIS2_ESt4lessIS2_ESaIS2_EE16_M_insert_uniqueIRKS2_EESt4pairISt17_Rb_tree_iteratorIS2_EbEOT_[std::pair<std::_Rb_tree_iterator<std::shared_ptr<chat_participant> >, bool> std::_Rb_tree<std::shared_ptr<chat_participant>, std::shared_ptr<chat_participant>, std::_Identity<std::shared_ptr<chat_participant> >, std::less<std::shared_ptr<chat_participant> >, std::allocator<std::shared_ptr<chat_participant> > >::_M_insert_unique<std::shared_ptr<chat_participant> const&>(std::shared_ptr<chat_participant> const&)]+0x7e): dangerous relocation: call8: call target out of range: memcpy
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZNSt8_Rb_treeISt10shared_ptrI16chat_participantES2_St9_IdentityIS2_ESt4lessIS2_ESaIS2_EE16_M_insert_uniqueIRKS2_EESt4pairISt17_Rb_tree_iteratorIS2_EbEOT_[std::pair<std::_Rb_tree_iterator<std::shared_ptr<chat_participant> >, bool> std::_Rb_tree<std::shared_ptr<chat_participant>, std::shared_ptr<chat_participant>, std::_Identity<std::shared_ptr<chat_participant> >, std::less<std::shared_ptr<chat_participant> >, std::allocator<std::shared_ptr<chat_participant> > >::_M_insert_unique<std::shared_ptr<chat_participant> const&>(std::shared_ptr<chat_participant> const&)]+0xb1): dangerous relocation: call8: call target out of range: memcpy
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `std::_Deque_iterator<chat_message, chat_message&, chat_message*>::difference_type std::operator-<chat_message, chat_message&, chat_message*>(std::_Deque_iterator<chat_message, chat_message&, chat_message*> const&, std::_Deque_iterator<chat_message, chat_message&, chat_message*> const&)':
chat_server.cpp:(.text._ZStmiI12chat_messageRS0_PS0_ENSt15_Deque_iteratorIT_T0_T1_E15difference_typeERKS7_SA_[std::_Deque_iterator<chat_message, chat_message&, chat_message*>::difference_type std::operator-<chat_message, chat_message&, chat_message*>(std::_Deque_iterator<chat_message, chat_message&, chat_message*> const&, std::_Deque_iterator<chat_message, chat_message&, chat_message*> const&)]+0x9): dangerous relocation: call8: call target out of range: std::_Deque_iterator<chat_message, chat_message&, chat_message*>::_S_buffer_size()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `asio::detail::reactive_socket_service<asio::ip::tcp>::open(asio::detail::reactive_socket_service<asio::ip::tcp>::implementation_type&, asio::ip::tcp const&, std::error_code&)':
chat_server.cpp:(.text._ZN4asio6detail23reactive_socket_serviceINS_2ip3tcpEE4openERNS4_19implementation_typeERKS3_RSt10error_code[asio::detail::reactive_socket_service<asio::ip::tcp>::open(asio::detail::reactive_socket_service<asio::ip::tcp>::implementation_type&, asio::ip::tcp const&, std::error_code&)]+0x6a): dangerous relocation: call8: call target out of range: memcpy
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `std::error_code asio::detail::reactive_socket_service<asio::ip::tcp>::set_option<asio::detail::socket_option::boolean<4095, 4> >(asio::detail::reactive_socket_service<asio::ip::tcp>::implementation_type&, asio::detail::socket_option::boolean<4095, 4> const&, std::error_code&)':
chat_server.cpp:(.text._ZN4asio6detail23reactive_socket_serviceINS_2ip3tcpEE10set_optionINS0_13socket_option7booleanILi4095ELi4EEEEESt10error_codeRNS4_19implementation_typeERKT_RS9_[std::error_code asio::detail::reactive_socket_service<asio::ip::tcp>::set_option<asio::detail::socket_option::boolean<4095, 4> >(asio::detail::reactive_socket_service<asio::ip::tcp>::implementation_type&, asio::detail::socket_option::boolean<4095, 4> const&, std::error_code&)]+0x1d): dangerous relocation: call8: call target out of range: int asio::detail::socket_option::boolean<4095, 4>::level<asio::ip::tcp>(asio::ip::tcp const&) const
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN4asio6detail23reactive_socket_serviceINS_2ip3tcpEE10set_optionINS0_13socket_option7booleanILi4095ELi4EEEEESt10error_codeRNS4_19implementation_typeERKT_RS9_[std::error_code asio::detail::reactive_socket_service<asio::ip::tcp>::set_option<asio::detail::socket_option::boolean<4095, 4> >(asio::detail::reactive_socket_service<asio::ip::tcp>::implementation_type&, asio::detail::socket_option::boolean<4095, 4> const&, std::error_code&)]+0x6a): dangerous relocation: call8: call target out of range: memcpy
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `asio::detail::reactive_socket_service<asio::ip::tcp>::bind(asio::detail::reactive_socket_service<asio::ip::tcp>::implementation_type&, asio::ip::basic_endpoint<asio::ip::tcp> const&, std::error_code&)':
chat_server.cpp:(.text._ZN4asio6detail23reactive_socket_serviceINS_2ip3tcpEE4bindERNS4_19implementation_typeERKNS2_14basic_endpointIS3_EERSt10error_code[asio::detail::reactive_socket_service<asio::ip::tcp>::bind(asio::detail::reactive_socket_service<asio::ip::tcp>::implementation_type&, asio::ip::basic_endpoint<asio::ip::tcp> const&, std::error_code&)]+0x36): dangerous relocation: call8: call target out of range: memcpy
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `void asio::detail::reactive_socket_service<asio::ip::tcp>::async_accept<chat_server::do_accept()::{lambda(std::error_code, asio::basic_stream_socket<asio::ip::tcp>)#1}>(asio::detail::reactive_socket_service<asio::ip::tcp>::implementation_type&, asio::io_context*, asio::ip::basic_endpoint<asio::ip::tcp>*, chat_server::do_accept()::{lambda(std::error_code, asio::basic_stream_socket<asio::ip::tcp>)#1}&)':
chat_server.cpp:(.text._ZN4asio6detail23reactive_socket_serviceINS_2ip3tcpEE12async_acceptIZN11chat_server9do_acceptEvEUlSt10error_codeNS_19basic_stream_socketIS3_EEE_EEvRNS4_19implementation_typeEPNS_10io_contextEPNS2_14basic_endpointIS3_EERT_[void asio::detail::reactive_socket_service<asio::ip::tcp>::async_accept<chat_server::do_accept()::{lambda(std::error_code, asio::basic_stream_socket<asio::ip::tcp>)#1}>(asio::detail::reactive_socket_service<asio::ip::tcp>::implementation_type&, asio::io_context*, asio::ip::basic_endpoint<asio::ip::tcp>*, chat_server::do_accept()::{lambda(std::error_code, asio::basic_stream_socket<asio::ip::tcp>)#1}&)]+0x6d): dangerous relocation: call8: call target out of range: asio::detail::reactive_socket_move_accept_op<asio::ip::tcp, chat_server::do_accept()::{lambda(std::error_code, asio::basic_stream_socket<asio::ip::tcp>)#1}>::reactive_socket_move_accept_op(asio::io_context&, int, unsigned char, asio::ip::tcp const&, asio::ip::basic_endpoint<asio::ip::tcp>*, {lambda(std::error_code, asio::basic_stream_socket<asio::ip::tcp>)#1}&)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `asio::detail::reactive_socket_service<asio::ip::tcp>& asio::use_service<asio::detail::reactive_socket_service<asio::ip::tcp> >(asio::io_context&)':
chat_server.cpp:(.text._ZN4asio11use_serviceINS_6detail23reactive_socket_serviceINS_2ip3tcpEEEEERT_RNS_10io_contextE[asio::detail::reactive_socket_service<asio::ip::tcp>& asio::use_service<asio::detail::reactive_socket_service<asio::ip::tcp> >(asio::io_context&)]+0xf): dangerous relocation: call8: call target out of range: asio::detail::reactive_socket_service<asio::ip::tcp>& asio::detail::service_registry::use_service<asio::detail::reactive_socket_service<asio::ip::tcp> >(asio::io_context&)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_weak_add_ref()':
chat_server.cpp:(.text._ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE15_M_weak_add_refEv[std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_weak_add_ref()]+0xf): dangerous relocation: call8: call target out of range: (.text+0xdc)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `std::_Rb_tree<std::shared_ptr<chat_participant>, std::shared_ptr<chat_participant>, std::_Identity<std::shared_ptr<chat_participant> >, std::less<std::shared_ptr<chat_participant> >, std::allocator<std::shared_ptr<chat_participant> > >::_M_get_insert_unique_pos(std::shared_ptr<chat_participant> const&)':
chat_server.cpp:(.text._ZNSt8_Rb_treeISt10shared_ptrI16chat_participantES2_St9_IdentityIS2_ESt4lessIS2_ESaIS2_EE24_M_get_insert_unique_posERKS2_[std::_Rb_tree<std::shared_ptr<chat_participant>, std::shared_ptr<chat_participant>, std::_Identity<std::shared_ptr<chat_participant> >, std::less<std::shared_ptr<chat_participant> >, std::allocator<std::shared_ptr<chat_participant> > >::_M_get_insert_unique_pos(std::shared_ptr<chat_participant> const&)]+0xb6): dangerous relocation: call8: call target out of range: memcpy
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZNSt8_Rb_treeISt10shared_ptrI16chat_participantES2_St9_IdentityIS2_ESt4lessIS2_ESaIS2_EE24_M_get_insert_unique_posERKS2_[std::_Rb_tree<std::shared_ptr<chat_participant>, std::shared_ptr<chat_participant>, std::_Identity<std::shared_ptr<chat_participant> >, std::less<std::shared_ptr<chat_participant> >, std::allocator<std::shared_ptr<chat_participant> > >::_M_get_insert_unique_pos(std::shared_ptr<chat_participant> const&)]+0xfe): dangerous relocation: call8: call target out of range: memcpy
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZNSt8_Rb_treeISt10shared_ptrI16chat_participantES2_St9_IdentityIS2_ESt4lessIS2_ESaIS2_EE24_M_get_insert_unique_posERKS2_[std::_Rb_tree<std::shared_ptr<chat_participant>, std::shared_ptr<chat_participant>, std::_Identity<std::shared_ptr<chat_participant> >, std::less<std::shared_ptr<chat_participant> >, std::allocator<std::shared_ptr<chat_participant> > >::_M_get_insert_unique_pos(std::shared_ptr<chat_participant> const&)]+0x125): dangerous relocation: call8: call target out of range: memcpy
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `std::_Rb_tree<std::shared_ptr<chat_participant>, std::shared_ptr<chat_participant>, std::_Identity<std::shared_ptr<chat_participant> >, std::less<std::shared_ptr<chat_participant> >, std::allocator<std::shared_ptr<chat_participant> > >::equal_range(std::shared_ptr<chat_participant> const&)':
chat_server.cpp:(.text._ZNSt8_Rb_treeISt10shared_ptrI16chat_participantES2_St9_IdentityIS2_ESt4lessIS2_ESaIS2_EE11equal_rangeERKS2_[std::_Rb_tree<std::shared_ptr<chat_participant>, std::shared_ptr<chat_participant>, std::_Identity<std::shared_ptr<chat_participant> >, std::less<std::shared_ptr<chat_participant> >, std::allocator<std::shared_ptr<chat_participant> > >::equal_range(std::shared_ptr<chat_participant> const&)]+0xca): dangerous relocation: call8: call target out of range: memcpy
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZNSt8_Rb_treeISt10shared_ptrI16chat_participantES2_St9_IdentityIS2_ESt4lessIS2_ESaIS2_EE11equal_rangeERKS2_[std::_Rb_tree<std::shared_ptr<chat_participant>, std::shared_ptr<chat_participant>, std::_Identity<std::shared_ptr<chat_participant> >, std::less<std::shared_ptr<chat_participant> >, std::allocator<std::shared_ptr<chat_participant> > >::equal_range(std::shared_ptr<chat_participant> const&)]+0x10a): dangerous relocation: call8: call target out of range: memcpy
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `void __gnu_cxx::new_allocator<chat_message>::construct<chat_message, chat_message const&>(chat_message*, chat_message const&)':
chat_server.cpp:(.text._ZN9__gnu_cxx13new_allocatorI12chat_messageE9constructIS1_JRKS1_EEEvPT_DpOT0_[void __gnu_cxx::new_allocator<chat_message>::construct<chat_message, chat_message const&>(chat_message*, chat_message const&)]+0x27): dangerous relocation: call8: call target out of range: memcpy
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `std::deque<chat_message, std::allocator<chat_message> >::_M_reserve_map_at_back(unsigned int)':
chat_server.cpp:(.text._ZNSt5dequeI12chat_messageSaIS0_EE22_M_reserve_map_at_backEj[std::deque<chat_message, std::allocator<chat_message> >::_M_reserve_map_at_back(unsigned int)]+0x2b): dangerous relocation: call8: call target out of range: std::deque<chat_message, std::allocator<chat_message> >::_M_reallocate_map(unsigned int, bool)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `std::_Deque_base<chat_message, std::allocator<chat_message> >::_M_initialize_map(unsigned int)':
chat_server.cpp:(.text._ZNSt11_Deque_baseI12chat_messageSaIS0_EE17_M_initialize_mapEj[std::_Deque_base<chat_message, std::allocator<chat_message> >::_M_initialize_map(unsigned int)]+0xc1): dangerous relocation: call8: call target out of range: __cxa_begin_catch
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZNSt11_Deque_baseI12chat_messageSaIS0_EE17_M_initialize_mapEj[std::_Deque_base<chat_message, std::allocator<chat_message> >::_M_initialize_map(unsigned int)]+0xe2): dangerous relocation: call8: call target out of range: __cxa_rethrow
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZNSt11_Deque_baseI12chat_messageSaIS0_EE17_M_initialize_mapEj[std::_Deque_base<chat_message, std::allocator<chat_message> >::_M_initialize_map(unsigned int)]+0xe5): dangerous relocation: call8: call target out of range: __cxa_end_catch
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `std::shared_ptr<chat_session>::shared_ptr<std::allocator<chat_session>, asio::basic_stream_socket<asio::ip::tcp>, chat_room&>(std::_Sp_make_shared_tag, std::allocator<chat_session> const&, asio::basic_stream_socket<asio::ip::tcp>&&, chat_room&)':
chat_server.cpp:(.text._ZNSt10shared_ptrI12chat_sessionEC2ISaIS0_EJN4asio19basic_stream_socketINS4_2ip3tcpEEER9chat_roomEEESt19_Sp_make_shared_tagRKT_DpOT0_[std::shared_ptr<chat_session>::shared_ptr<std::allocator<chat_session>, asio::basic_stream_socket<asio::ip::tcp>, chat_room&>(std::_Sp_make_shared_tag, std::allocator<chat_session> const&, asio::basic_stream_socket<asio::ip::tcp>&&, chat_room&)]+0x2d): dangerous relocation: call8: call target out of range: std::__shared_ptr<chat_session, (__gnu_cxx::_Lock_policy)2>::__shared_ptr<std::allocator<chat_session>, asio::basic_stream_socket<asio::ip::tcp>, chat_room&>(std::_Sp_make_shared_tag, std::allocator<chat_session> const&, asio::basic_stream_socket<asio::ip::tcp>&&, chat_room&)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `asio::detail::reactive_socket_move_accept_op<asio::ip::tcp, chat_server::do_accept()::{lambda(std::error_code, asio::basic_stream_socket<asio::ip::tcp>)#1}>::reactive_socket_move_accept_op(asio::io_context&, int, unsigned char, asio::ip::tcp const&, asio::ip::basic_endpoint<asio::ip::tcp>*, {lambda(std::error_code, asio::basic_stream_socket<asio::ip::tcp>)#1}&)':
chat_server.cpp:(.text._ZN4asio6detail30reactive_socket_move_accept_opINS_2ip3tcpEZN11chat_server9do_acceptEvEUlSt10error_codeNS_19basic_stream_socketIS3_EEE_EC2ERNS_10io_contextEihRKS3_PNS2_14basic_endpointIS3_EERS8_[asio::detail::reactive_socket_move_accept_op<asio::ip::tcp, chat_server::do_accept()::{lambda(std::error_code, asio::basic_stream_socket<asio::ip::tcp>)#1}>::reactive_socket_move_accept_op(asio::io_context&, int, unsigned char, asio::ip::tcp const&, asio::ip::basic_endpoint<asio::ip::tcp>*, {lambda(std::error_code, asio::basic_stream_socket<asio::ip::tcp>)#1}&)]+0x1d): dangerous relocation: call8: call target out of range: asio::basic_stream_socket<asio::ip::tcp>::basic_stream_socket(asio::io_context&)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN4asio6detail30reactive_socket_move_accept_opINS_2ip3tcpEZN11chat_server9do_acceptEvEUlSt10error_codeNS_19basic_stream_socketIS3_EEE_EC2ERNS_10io_contextEihRKS3_PNS2_14basic_endpointIS3_EERS8_[asio::detail::reactive_socket_move_accept_op<asio::ip::tcp, chat_server::do_accept()::{lambda(std::error_code, asio::basic_stream_socket<asio::ip::tcp>)#1}>::reactive_socket_move_accept_op(asio::io_context&, int, unsigned char, asio::ip::tcp const&, asio::ip::basic_endpoint<asio::ip::tcp>*, {lambda(std::error_code, asio::basic_stream_socket<asio::ip::tcp>)#1}&)]+0x4f): dangerous relocation: call8: call target out of range: asio::detail::handler_work<chat_server::do_accept()::{lambda(std::error_code, asio::basic_stream_socket<asio::ip::tcp>)#1}, asio::system_executor>::start({lambda(std::error_code, asio::basic_stream_socket<asio::ip::tcp>)#1}&)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `std::_List_node<chat_server>* std::__cxx11::list<chat_server, std::allocator<chat_server> >::_M_create_node<asio::io_context&, asio::ip::basic_endpoint<asio::ip::tcp>&>(asio::io_context&, asio::ip::basic_endpoint<asio::ip::tcp>&)':
chat_server.cpp:(.text._ZNSt7__cxx114listI11chat_serverSaIS1_EE14_M_create_nodeIJRN4asio10io_contextERNS5_2ip14basic_endpointINS8_3tcpEEEEEEPSt10_List_nodeIS1_EDpOT_[std::_List_node<chat_server>* std::__cxx11::list<chat_server, std::allocator<chat_server> >::_M_create_node<asio::io_context&, asio::ip::basic_endpoint<asio::ip::tcp>&>(asio::io_context&, asio::ip::basic_endpoint<asio::ip::tcp>&)]+0x6e): dangerous relocation: call8: call target out of range: _Unwind_Resume
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::~_Sp_counted_base()':
chat_server.cpp:(.text._ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EED0Ev[std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::~_Sp_counted_base()]+0xa): dangerous relocation: call8: call target out of range: std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::~_Sp_counted_base()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count(std::__weak_count<(__gnu_cxx::_Lock_policy)2> const&)':
chat_server.cpp:(.text._ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EEC2ERKSt12__weak_countILS1_2EE[std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count(std::__weak_count<(__gnu_cxx::_Lock_policy)2> const&)]+0x25): dangerous relocation: call8: call target out of range: std::__throw_bad_weak_ptr()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `asio::detail::reactive_socket_service<asio::ip::tcp>& asio::detail::service_registry::use_service<asio::detail::reactive_socket_service<asio::ip::tcp> >(asio::io_context&)':
chat_server.cpp:(.text._ZN4asio6detail16service_registry11use_serviceINS0_23reactive_socket_serviceINS_2ip3tcpEEEEERT_RNS_10io_contextE[asio::detail::reactive_socket_service<asio::ip::tcp>& asio::detail::service_registry::use_service<asio::detail::reactive_socket_service<asio::ip::tcp> >(asio::io_context&)]+0xd): dangerous relocation: call8: call target out of range: asio::execution_context::service::key::key()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `asio::detail::reactive_socket_accept_op_base<asio::basic_stream_socket<asio::ip::tcp>, asio::ip::tcp>::reactive_socket_accept_op_base(int, unsigned char, asio::basic_stream_socket<asio::ip::tcp>&, asio::ip::tcp const&, asio::ip::basic_endpoint<asio::ip::tcp>*, void (*)(void*, asio::detail::scheduler_operation*, std::error_code const&, unsigned int))':
chat_server.cpp:(.text._ZN4asio6detail30reactive_socket_accept_op_baseINS_19basic_stream_socketINS_2ip3tcpEEES4_EC2EihRS5_RKS4_PNS3_14basic_endpointIS4_EEPFvPvPNS0_19scheduler_operationERKSt10error_codejE[asio::detail::reactive_socket_accept_op_base<asio::basic_stream_socket<asio::ip::tcp>, asio::ip::tcp>::reactive_socket_accept_op_base(int, unsigned char, asio::basic_stream_socket<asio::ip::tcp>&, asio::ip::tcp const&, asio::ip::basic_endpoint<asio::ip::tcp>*, void (*)(void*, asio::detail::scheduler_operation*, std::error_code const&, unsigned int))]+0x22): dangerous relocation: call8: call target out of range: asio::detail::reactor_op::reactor_op(asio::detail::reactor_op::status (*)(asio::detail::reactor_op*), void (*)(void*, asio::detail::scheduler_operation*, std::error_code const&, unsigned int))
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN4asio6detail30reactive_socket_accept_op_baseINS_19basic_stream_socketINS_2ip3tcpEEES4_EC2EihRS5_RKS4_PNS3_14basic_endpointIS4_EEPFvPvPNS0_19scheduler_operationERKSt10error_codejE[asio::detail::reactive_socket_accept_op_base<asio::basic_stream_socket<asio::ip::tcp>, asio::ip::tcp>::reactive_socket_accept_op_base(int, unsigned char, asio::basic_stream_socket<asio::ip::tcp>&, asio::ip::tcp const&, asio::ip::basic_endpoint<asio::ip::tcp>*, void (*)(void*, asio::detail::scheduler_operation*, std::error_code const&, unsigned int))]+0x3a): dangerous relocation: call8: call target out of range: asio::detail::socket_holder::socket_holder()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN4asio6detail30reactive_socket_accept_op_baseINS_19basic_stream_socketINS_2ip3tcpEEES4_EC2EihRS5_RKS4_PNS3_14basic_endpointIS4_EEPFvPvPNS0_19scheduler_operationERKSt10error_codejE[asio::detail::reactive_socket_accept_op_base<asio::basic_stream_socket<asio::ip::tcp>, asio::ip::tcp>::reactive_socket_accept_op_base(int, unsigned char, asio::basic_stream_socket<asio::ip::tcp>&, asio::ip::tcp const&, asio::ip::basic_endpoint<asio::ip::tcp>*, void (*)(void*, asio::detail::scheduler_operation*, std::error_code const&, unsigned int))]+0x57): dangerous relocation: call8: call target out of range: asio::ip::basic_endpoint<asio::ip::tcp>::capacity() const
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `std::deque<chat_message, std::allocator<chat_message> >::_M_reallocate_map(unsigned int, bool)':
chat_server.cpp:(.text._ZNSt5dequeI12chat_messageSaIS0_EE17_M_reallocate_mapEjb[std::deque<chat_message, std::allocator<chat_message> >::_M_reallocate_map(unsigned int, bool)]+0x75): dangerous relocation: call8: call target out of range: chat_message** std::copy<chat_message**, chat_message**>(chat_message**, chat_message**, chat_message**)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZNSt5dequeI12chat_messageSaIS0_EE17_M_reallocate_mapEjb[std::deque<chat_message, std::allocator<chat_message> >::_M_reallocate_map(unsigned int, bool)]+0x95): dangerous relocation: call8: call target out of range: chat_message** std::copy_backward<chat_message**, chat_message**>(chat_message**, chat_message**, chat_message**)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZNSt5dequeI12chat_messageSaIS0_EE17_M_reallocate_mapEjb[std::deque<chat_message, std::allocator<chat_message> >::_M_reallocate_map(unsigned int, bool)]+0xab): dangerous relocation: call8: call target out of range: unsigned int const& std::max<unsigned int>(unsigned int const&, unsigned int const&)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZNSt5dequeI12chat_messageSaIS0_EE17_M_reallocate_mapEjb[std::deque<chat_message, std::allocator<chat_message> >::_M_reallocate_map(unsigned int, bool)]+0xbe): dangerous relocation: call8: call target out of range: std::_Deque_base<chat_message, std::allocator<chat_message> >::_M_allocate_map(unsigned int)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZNSt5dequeI12chat_messageSaIS0_EE17_M_reallocate_mapEjb[std::deque<chat_message, std::allocator<chat_message> >::_M_reallocate_map(unsigned int, bool)]+0xfb): dangerous relocation: call8: call target out of range: chat_message** std::copy<chat_message**, chat_message**>(chat_message**, chat_message**, chat_message**)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZNSt5dequeI12chat_messageSaIS0_EE17_M_reallocate_mapEjb[std::deque<chat_message, std::allocator<chat_message> >::_M_reallocate_map(unsigned int, bool)]+0x10f): dangerous relocation: call8: call target out of range: std::_Deque_base<chat_message, std::allocator<chat_message> >::_M_deallocate_map(chat_message**, unsigned int)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZNSt5dequeI12chat_messageSaIS0_EE17_M_reallocate_mapEjb[std::deque<chat_message, std::allocator<chat_message> >::_M_reallocate_map(unsigned int, bool)]+0x127): dangerous relocation: call8: call target out of range: std::_Deque_iterator<chat_message, chat_message&, chat_message*>::_M_set_node(chat_message**)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZNSt5dequeI12chat_messageSaIS0_EE17_M_reallocate_mapEjb[std::deque<chat_message, std::allocator<chat_message> >::_M_reallocate_map(unsigned int, bool)]+0x141): dangerous relocation: call8: call target out of range: std::_Deque_iterator<chat_message, chat_message&, chat_message*>::_M_set_node(chat_message**)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `std::_Deque_base<chat_message, std::allocator<chat_message> >::_M_allocate_map(unsigned int)':
chat_server.cpp:(.text._ZNSt11_Deque_baseI12chat_messageSaIS0_EE15_M_allocate_mapEj[std::_Deque_base<chat_message, std::allocator<chat_message> >::_M_allocate_map(unsigned int)]+0x2b): dangerous relocation: call8: call target out of range: _Unwind_Resume
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `std::_Deque_base<chat_message, std::allocator<chat_message> >::_M_create_nodes(chat_message**, chat_message**)':
chat_server.cpp:(.text._ZNSt11_Deque_baseI12chat_messageSaIS0_EE15_M_create_nodesEPPS0_S4_[std::_Deque_base<chat_message, std::allocator<chat_message> >::_M_create_nodes(chat_message**, chat_message**)]+0x2d): dangerous relocation: call8: call target out of range: __cxa_begin_catch
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZNSt11_Deque_baseI12chat_messageSaIS0_EE15_M_create_nodesEPPS0_S4_[std::_Deque_base<chat_message, std::allocator<chat_message> >::_M_create_nodes(chat_message**, chat_message**)]+0x39): dangerous relocation: call8: call target out of range: __cxa_rethrow
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZNSt11_Deque_baseI12chat_messageSaIS0_EE15_M_create_nodesEPPS0_S4_[std::_Deque_base<chat_message, std::allocator<chat_message> >::_M_create_nodes(chat_message**, chat_message**)]+0x3c): dangerous relocation: call8: call target out of range: __cxa_end_catch
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZNSt11_Deque_baseI12chat_messageSaIS0_EE15_M_create_nodesEPPS0_S4_[std::_Deque_base<chat_message, std::allocator<chat_message> >::_M_create_nodes(chat_message**, chat_message**)]+0x41): dangerous relocation: call8: call target out of range: _Unwind_Resume
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `std::__shared_ptr<chat_session, (__gnu_cxx::_Lock_policy)2>::__shared_ptr<std::allocator<chat_session>, asio::basic_stream_socket<asio::ip::tcp>, chat_room&>(std::_Sp_make_shared_tag, std::allocator<chat_session> const&, asio::basic_stream_socket<asio::ip::tcp>&&, chat_room&)':
chat_server.cpp:(.text._ZNSt12__shared_ptrI12chat_sessionLN9__gnu_cxx12_Lock_policyE2EEC2ISaIS0_EJN4asio19basic_stream_socketINS6_2ip3tcpEEER9chat_roomEEESt19_Sp_make_shared_tagRKT_DpOT0_[std::__shared_ptr<chat_session, (__gnu_cxx::_Lock_policy)2>::__shared_ptr<std::allocator<chat_session>, asio::basic_stream_socket<asio::ip::tcp>, chat_room&>(std::_Sp_make_shared_tag, std::allocator<chat_session> const&, asio::basic_stream_socket<asio::ip::tcp>&&, chat_room&)]+0x1e): dangerous relocation: call8: call target out of range: asio::basic_stream_socket<asio::ip::tcp>&& std::forward<asio::basic_stream_socket<asio::ip::tcp> >(std::remove_reference<asio::basic_stream_socket<asio::ip::tcp> >::type&)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZNSt12__shared_ptrI12chat_sessionLN9__gnu_cxx12_Lock_policyE2EEC2ISaIS0_EJN4asio19basic_stream_socketINS6_2ip3tcpEEER9chat_roomEEESt19_Sp_make_shared_tagRKT_DpOT0_[std::__shared_ptr<chat_session, (__gnu_cxx::_Lock_policy)2>::__shared_ptr<std::allocator<chat_session>, asio::basic_stream_socket<asio::ip::tcp>, chat_room&>(std::_Sp_make_shared_tag, std::allocator<chat_session> const&, asio::basic_stream_socket<asio::ip::tcp>&&, chat_room&)]+0x25): dangerous relocation: call8: call target out of range: chat_room& std::forward<chat_room&>(std::remove_reference<chat_room&>::type&)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZNSt12__shared_ptrI12chat_sessionLN9__gnu_cxx12_Lock_policyE2EEC2ISaIS0_EJN4asio19basic_stream_socketINS6_2ip3tcpEEER9chat_roomEEESt19_Sp_make_shared_tagRKT_DpOT0_[std::__shared_ptr<chat_session, (__gnu_cxx::_Lock_policy)2>::__shared_ptr<std::allocator<chat_session>, asio::basic_stream_socket<asio::ip::tcp>, chat_room&>(std::_Sp_make_shared_tag, std::allocator<chat_session> const&, asio::basic_stream_socket<asio::ip::tcp>&&, chat_room&)]+0x37): dangerous relocation: call8: call target out of range: std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count<chat_session, std::allocator<chat_session>, asio::basic_stream_socket<asio::ip::tcp>, chat_room&>(std::_Sp_make_shared_tag, chat_session*, std::allocator<chat_session> const&, asio::basic_stream_socket<asio::ip::tcp>&&, chat_room&)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZNSt12__shared_ptrI12chat_sessionLN9__gnu_cxx12_Lock_policyE2EEC2ISaIS0_EJN4asio19basic_stream_socketINS6_2ip3tcpEEER9chat_roomEEESt19_Sp_make_shared_tagRKT_DpOT0_[std::__shared_ptr<chat_session, (__gnu_cxx::_Lock_policy)2>::__shared_ptr<std::allocator<chat_session>, asio::basic_stream_socket<asio::ip::tcp>, chat_room&>(std::_Sp_make_shared_tag, std::allocator<chat_session> const&, asio::basic_stream_socket<asio::ip::tcp>&&, chat_room&)]+0x46): dangerous relocation: call8: call target out of range: std::__shared_count<(__gnu_cxx::_Lock_policy)2>::_M_get_deleter(std::type_info const&) const
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZNSt12__shared_ptrI12chat_sessionLN9__gnu_cxx12_Lock_policyE2EEC2ISaIS0_EJN4asio19basic_stream_socketINS6_2ip3tcpEEER9chat_roomEEESt19_Sp_make_shared_tagRKT_DpOT0_[std::__shared_ptr<chat_session, (__gnu_cxx::_Lock_policy)2>::__shared_ptr<std::allocator<chat_session>, asio::basic_stream_socket<asio::ip::tcp>, chat_room&>(std::_Sp_make_shared_tag, std::allocator<chat_session> const&, asio::basic_stream_socket<asio::ip::tcp>&&, chat_room&)]+0x59): dangerous relocation: call8: call target out of range: std::enable_if<std::__shared_ptr<chat_session, (__gnu_cxx::_Lock_policy)2>::__has_esft_base<chat_session, void>::value, void>::type std::__shared_ptr<chat_session, (__gnu_cxx::_Lock_policy)2>::_M_enable_shared_from_this_with<chat_session, chat_session>(chat_session*)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `asio::detail::reactive_socket_move_accept_op<asio::ip::tcp, chat_server::do_accept()::{lambda(std::error_code, asio::basic_stream_socket<asio::ip::tcp>)#1}>::do_complete(void*, asio::detail::scheduler_operation*, std::error_code const&, unsigned int)':
chat_server.cpp:(.text._ZN4asio6detail30reactive_socket_move_accept_opINS_2ip3tcpEZN11chat_server9do_acceptEvEUlSt10error_codeNS_19basic_stream_socketIS3_EEE_E11do_completeEPvPNS0_19scheduler_operationERKS5_j[asio::detail::reactive_socket_move_accept_op<asio::ip::tcp, chat_server::do_accept()::{lambda(std::error_code, asio::basic_stream_socket<asio::ip::tcp>)#1}>::do_complete(void*, asio::detail::scheduler_operation*, std::error_code const&, unsigned int)]+0xfa): dangerous relocation: call8: call target out of range: _Unwind_Resume
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `void asio::detail::service_registry::init_key<asio::detail::reactive_socket_service<asio::ip::tcp> >(asio::execution_context::service::key&, ...)':
chat_server.cpp:(.text._ZN4asio6detail16service_registry8init_keyINS0_23reactive_socket_serviceINS_2ip3tcpEEEEEvRNS_17execution_context7service3keyEz[void asio::detail::service_registry::init_key<asio::detail::reactive_socket_service<asio::ip::tcp> >(asio::execution_context::service::key&, ...)]+0xe): dangerous relocation: call8: call target out of range: asio::detail::service_registry::init_key_from_id(asio::execution_context::service::key&, asio::execution_context::id const&)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `asio::execution_context::service* asio::detail::service_registry::create<asio::detail::reactive_socket_service<asio::ip::tcp>, asio::io_context>(void*)':
chat_server.cpp:(.text._ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3tcpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv[asio::execution_context::service* asio::detail::service_registry::create<asio::detail::reactive_socket_service<asio::ip::tcp>, asio::io_context>(void*)]+0xa): dangerous relocation: call8: call target out of range: operator new(unsigned int)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3tcpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv[asio::execution_context::service* asio::detail::service_registry::create<asio::detail::reactive_socket_service<asio::ip::tcp>, asio::io_context>(void*)]+0x15): dangerous relocation: call8: call target out of range: asio::detail::reactive_socket_service<asio::ip::tcp>::reactive_socket_service(asio::io_context&)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3tcpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv[asio::execution_context::service* asio::detail::service_registry::create<asio::detail::reactive_socket_service<asio::ip::tcp>, asio::io_context>(void*)]+0x21): dangerous relocation: call8: call target out of range: operator delete(void*, unsigned int)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3tcpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv[asio::execution_context::service* asio::detail::service_registry::create<asio::detail::reactive_socket_service<asio::ip::tcp>, asio::io_context>(void*)]+0x26): dangerous relocation: call8: call target out of range: _Unwind_Resume
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `__gnu_cxx::new_allocator<chat_message>::allocate(unsigned int, void const*)':
chat_server.cpp:(.text._ZN9__gnu_cxx13new_allocatorI12chat_messageE8allocateEjPKv[__gnu_cxx::new_allocator<chat_message>::allocate(unsigned int, void const*)]+0xe): dangerous relocation: call8: call target out of range: __gnu_cxx::new_allocator<chat_message>::max_size() const
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN9__gnu_cxx13new_allocatorI12chat_messageE8allocateEjPKv[__gnu_cxx::new_allocator<chat_message>::allocate(unsigned int, void const*)]+0x32): dangerous relocation: call8: call target out of range: operator new(unsigned int)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `__gnu_cxx::new_allocator<chat_message>::deallocate(chat_message*, unsigned int)':
chat_server.cpp:(.text._ZN9__gnu_cxx13new_allocatorI12chat_messageE10deallocateEPS1_j[__gnu_cxx::new_allocator<chat_message>::deallocate(chat_message*, unsigned int)]+0xd): dangerous relocation: call8: call target out of range: operator delete(void*)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `__gnu_cxx::new_allocator<chat_message*>::deallocate(chat_message**, unsigned int)':
chat_server.cpp:(.text._ZN9__gnu_cxx13new_allocatorIP12chat_messageE10deallocateEPS2_j[__gnu_cxx::new_allocator<chat_message*>::deallocate(chat_message**, unsigned int)]+0xd): dangerous relocation: call8: call target out of range: operator delete(void*)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `void asio::detail::reactive_socket_service_base::async_receive<asio::mutable_buffers_1, asio::detail::read_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_read_header()::{lambda(std::error_code, unsigned int)#1}> >(asio::detail::reactive_socket_service_base::base_implementation_type&, asio::mutable_buffers_1 const&, int, asio::detail::read_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_read_header()::{lambda(std::error_code, unsigned int)#1}>&)':
chat_server.cpp:(.text._ZN4asio6detail28reactive_socket_service_base13async_receiveINS_17mutable_buffers_1ENS0_7read_opINS_19basic_stream_socketINS_2ip3tcpEEES3_PKNS_14mutable_bufferENS0_14transfer_all_tEZN12chat_session14do_read_headerEvEUlSt10error_codejE_EEEEvRNS1_24base_implementation_typeERKT_iRT0_[void asio::detail::reactive_socket_service_base::async_receive<asio::mutable_buffers_1, asio::detail::read_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_read_header()::{lambda(std::error_code, unsigned int)#1}> >(asio::detail::reactive_socket_service_base::base_implementation_type&, asio::mutable_buffers_1 const&, int, asio::detail::read_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_read_header()::{lambda(std::error_code, unsigned int)#1}>&)]+0x59): dangerous relocation: call8: call target out of range: asio::detail::reactive_socket_recv_op<asio::mutable_buffers_1, asio::detail::read_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_read_header()::{lambda(std::error_code, unsigned int)#1}> >::reactive_socket_recv_op(int, unsigned char, asio::mutable_buffers_1 const&, int, chat_session::do_read_header()::{lambda(std::error_code, unsigned int)#1}&)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN4asio6detail28reactive_socket_service_base13async_receiveINS_17mutable_buffers_1ENS0_7read_opINS_19basic_stream_socketINS_2ip3tcpEEES3_PKNS_14mutable_bufferENS0_14transfer_all_tEZN12chat_session14do_read_headerEvEUlSt10error_codejE_EEEEvRNS1_24base_implementation_typeERKT_iRT0_[void asio::detail::reactive_socket_service_base::async_receive<asio::mutable_buffers_1, asio::detail::read_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_read_header()::{lambda(std::error_code, unsigned int)#1}> >(asio::detail::reactive_socket_service_base::base_implementation_type&, asio::mutable_buffers_1 const&, int, asio::detail::read_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_read_header()::{lambda(std::error_code, unsigned int)#1}>&)]+0xde): dangerous relocation: call8: call target out of range: _Unwind_Resume
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `void asio::detail::reactive_socket_service_base::async_receive<asio::mutable_buffers_1, asio::detail::read_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_read_body()::{lambda(std::error_code, unsigned int)#1}> >(asio::detail::reactive_socket_service_base::base_implementation_type&, asio::mutable_buffers_1 const&, int, asio::detail::read_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_read_body()::{lambda(std::error_code, unsigned int)#1}>&)':
chat_server.cpp:(.text._ZN4asio6detail28reactive_socket_service_base13async_receiveINS_17mutable_buffers_1ENS0_7read_opINS_19basic_stream_socketINS_2ip3tcpEEES3_PKNS_14mutable_bufferENS0_14transfer_all_tEZN12chat_session12do_read_bodyEvEUlSt10error_codejE_EEEEvRNS1_24base_implementation_typeERKT_iRT0_[void asio::detail::reactive_socket_service_base::async_receive<asio::mutable_buffers_1, asio::detail::read_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_read_body()::{lambda(std::error_code, unsigned int)#1}> >(asio::detail::reactive_socket_service_base::base_implementation_type&, asio::mutable_buffers_1 const&, int, asio::detail::read_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_read_body()::{lambda(std::error_code, unsigned int)#1}>&)]+0x59): dangerous relocation: call8: call target out of range: asio::detail::reactive_socket_recv_op<asio::mutable_buffers_1, asio::detail::read_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_read_body()::{lambda(std::error_code, unsigned int)#1}> >::reactive_socket_recv_op(int, unsigned char, asio::mutable_buffers_1 const&, int, chat_session::do_read_body()::{lambda(std::error_code, unsigned int)#1}&)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN4asio6detail28reactive_socket_service_base13async_receiveINS_17mutable_buffers_1ENS0_7read_opINS_19basic_stream_socketINS_2ip3tcpEEES3_PKNS_14mutable_bufferENS0_14transfer_all_tEZN12chat_session12do_read_bodyEvEUlSt10error_codejE_EEEEvRNS1_24base_implementation_typeERKT_iRT0_[void asio::detail::reactive_socket_service_base::async_receive<asio::mutable_buffers_1, asio::detail::read_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_read_body()::{lambda(std::error_code, unsigned int)#1}> >(asio::detail::reactive_socket_service_base::base_implementation_type&, asio::mutable_buffers_1 const&, int, asio::detail::read_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_read_body()::{lambda(std::error_code, unsigned int)#1}>&)]+0xde): dangerous relocation: call8: call target out of range: _Unwind_Resume
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `void asio::detail::reactive_socket_service_base::async_send<asio::const_buffers_1, asio::detail::write_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_write()::{lambda(std::error_code, unsigned int)#1}> >(asio::detail::reactive_socket_service_base::base_implementation_type&, asio::const_buffers_1 const&, int, asio::detail::write_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_write()::{lambda(std::error_code, unsigned int)#1}>&)':
chat_server.cpp:(.text._ZN4asio6detail28reactive_socket_service_base10async_sendINS_15const_buffers_1ENS0_8write_opINS_19basic_stream_socketINS_2ip3tcpEEENS_17mutable_buffers_1EPKNS_14mutable_bufferENS0_14transfer_all_tEZN12chat_session8do_writeEvEUlSt10error_codejE_EEEEvRNS1_24base_implementation_typeERKT_iRT0_[void asio::detail::reactive_socket_service_base::async_send<asio::const_buffers_1, asio::detail::write_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_write()::{lambda(std::error_code, unsigned int)#1}> >(asio::detail::reactive_socket_service_base::base_implementation_type&, asio::const_buffers_1 const&, int, asio::detail::write_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_write()::{lambda(std::error_code, unsigned int)#1}>&)]+0x59): dangerous relocation: call8: call target out of range: asio::detail::reactive_socket_send_op<asio::const_buffers_1, asio::detail::write_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_write()::{lambda(std::error_code, unsigned int)#1}> >::reactive_socket_send_op(int, unsigned char, asio::const_buffers_1 const&, int, chat_session::do_write()::{lambda(std::error_code, unsigned int)#1}&)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN4asio6detail28reactive_socket_service_base10async_sendINS_15const_buffers_1ENS0_8write_opINS_19basic_stream_socketINS_2ip3tcpEEENS_17mutable_buffers_1EPKNS_14mutable_bufferENS0_14transfer_all_tEZN12chat_session8do_writeEvEUlSt10error_codejE_EEEEvRNS1_24base_implementation_typeERKT_iRT0_[void asio::detail::reactive_socket_service_base::async_send<asio::const_buffers_1, asio::detail::write_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_write()::{lambda(std::error_code, unsigned int)#1}> >(asio::detail::reactive_socket_service_base::base_implementation_type&, asio::const_buffers_1 const&, int, asio::detail::write_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_write()::{lambda(std::error_code, unsigned int)#1}>&)]+0xbe): dangerous relocation: call8: call target out of range: _Unwind_Resume
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count<chat_session, std::allocator<chat_session>, asio::basic_stream_socket<asio::ip::tcp>, chat_room&>(std::_Sp_make_shared_tag, chat_session*, std::allocator<chat_session> const&, asio::basic_stream_socket<asio::ip::tcp>&&, chat_room&)':
chat_server.cpp:(.text._ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EEC2I12chat_sessionSaIS4_EJN4asio19basic_stream_socketINS6_2ip3tcpEEER9chat_roomEEESt19_Sp_make_shared_tagPT_RKT0_DpOT1_[std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count<chat_session, std::allocator<chat_session>, asio::basic_stream_socket<asio::ip::tcp>, chat_room&>(std::_Sp_make_shared_tag, chat_session*, std::allocator<chat_session> const&, asio::basic_stream_socket<asio::ip::tcp>&&, chat_room&)]+0x73): dangerous relocation: call8: call target out of range: std::_Sp_counted_ptr_inplace<chat_session, std::allocator<chat_session>, (__gnu_cxx::_Lock_policy)2>::_Sp_counted_ptr_inplace<asio::basic_stream_socket<asio::ip::tcp>, chat_room&>(std::allocator<chat_session>, asio::basic_stream_socket<asio::ip::tcp>&&, chat_room&)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EEC2I12chat_sessionSaIS4_EJN4asio19basic_stream_socketINS6_2ip3tcpEEER9chat_roomEEESt19_Sp_make_shared_tagPT_RKT0_DpOT1_[std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count<chat_session, std::allocator<chat_session>, asio::basic_stream_socket<asio::ip::tcp>, chat_room&>(std::_Sp_make_shared_tag, chat_session*, std::allocator<chat_session> const&, asio::basic_stream_socket<asio::ip::tcp>&&, chat_room&)]+0xc2): dangerous relocation: call8: call target out of range: _Unwind_Resume
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `asio::detail::move_binder2<chat_server::do_accept()::{lambda(std::error_code, asio::basic_stream_socket<asio::ip::tcp>)#1}, std::error_code, asio::basic_stream_socket<asio::ip::tcp> >::move_binder2(int, {lambda(std::error_code, asio::basic_stream_socket<asio::ip::tcp>)#1}&&, std::error_code const&, asio::basic_stream_socket<asio::ip::tcp>&&)':
chat_server.cpp:(.text._ZN4asio6detail12move_binder2IZN11chat_server9do_acceptEvEUlSt10error_codeNS_19basic_stream_socketINS_2ip3tcpEEEE_S3_S7_EC2EiOS8_RKS3_OS7_[asio::detail::move_binder2<chat_server::do_accept()::{lambda(std::error_code, asio::basic_stream_socket<asio::ip::tcp>)#1}, std::error_code, asio::basic_stream_socket<asio::ip::tcp> >::move_binder2(int, {lambda(std::error_code, asio::basic_stream_socket<asio::ip::tcp>)#1}&&, std::error_code const&, asio::basic_stream_socket<asio::ip::tcp>&&)]+0x26): dangerous relocation: call8: call target out of range: memcpy
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `__gnu_cxx::new_allocator<std::_List_node<chat_server> >::deallocate(std::_List_node<chat_server>*, unsigned int)':
chat_server.cpp:(.text._ZN9__gnu_cxx13new_allocatorISt10_List_nodeI11chat_serverEE10deallocateEPS3_j[__gnu_cxx::new_allocator<std::_List_node<chat_server> >::deallocate(std::_List_node<chat_server>*, unsigned int)]+0xd): dangerous relocation: call8: call target out of range: operator delete(void*)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `void __gnu_cxx::new_allocator<std::_List_node<chat_server> >::construct<chat_server, asio::io_context&, asio::ip::basic_endpoint<asio::ip::tcp>&>(chat_server*, asio::io_context&, asio::ip::basic_endpoint<asio::ip::tcp>&)':
chat_server.cpp:(.text._ZN9__gnu_cxx13new_allocatorISt10_List_nodeI11chat_serverEE9constructIS2_JRN4asio10io_contextERNS6_2ip14basic_endpointINS9_3tcpEEEEEEvPT_DpOT0_[void __gnu_cxx::new_allocator<std::_List_node<chat_server> >::construct<chat_server, asio::io_context&, asio::ip::basic_endpoint<asio::ip::tcp>&>(chat_server*, asio::io_context&, asio::ip::basic_endpoint<asio::ip::tcp>&)]+0x3e): dangerous relocation: call8: call target out of range: _Unwind_Resume
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `asio::detail::service_base<asio::detail::reactive_socket_service<asio::ip::tcp> >::~service_base()':
chat_server.cpp:(.text._ZN4asio6detail12service_baseINS0_23reactive_socket_serviceINS_2ip3tcpEEEED0Ev[asio::detail::service_base<asio::detail::reactive_socket_service<asio::ip::tcp> >::~service_base()]+0xa): dangerous relocation: call8: call target out of range: asio::detail::service_base<asio::detail::reactive_socket_service<asio::ip::tcp> >::~service_base()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN4asio6detail12service_baseINS0_23reactive_socket_serviceINS_2ip3tcpEEEED0Ev[asio::detail::service_base<asio::detail::reactive_socket_service<asio::ip::tcp> >::~service_base()]+0x11): dangerous relocation: call8: call target out of range: operator delete(void*, unsigned int)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `asio::basic_socket<asio::ip::tcp>::assign(asio::ip::tcp const&, int const&, std::error_code&)':
chat_server.cpp:(.text._ZN4asio12basic_socketINS_2ip3tcpEE6assignERKS2_RKiRSt10error_code[asio::basic_socket<asio::ip::tcp>::assign(asio::ip::tcp const&, int const&, std::error_code&)]+0x41): dangerous relocation: call8: call target out of range: memcpy
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `void std::_Rb_tree<std::shared_ptr<chat_participant>, std::shared_ptr<chat_participant>, std::_Identity<std::shared_ptr<chat_participant> >, std::less<std::shared_ptr<chat_participant> >, std::allocator<std::shared_ptr<chat_participant> > >::_M_construct_node<std::shared_ptr<chat_participant> const&>(std::_Rb_tree_node<std::shared_ptr<chat_participant> >*, std::shared_ptr<chat_participant> const&)':
chat_server.cpp:(.text._ZNSt8_Rb_treeISt10shared_ptrI16chat_participantES2_St9_IdentityIS2_ESt4lessIS2_ESaIS2_EE17_M_construct_nodeIJRKS2_EEEvPSt13_Rb_tree_nodeIS2_EDpOT_[void std::_Rb_tree<std::shared_ptr<chat_participant>, std::shared_ptr<chat_participant>, std::_Identity<std::shared_ptr<chat_participant> >, std::less<std::shared_ptr<chat_participant> >, std::allocator<std::shared_ptr<chat_participant> > >::_M_construct_node<std::shared_ptr<chat_participant> const&>(std::_Rb_tree_node<std::shared_ptr<chat_participant> >*, std::shared_ptr<chat_participant> const&)]+0x3b): dangerous relocation: call8: call target out of range: __cxa_begin_catch
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZNSt8_Rb_treeISt10shared_ptrI16chat_participantES2_St9_IdentityIS2_ESt4lessIS2_ESaIS2_EE17_M_construct_nodeIJRKS2_EEEvPSt13_Rb_tree_nodeIS2_EDpOT_[void std::_Rb_tree<std::shared_ptr<chat_participant>, std::shared_ptr<chat_participant>, std::_Identity<std::shared_ptr<chat_participant> >, std::less<std::shared_ptr<chat_participant> >, std::allocator<std::shared_ptr<chat_participant> > >::_M_construct_node<std::shared_ptr<chat_participant> const&>(std::_Rb_tree_node<std::shared_ptr<chat_participant> >*, std::shared_ptr<chat_participant> const&)]+0x45): dangerous relocation: call8: call target out of range: __cxa_rethrow
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZNSt8_Rb_treeISt10shared_ptrI16chat_participantES2_St9_IdentityIS2_ESt4lessIS2_ESaIS2_EE17_M_construct_nodeIJRKS2_EEEvPSt13_Rb_tree_nodeIS2_EDpOT_[void std::_Rb_tree<std::shared_ptr<chat_participant>, std::shared_ptr<chat_participant>, std::_Identity<std::shared_ptr<chat_participant> >, std::less<std::shared_ptr<chat_participant> >, std::allocator<std::shared_ptr<chat_participant> > >::_M_construct_node<std::shared_ptr<chat_participant> const&>(std::_Rb_tree_node<std::shared_ptr<chat_participant> >*, std::shared_ptr<chat_participant> const&)]+0x48): dangerous relocation: call8: call target out of range: __cxa_end_catch
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZNSt8_Rb_treeISt10shared_ptrI16chat_participantES2_St9_IdentityIS2_ESt4lessIS2_ESaIS2_EE17_M_construct_nodeIJRKS2_EEEvPSt13_Rb_tree_nodeIS2_EDpOT_[void std::_Rb_tree<std::shared_ptr<chat_participant>, std::shared_ptr<chat_participant>, std::_Identity<std::shared_ptr<chat_participant> >, std::less<std::shared_ptr<chat_participant> >, std::allocator<std::shared_ptr<chat_participant> > >::_M_construct_node<std::shared_ptr<chat_participant> const&>(std::_Rb_tree_node<std::shared_ptr<chat_participant> >*, std::shared_ptr<chat_participant> const&)]+0x4d): dangerous relocation: call8: call target out of range: _Unwind_Resume
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `__gnu_cxx::new_allocator<chat_message*>::allocate(unsigned int, void const*)':
chat_server.cpp:(.text._ZN9__gnu_cxx13new_allocatorIP12chat_messageE8allocateEjPKv[__gnu_cxx::new_allocator<chat_message*>::allocate(unsigned int, void const*)]+0xf): dangerous relocation: call8: call target out of range: __gnu_cxx::new_allocator<chat_message*>::max_size() const
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN9__gnu_cxx13new_allocatorIP12chat_messageE8allocateEjPKv[__gnu_cxx::new_allocator<chat_message*>::allocate(unsigned int, void const*)]+0x2d): dangerous relocation: call8: call target out of range: operator new(unsigned int)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `asio::detail::reactive_socket_recv_op<asio::mutable_buffers_1, asio::detail::read_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_read_header()::{lambda(std::error_code, unsigned int)#1}> >::reactive_socket_recv_op(int, unsigned char, asio::mutable_buffers_1 const&, int, chat_session::do_read_header()::{lambda(std::error_code, unsigned int)#1}&)':
chat_server.cpp:(.text._ZN4asio6detail23reactive_socket_recv_opINS_17mutable_buffers_1ENS0_7read_opINS_19basic_stream_socketINS_2ip3tcpEEES2_PKNS_14mutable_bufferENS0_14transfer_all_tEZN12chat_session14do_read_headerEvEUlSt10error_codejE_EEEC2EihRKS2_iRSF_[asio::detail::reactive_socket_recv_op<asio::mutable_buffers_1, asio::detail::read_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_read_header()::{lambda(std::error_code, unsigned int)#1}> >::reactive_socket_recv_op(int, unsigned char, asio::mutable_buffers_1 const&, int, chat_session::do_read_header()::{lambda(std::error_code, unsigned int)#1}&)]+0x37): dangerous relocation: call8: call target out of range: asio::detail::read_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_read_header()::{lambda(std::error_code, unsigned int)#1}>::read_op(chat_session::do_read_header()::{lambda(std::error_code, unsigned int)#1}&&)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN4asio6detail23reactive_socket_recv_opINS_17mutable_buffers_1ENS0_7read_opINS_19basic_stream_socketINS_2ip3tcpEEES2_PKNS_14mutable_bufferENS0_14transfer_all_tEZN12chat_session14do_read_headerEvEUlSt10error_codejE_EEEC2EihRKS2_iRSF_[asio::detail::reactive_socket_recv_op<asio::mutable_buffers_1, asio::detail::read_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_read_header()::{lambda(std::error_code, unsigned int)#1}> >::reactive_socket_recv_op(int, unsigned char, asio::mutable_buffers_1 const&, int, chat_session::do_read_header()::{lambda(std::error_code, unsigned int)#1}&)]+0x41): dangerous relocation: call8: call target out of range: asio::detail::handler_work<asio::detail::read_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_read_header()::{lambda(std::error_code, unsigned int)#1}>, asio::system_executor>::start(chat_session::do_read_header()::{lambda(std::error_code, unsigned int)#1}&)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `asio::detail::reactive_socket_recv_op<asio::mutable_buffers_1, asio::detail::read_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_read_body()::{lambda(std::error_code, unsigned int)#1}> >::reactive_socket_recv_op(int, unsigned char, asio::mutable_buffers_1 const&, int, chat_session::do_read_body()::{lambda(std::error_code, unsigned int)#1}&)':
chat_server.cpp:(.text._ZN4asio6detail23reactive_socket_recv_opINS_17mutable_buffers_1ENS0_7read_opINS_19basic_stream_socketINS_2ip3tcpEEES2_PKNS_14mutable_bufferENS0_14transfer_all_tEZN12chat_session12do_read_bodyEvEUlSt10error_codejE_EEEC2EihRKS2_iRSF_[asio::detail::reactive_socket_recv_op<asio::mutable_buffers_1, asio::detail::read_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_read_body()::{lambda(std::error_code, unsigned int)#1}> >::reactive_socket_recv_op(int, unsigned char, asio::mutable_buffers_1 const&, int, chat_session::do_read_body()::{lambda(std::error_code, unsigned int)#1}&)]+0x37): dangerous relocation: call8: call target out of range: asio::detail::read_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_read_body()::{lambda(std::error_code, unsigned int)#1}>::read_op(chat_session::do_read_body()::{lambda(std::error_code, unsigned int)#1}&&)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN4asio6detail23reactive_socket_recv_opINS_17mutable_buffers_1ENS0_7read_opINS_19basic_stream_socketINS_2ip3tcpEEES2_PKNS_14mutable_bufferENS0_14transfer_all_tEZN12chat_session12do_read_bodyEvEUlSt10error_codejE_EEEC2EihRKS2_iRSF_[asio::detail::reactive_socket_recv_op<asio::mutable_buffers_1, asio::detail::read_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_read_body()::{lambda(std::error_code, unsigned int)#1}> >::reactive_socket_recv_op(int, unsigned char, asio::mutable_buffers_1 const&, int, chat_session::do_read_body()::{lambda(std::error_code, unsigned int)#1}&)]+0x41): dangerous relocation: call8: call target out of range: asio::detail::handler_work<asio::detail::read_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_read_body()::{lambda(std::error_code, unsigned int)#1}>, asio::system_executor>::start(chat_session::do_read_body()::{lambda(std::error_code, unsigned int)#1}&)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `asio::detail::reactive_socket_send_op<asio::const_buffers_1, asio::detail::write_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_write()::{lambda(std::error_code, unsigned int)#1}> >::reactive_socket_send_op(int, unsigned char, asio::const_buffers_1 const&, int, chat_session::do_write()::{lambda(std::error_code, unsigned int)#1}&)':
chat_server.cpp:(.text._ZN4asio6detail23reactive_socket_send_opINS_15const_buffers_1ENS0_8write_opINS_19basic_stream_socketINS_2ip3tcpEEENS_17mutable_buffers_1EPKNS_14mutable_bufferENS0_14transfer_all_tEZN12chat_session8do_writeEvEUlSt10error_codejE_EEEC2EihRKS2_iRSG_[asio::detail::reactive_socket_send_op<asio::const_buffers_1, asio::detail::write_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_write()::{lambda(std::error_code, unsigned int)#1}> >::reactive_socket_send_op(int, unsigned char, asio::const_buffers_1 const&, int, chat_session::do_write()::{lambda(std::error_code, unsigned int)#1}&)]+0x37): dangerous relocation: call8: call target out of range: asio::detail::write_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_write()::{lambda(std::error_code, unsigned int)#1}>::write_op(chat_session::do_write()::{lambda(std::error_code, unsigned int)#1}&&)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN4asio6detail23reactive_socket_send_opINS_15const_buffers_1ENS0_8write_opINS_19basic_stream_socketINS_2ip3tcpEEENS_17mutable_buffers_1EPKNS_14mutable_bufferENS0_14transfer_all_tEZN12chat_session8do_writeEvEUlSt10error_codejE_EEEC2EihRKS2_iRSG_[asio::detail::reactive_socket_send_op<asio::const_buffers_1, asio::detail::write_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_write()::{lambda(std::error_code, unsigned int)#1}> >::reactive_socket_send_op(int, unsigned char, asio::const_buffers_1 const&, int, chat_session::do_write()::{lambda(std::error_code, unsigned int)#1}&)]+0x41): dangerous relocation: call8: call target out of range: asio::detail::handler_work<asio::detail::write_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_write()::{lambda(std::error_code, unsigned int)#1}>, asio::system_executor>::start(chat_session::do_write()::{lambda(std::error_code, unsigned int)#1}&)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `__gnu_cxx::new_allocator<std::_Rb_tree_node<std::shared_ptr<chat_participant> > >::deallocate(std::_Rb_tree_node<std::shared_ptr<chat_participant> >*, unsigned int)':
chat_server.cpp:(.text._ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt10shared_ptrI16chat_participantEEE10deallocateEPS5_j[__gnu_cxx::new_allocator<std::_Rb_tree_node<std::shared_ptr<chat_participant> > >::deallocate(std::_Rb_tree_node<std::shared_ptr<chat_participant> >*, unsigned int)]+0xd): dangerous relocation: call8: call target out of range: operator delete(void*)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `std::_Sp_counted_ptr_inplace<chat_session, std::allocator<chat_session>, (__gnu_cxx::_Lock_policy)2>::_Sp_counted_ptr_inplace<asio::basic_stream_socket<asio::ip::tcp>, chat_room&>(std::allocator<chat_session>, asio::basic_stream_socket<asio::ip::tcp>&&, chat_room&)':
chat_server.cpp:(.text._ZNSt23_Sp_counted_ptr_inplaceI12chat_sessionSaIS0_ELN9__gnu_cxx12_Lock_policyE2EEC2IJN4asio19basic_stream_socketINS6_2ip3tcpEEER9chat_roomEEES1_DpOT_[std::_Sp_counted_ptr_inplace<chat_session, std::allocator<chat_session>, (__gnu_cxx::_Lock_policy)2>::_Sp_counted_ptr_inplace<asio::basic_stream_socket<asio::ip::tcp>, chat_room&>(std::allocator<chat_session>, asio::basic_stream_socket<asio::ip::tcp>&&, chat_room&)]+0x23): dangerous relocation: call8: call target out of range: std::allocator<chat_session>::allocator(std::allocator<chat_session> const&)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZNSt23_Sp_counted_ptr_inplaceI12chat_sessionSaIS0_ELN9__gnu_cxx12_Lock_policyE2EEC2IJN4asio19basic_stream_socketINS6_2ip3tcpEEER9chat_roomEEES1_DpOT_[std::_Sp_counted_ptr_inplace<chat_session, std::allocator<chat_session>, (__gnu_cxx::_Lock_policy)2>::_Sp_counted_ptr_inplace<asio::basic_stream_socket<asio::ip::tcp>, chat_room&>(std::allocator<chat_session>, asio::basic_stream_socket<asio::ip::tcp>&&, chat_room&)]+0x2b): dangerous relocation: call8: call target out of range: std::_Sp_counted_ptr_inplace<chat_session, std::allocator<chat_session>, (__gnu_cxx::_Lock_policy)2>::_Impl::_Impl(std::allocator<chat_session>)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZNSt23_Sp_counted_ptr_inplaceI12chat_sessionSaIS0_ELN9__gnu_cxx12_Lock_policyE2EEC2IJN4asio19basic_stream_socketINS6_2ip3tcpEEER9chat_roomEEES1_DpOT_[std::_Sp_counted_ptr_inplace<chat_session, std::allocator<chat_session>, (__gnu_cxx::_Lock_policy)2>::_Sp_counted_ptr_inplace<asio::basic_stream_socket<asio::ip::tcp>, chat_room&>(std::allocator<chat_session>, asio::basic_stream_socket<asio::ip::tcp>&&, chat_room&)]+0x31): dangerous relocation: call8: call target out of range: std::allocator<chat_session>::~allocator()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZNSt23_Sp_counted_ptr_inplaceI12chat_sessionSaIS0_ELN9__gnu_cxx12_Lock_policyE2EEC2IJN4asio19basic_stream_socketINS6_2ip3tcpEEER9chat_roomEEES1_DpOT_[std::_Sp_counted_ptr_inplace<chat_session, std::allocator<chat_session>, (__gnu_cxx::_Lock_policy)2>::_Sp_counted_ptr_inplace<asio::basic_stream_socket<asio::ip::tcp>, chat_room&>(std::allocator<chat_session>, asio::basic_stream_socket<asio::ip::tcp>&&, chat_room&)]+0x36): dangerous relocation: call8: call target out of range: std::_Sp_counted_ptr_inplace<chat_session, std::allocator<chat_session>, (__gnu_cxx::_Lock_policy)2>::_M_ptr()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZNSt23_Sp_counted_ptr_inplaceI12chat_sessionSaIS0_ELN9__gnu_cxx12_Lock_policyE2EEC2IJN4asio19basic_stream_socketINS6_2ip3tcpEEER9chat_roomEEES1_DpOT_[std::_Sp_counted_ptr_inplace<chat_session, std::allocator<chat_session>, (__gnu_cxx::_Lock_policy)2>::_Sp_counted_ptr_inplace<asio::basic_stream_socket<asio::ip::tcp>, chat_room&>(std::allocator<chat_session>, asio::basic_stream_socket<asio::ip::tcp>&&, chat_room&)]+0x3e): dangerous relocation: call8: call target out of range: asio::basic_stream_socket<asio::ip::tcp>&& std::forward<asio::basic_stream_socket<asio::ip::tcp> >(std::remove_reference<asio::basic_stream_socket<asio::ip::tcp> >::type&)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZNSt23_Sp_counted_ptr_inplaceI12chat_sessionSaIS0_ELN9__gnu_cxx12_Lock_policyE2EEC2IJN4asio19basic_stream_socketINS6_2ip3tcpEEER9chat_roomEEES1_DpOT_[std::_Sp_counted_ptr_inplace<chat_session, std::allocator<chat_session>, (__gnu_cxx::_Lock_policy)2>::_Sp_counted_ptr_inplace<asio::basic_stream_socket<asio::ip::tcp>, chat_room&>(std::allocator<chat_session>, asio::basic_stream_socket<asio::ip::tcp>&&, chat_room&)]+0x45): dangerous relocation: call8: call target out of range: chat_room& std::forward<chat_room&>(std::remove_reference<chat_room&>::type&)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZNSt23_Sp_counted_ptr_inplaceI12chat_sessionSaIS0_ELN9__gnu_cxx12_Lock_policyE2EEC2IJN4asio19basic_stream_socketINS6_2ip3tcpEEER9chat_roomEEES1_DpOT_[std::_Sp_counted_ptr_inplace<chat_session, std::allocator<chat_session>, (__gnu_cxx::_Lock_policy)2>::_Sp_counted_ptr_inplace<asio::basic_stream_socket<asio::ip::tcp>, chat_room&>(std::allocator<chat_session>, asio::basic_stream_socket<asio::ip::tcp>&&, chat_room&)]+0x52): dangerous relocation: call8: call target out of range: void std::allocator_traits<std::allocator<chat_session> >::construct<chat_session, asio::basic_stream_socket<asio::ip::tcp>, chat_room&>(std::allocator<chat_session>&, chat_session*, asio::basic_stream_socket<asio::ip::tcp>&&, chat_room&)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZNSt23_Sp_counted_ptr_inplaceI12chat_sessionSaIS0_ELN9__gnu_cxx12_Lock_policyE2EEC2IJN4asio19basic_stream_socketINS6_2ip3tcpEEER9chat_roomEEES1_DpOT_[std::_Sp_counted_ptr_inplace<chat_session, std::allocator<chat_session>, (__gnu_cxx::_Lock_policy)2>::_Sp_counted_ptr_inplace<asio::basic_stream_socket<asio::ip::tcp>, chat_room&>(std::allocator<chat_session>, asio::basic_stream_socket<asio::ip::tcp>&&, chat_room&)]+0x5e): dangerous relocation: call8: call target out of range: std::_Sp_counted_ptr_inplace<chat_session, std::allocator<chat_session>, (__gnu_cxx::_Lock_policy)2>::_Impl::~_Impl()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `__gnu_cxx::new_allocator<std::_List_node<chat_server> >::allocate(unsigned int, void const*)':
chat_server.cpp:(.text._ZN9__gnu_cxx13new_allocatorISt10_List_nodeI11chat_serverEE8allocateEjPKv[__gnu_cxx::new_allocator<std::_List_node<chat_server> >::allocate(unsigned int, void const*)]+0xf): dangerous relocation: call8: call target out of range: __gnu_cxx::new_allocator<std::_List_node<chat_server> >::max_size() const
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN9__gnu_cxx13new_allocatorISt10_List_nodeI11chat_serverEE8allocateEjPKv[__gnu_cxx::new_allocator<std::_List_node<chat_server> >::allocate(unsigned int, void const*)]+0x39): dangerous relocation: call8: call target out of range: operator new(unsigned int)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `asio::detail::reactive_socket_send_op_base<asio::const_buffers_1>::reactive_socket_send_op_base(int, unsigned char, asio::const_buffers_1 const&, int, void (*)(void*, asio::detail::scheduler_operation*, std::error_code const&, unsigned int))':
chat_server.cpp:(.text._ZN4asio6detail28reactive_socket_send_op_baseINS_15const_buffers_1EEC2EihRKS2_iPFvPvPNS0_19scheduler_operationERKSt10error_codejE[asio::detail::reactive_socket_send_op_base<asio::const_buffers_1>::reactive_socket_send_op_base(int, unsigned char, asio::const_buffers_1 const&, int, void (*)(void*, asio::detail::scheduler_operation*, std::error_code const&, unsigned int))]+0x21): dangerous relocation: call8: call target out of range: asio::detail::reactor_op::reactor_op(asio::detail::reactor_op::status (*)(asio::detail::reactor_op*), void (*)(void*, asio::detail::scheduler_operation*, std::error_code const&, unsigned int))
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN4asio6detail28reactive_socket_send_op_baseINS_15const_buffers_1EEC2EihRKS2_iPFvPvPNS0_19scheduler_operationERKSt10error_codejE[asio::detail::reactive_socket_send_op_base<asio::const_buffers_1>::reactive_socket_send_op_base(int, unsigned char, asio::const_buffers_1 const&, int, void (*)(void*, asio::detail::scheduler_operation*, std::error_code const&, unsigned int))]+0x41): dangerous relocation: call8: call target out of range: memcpy
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `asio::detail::reactive_socket_service<asio::ip::tcp>::assign(asio::detail::reactive_socket_service<asio::ip::tcp>::implementation_type&, asio::ip::tcp const&, int const&, std::error_code&)':
chat_server.cpp:(.text._ZN4asio6detail23reactive_socket_serviceINS_2ip3tcpEE6assignERNS4_19implementation_typeERKS3_RKiRSt10error_code[asio::detail::reactive_socket_service<asio::ip::tcp>::assign(asio::detail::reactive_socket_service<asio::ip::tcp>::implementation_type&, asio::ip::tcp const&, int const&, std::error_code&)]+0x61): dangerous relocation: call8: call target out of range: memcpy
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `asio::detail::reactive_socket_recv_op<asio::mutable_buffers_1, asio::detail::read_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_read_header()::{lambda(std::error_code, unsigned int)#1}> >::do_complete(void*, asio::detail::scheduler_operation*, std::error_code const&, unsigned int)':
chat_server.cpp:(.text._ZN4asio6detail23reactive_socket_recv_opINS_17mutable_buffers_1ENS0_7read_opINS_19basic_stream_socketINS_2ip3tcpEEES2_PKNS_14mutable_bufferENS0_14transfer_all_tEZN12chat_session14do_read_headerEvEUlSt10error_codejE_EEE11do_completeEPvPNS0_19scheduler_operationERKSD_j[asio::detail::reactive_socket_recv_op<asio::mutable_buffers_1, asio::detail::read_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_read_header()::{lambda(std::error_code, unsigned int)#1}> >::do_complete(void*, asio::detail::scheduler_operation*, std::error_code const&, unsigned int)]+0xda): dangerous relocation: call8: call target out of range: _Unwind_Resume
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `asio::detail::reactive_socket_recv_op_base<asio::mutable_buffers_1>::reactive_socket_recv_op_base(int, unsigned char, asio::mutable_buffers_1 const&, int, void (*)(void*, asio::detail::scheduler_operation*, std::error_code const&, unsigned int))':
chat_server.cpp:(.text._ZN4asio6detail28reactive_socket_recv_op_baseINS_17mutable_buffers_1EEC2EihRKS2_iPFvPvPNS0_19scheduler_operationERKSt10error_codejE[asio::detail::reactive_socket_recv_op_base<asio::mutable_buffers_1>::reactive_socket_recv_op_base(int, unsigned char, asio::mutable_buffers_1 const&, int, void (*)(void*, asio::detail::scheduler_operation*, std::error_code const&, unsigned int))]+0x21): dangerous relocation: call8: call target out of range: asio::detail::reactor_op::reactor_op(asio::detail::reactor_op::status (*)(asio::detail::reactor_op*), void (*)(void*, asio::detail::scheduler_operation*, std::error_code const&, unsigned int))
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN4asio6detail28reactive_socket_recv_op_baseINS_17mutable_buffers_1EEC2EihRKS2_iPFvPvPNS0_19scheduler_operationERKSt10error_codejE[asio::detail::reactive_socket_recv_op_base<asio::mutable_buffers_1>::reactive_socket_recv_op_base(int, unsigned char, asio::mutable_buffers_1 const&, int, void (*)(void*, asio::detail::scheduler_operation*, std::error_code const&, unsigned int))]+0x41): dangerous relocation: call8: call target out of range: memcpy
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `asio::detail::read_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_read_header()::{lambda(std::error_code, unsigned int)#1}>::read_op(chat_session::do_read_header()::{lambda(std::error_code, unsigned int)#1}&&)':
chat_server.cpp:(.text._ZN4asio6detail7read_opINS_19basic_stream_socketINS_2ip3tcpEEENS_17mutable_buffers_1EPKNS_14mutable_bufferENS0_14transfer_all_tEZN12chat_session14do_read_headerEvEUlSt10error_codejE_EC2EOSE_[asio::detail::read_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_read_header()::{lambda(std::error_code, unsigned int)#1}>::read_op(chat_session::do_read_header()::{lambda(std::error_code, unsigned int)#1}&&)]+0x21): dangerous relocation: call8: call target out of range: memcpy
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `asio::detail::reactive_socket_recv_op<asio::mutable_buffers_1, asio::detail::read_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_read_body()::{lambda(std::error_code, unsigned int)#1}> >::do_complete(void*, asio::detail::scheduler_operation*, std::error_code const&, unsigned int)':
chat_server.cpp:(.text._ZN4asio6detail23reactive_socket_recv_opINS_17mutable_buffers_1ENS0_7read_opINS_19basic_stream_socketINS_2ip3tcpEEES2_PKNS_14mutable_bufferENS0_14transfer_all_tEZN12chat_session12do_read_bodyEvEUlSt10error_codejE_EEE11do_completeEPvPNS0_19scheduler_operationERKSD_j[asio::detail::reactive_socket_recv_op<asio::mutable_buffers_1, asio::detail::read_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_read_body()::{lambda(std::error_code, unsigned int)#1}> >::do_complete(void*, asio::detail::scheduler_operation*, std::error_code const&, unsigned int)]+0xda): dangerous relocation: call8: call target out of range: _Unwind_Resume
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `asio::detail::read_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_read_body()::{lambda(std::error_code, unsigned int)#1}>::read_op(chat_session::do_read_body()::{lambda(std::error_code, unsigned int)#1}&&)':
chat_server.cpp:(.text._ZN4asio6detail7read_opINS_19basic_stream_socketINS_2ip3tcpEEENS_17mutable_buffers_1EPKNS_14mutable_bufferENS0_14transfer_all_tEZN12chat_session12do_read_bodyEvEUlSt10error_codejE_EC2EOSE_[asio::detail::read_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_read_body()::{lambda(std::error_code, unsigned int)#1}>::read_op(chat_session::do_read_body()::{lambda(std::error_code, unsigned int)#1}&&)]+0x21): dangerous relocation: call8: call target out of range: memcpy
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `asio::detail::reactive_socket_send_op<asio::const_buffers_1, asio::detail::write_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_write()::{lambda(std::error_code, unsigned int)#1}> >::do_complete(void*, asio::detail::scheduler_operation*, std::error_code const&, unsigned int)':
chat_server.cpp:(.text._ZN4asio6detail23reactive_socket_send_opINS_15const_buffers_1ENS0_8write_opINS_19basic_stream_socketINS_2ip3tcpEEENS_17mutable_buffers_1EPKNS_14mutable_bufferENS0_14transfer_all_tEZN12chat_session8do_writeEvEUlSt10error_codejE_EEE11do_completeEPvPNS0_19scheduler_operationERKSE_j[asio::detail::reactive_socket_send_op<asio::const_buffers_1, asio::detail::write_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_write()::{lambda(std::error_code, unsigned int)#1}> >::do_complete(void*, asio::detail::scheduler_operation*, std::error_code const&, unsigned int)]+0xda): dangerous relocation: call8: call target out of range: _Unwind_Resume
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `asio::detail::write_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_write()::{lambda(std::error_code, unsigned int)#1}>::write_op(chat_session::do_write()::{lambda(std::error_code, unsigned int)#1}&&)':
chat_server.cpp:(.text._ZN4asio6detail8write_opINS_19basic_stream_socketINS_2ip3tcpEEENS_17mutable_buffers_1EPKNS_14mutable_bufferENS0_14transfer_all_tEZN12chat_session8do_writeEvEUlSt10error_codejE_EC2EOSE_[asio::detail::write_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_write()::{lambda(std::error_code, unsigned int)#1}>::write_op(chat_session::do_write()::{lambda(std::error_code, unsigned int)#1}&&)]+0x21): dangerous relocation: call8: call target out of range: memcpy
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `__gnu_cxx::new_allocator<std::_Rb_tree_node<std::shared_ptr<chat_participant> > >::allocate(unsigned int, void const*)':
chat_server.cpp:(.text._ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt10shared_ptrI16chat_participantEEE8allocateEjPKv[__gnu_cxx::new_allocator<std::_Rb_tree_node<std::shared_ptr<chat_participant> > >::allocate(unsigned int, void const*)]+0xe): dangerous relocation: call8: call target out of range: __gnu_cxx::new_allocator<std::_Rb_tree_node<std::shared_ptr<chat_participant> > >::max_size() const
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt10shared_ptrI16chat_participantEEE8allocateEjPKv[__gnu_cxx::new_allocator<std::_Rb_tree_node<std::shared_ptr<chat_participant> > >::allocate(unsigned int, void const*)]+0x32): dangerous relocation: call8: call target out of range: operator new(unsigned int)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `chat_message** std::__copy_move<false, true, std::random_access_iterator_tag>::__copy_m<chat_message*>(chat_message* const*, chat_message* const*, chat_message**)':
chat_server.cpp:(.text._ZNSt11__copy_moveILb0ELb1ESt26random_access_iterator_tagE8__copy_mIP12chat_messageEEPT_PKS5_S8_S6_[chat_message** std::__copy_move<false, true, std::random_access_iterator_tag>::__copy_m<chat_message*>(chat_message* const*, chat_message* const*, chat_message**)]+0x26): dangerous relocation: call8: call target out of range: memmove
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `chat_message** std::__copy_move_backward<false, true, std::random_access_iterator_tag>::__copy_move_b<chat_message*>(chat_message* const*, chat_message* const*, chat_message**)':
chat_server.cpp:(.text._ZNSt20__copy_move_backwardILb0ELb1ESt26random_access_iterator_tagE13__copy_move_bIP12chat_messageEEPT_PKS5_S8_S6_[chat_message** std::__copy_move_backward<false, true, std::random_access_iterator_tag>::__copy_move_b<chat_message*>(chat_message* const*, chat_message* const*, chat_message**)]+0x32): dangerous relocation: call8: call target out of range: memmove
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `asio::detail::binder2<asio::detail::read_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_read_header()::{lambda(std::error_code, unsigned int)#1}>, std::error_code, unsigned int>::binder2(chat_session::do_read_header()::{lambda(std::error_code, unsigned int)#1}&, std::error_code const&, unsigned int const&)':
chat_server.cpp:(.text._ZN4asio6detail7binder2INS0_7read_opINS_19basic_stream_socketINS_2ip3tcpEEENS_17mutable_buffers_1EPKNS_14mutable_bufferENS0_14transfer_all_tEZN12chat_session14do_read_headerEvEUlSt10error_codejE_EESD_jEC2ERSF_RKSD_RKj[asio::detail::binder2<asio::detail::read_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_read_header()::{lambda(std::error_code, unsigned int)#1}>, std::error_code, unsigned int>::binder2(chat_session::do_read_header()::{lambda(std::error_code, unsigned int)#1}&, std::error_code const&, unsigned int const&)]+0x25): dangerous relocation: call8: call target out of range: memcpy
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `asio::detail::binder2<asio::detail::read_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_read_body()::{lambda(std::error_code, unsigned int)#1}>, std::error_code, unsigned int>::binder2(chat_session::do_read_body()::{lambda(std::error_code, unsigned int)#1}&, std::error_code const&, unsigned int const&)':
chat_server.cpp:(.text._ZN4asio6detail7binder2INS0_7read_opINS_19basic_stream_socketINS_2ip3tcpEEENS_17mutable_buffers_1EPKNS_14mutable_bufferENS0_14transfer_all_tEZN12chat_session12do_read_bodyEvEUlSt10error_codejE_EESD_jEC2ERSF_RKSD_RKj[asio::detail::binder2<asio::detail::read_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_read_body()::{lambda(std::error_code, unsigned int)#1}>, std::error_code, unsigned int>::binder2(chat_session::do_read_body()::{lambda(std::error_code, unsigned int)#1}&, std::error_code const&, unsigned int const&)]+0x25): dangerous relocation: call8: call target out of range: memcpy
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `asio::detail::binder2<asio::detail::write_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_write()::{lambda(std::error_code, unsigned int)#1}>, std::error_code, unsigned int>::binder2(chat_session::do_write()::{lambda(std::error_code, unsigned int)#1}&, std::error_code const&, unsigned int const&)':
chat_server.cpp:(.text._ZN4asio6detail7binder2INS0_8write_opINS_19basic_stream_socketINS_2ip3tcpEEENS_17mutable_buffers_1EPKNS_14mutable_bufferENS0_14transfer_all_tEZN12chat_session8do_writeEvEUlSt10error_codejE_EESD_jEC2ERSF_RKSD_RKj[asio::detail::binder2<asio::detail::write_op<asio::basic_stream_socket<asio::ip::tcp>, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t, chat_session::do_write()::{lambda(std::error_code, unsigned int)#1}>, std::error_code, unsigned int>::binder2(chat_session::do_write()::{lambda(std::error_code, unsigned int)#1}&, std::error_code const&, unsigned int const&)]+0x25): dangerous relocation: call8: call target out of range: memcpy
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `__gnu_cxx::new_allocator<std::_Sp_counted_ptr_inplace<chat_session, std::allocator<chat_session>, (__gnu_cxx::_Lock_policy)2> >::allocate(unsigned int, void const*)':
chat_server.cpp:(.text._ZN9__gnu_cxx13new_allocatorISt23_Sp_counted_ptr_inplaceI12chat_sessionSaIS2_ELNS_12_Lock_policyE2EEE8allocateEjPKv[__gnu_cxx::new_allocator<std::_Sp_counted_ptr_inplace<chat_session, std::allocator<chat_session>, (__gnu_cxx::_Lock_policy)2> >::allocate(unsigned int, void const*)]+0xe): dangerous relocation: call8: call target out of range: __gnu_cxx::new_allocator<std::_Sp_counted_ptr_inplace<chat_session, std::allocator<chat_session>, (__gnu_cxx::_Lock_policy)2> >::max_size() const
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN9__gnu_cxx13new_allocatorISt23_Sp_counted_ptr_inplaceI12chat_sessionSaIS2_ELNS_12_Lock_policyE2EEE8allocateEjPKv[__gnu_cxx::new_allocator<std::_Sp_counted_ptr_inplace<chat_session, std::allocator<chat_session>, (__gnu_cxx::_Lock_policy)2> >::allocate(unsigned int, void const*)]+0x21): dangerous relocation: call8: call target out of range: std::__throw_bad_alloc()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN9__gnu_cxx13new_allocatorISt23_Sp_counted_ptr_inplaceI12chat_sessionSaIS2_ELNS_12_Lock_policyE2EEE8allocateEjPKv[__gnu_cxx::new_allocator<std::_Sp_counted_ptr_inplace<chat_session, std::allocator<chat_session>, (__gnu_cxx::_Lock_policy)2> >::allocate(unsigned int, void const*)]+0x2e): dangerous relocation: call8: call target out of range: operator new(unsigned int)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `__gnu_cxx::new_allocator<std::_Sp_counted_ptr_inplace<chat_session, std::allocator<chat_session>, (__gnu_cxx::_Lock_policy)2> >::deallocate(std::_Sp_counted_ptr_inplace<chat_session, std::allocator<chat_session>, (__gnu_cxx::_Lock_policy)2>*, unsigned int)':
chat_server.cpp:(.text._ZN9__gnu_cxx13new_allocatorISt23_Sp_counted_ptr_inplaceI12chat_sessionSaIS2_ELNS_12_Lock_policyE2EEE10deallocateEPS5_j[__gnu_cxx::new_allocator<std::_Sp_counted_ptr_inplace<chat_session, std::allocator<chat_session>, (__gnu_cxx::_Lock_policy)2> >::deallocate(std::_Sp_counted_ptr_inplace<chat_session, std::allocator<chat_session>, (__gnu_cxx::_Lock_policy)2>*, unsigned int)]+0xd): dangerous relocation: call8: call target out of range: operator delete(void*)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `void __gnu_cxx::new_allocator<chat_session>::construct<chat_session, asio::basic_stream_socket<asio::ip::tcp>, chat_room&>(chat_session*, asio::basic_stream_socket<asio::ip::tcp>&&, chat_room&)':
chat_server.cpp:(.text._ZN9__gnu_cxx13new_allocatorI12chat_sessionE9constructIS1_JN4asio19basic_stream_socketINS4_2ip3tcpEEER9chat_roomEEEvPT_DpOT0_[void __gnu_cxx::new_allocator<chat_session>::construct<chat_session, asio::basic_stream_socket<asio::ip::tcp>, chat_room&>(chat_session*, asio::basic_stream_socket<asio::ip::tcp>&&, chat_room&)]+0x3a): dangerous relocation: call8: call target out of range: chat_session::chat_session(asio::basic_stream_socket<asio::ip::tcp>, chat_room&)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN9__gnu_cxx13new_allocatorI12chat_sessionE9constructIS1_JN4asio19basic_stream_socketINS4_2ip3tcpEEER9chat_roomEEEvPT_DpOT0_[void __gnu_cxx::new_allocator<chat_session>::construct<chat_session, asio::basic_stream_socket<asio::ip::tcp>, chat_room&>(chat_session*, asio::basic_stream_socket<asio::ip::tcp>&&, chat_room&)]+0x53): dangerous relocation: call8: call target out of range: _Unwind_Resume
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `asio::detail::move_binder2<chat_server::do_accept()::{lambda(std::error_code, asio::basic_stream_socket<asio::ip::tcp>)#1}, std::error_code, asio::basic_stream_socket<asio::ip::tcp> >::operator()()':
chat_server.cpp:(.text._ZN4asio6detail12move_binder2IZN11chat_server9do_acceptEvEUlSt10error_codeNS_19basic_stream_socketINS_2ip3tcpEEEE_S3_S7_EclEv[asio::detail::move_binder2<chat_server::do_accept()::{lambda(std::error_code, asio::basic_stream_socket<asio::ip::tcp>)#1}, std::error_code, asio::basic_stream_socket<asio::ip::tcp> >::operator()()]+0x36): dangerous relocation: call8: call target out of range: _Unwind_Resume
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `asio::detail::buffer_sequence_adapter<asio::const_buffer, asio::const_buffers_1>::buffer_sequence_adapter(asio::const_buffers_1 const&)':
chat_server.cpp:(.text._ZN4asio6detail23buffer_sequence_adapterINS_12const_bufferENS_15const_buffers_1EEC2ERKS3_[asio::detail::buffer_sequence_adapter<asio::const_buffer, asio::const_buffers_1>::buffer_sequence_adapter(asio::const_buffers_1 const&)]+0x17): dangerous relocation: call8: call target out of range: memcpy
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `asio::detail::buffer_sequence_adapter<asio::mutable_buffer, asio::mutable_buffers_1>::buffer_sequence_adapter(asio::mutable_buffers_1 const&)':
chat_server.cpp:(.text._ZN4asio6detail23buffer_sequence_adapterINS_14mutable_bufferENS_17mutable_buffers_1EEC2ERKS3_[asio::detail::buffer_sequence_adapter<asio::mutable_buffer, asio::mutable_buffers_1>::buffer_sequence_adapter(asio::mutable_buffers_1 const&)]+0x17): dangerous relocation: call8: call target out of range: memcpy
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `chat_session::~chat_session()':
chat_server.cpp:(.text._ZN12chat_sessionD2Ev[chat_session::~chat_session()]+0x17): dangerous relocation: call8: call target out of range: std::deque<chat_message, std::allocator<chat_message> >::~deque()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN12chat_sessionD2Ev[chat_session::~chat_session()]+0x21): dangerous relocation: call8: call target out of range: asio::basic_stream_socket<asio::ip::tcp>::~basic_stream_socket()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN12chat_sessionD2Ev[chat_session::~chat_session()]+0x2a): dangerous relocation: call8: call target out of range: std::enable_shared_from_this<chat_session>::~enable_shared_from_this()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `chat_session::~chat_session()':
chat_server.cpp:(.text._ZN12chat_sessionD0Ev[chat_session::~chat_session()]+0x9): dangerous relocation: call8: call target out of range: chat_session::~chat_session()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN12chat_sessionD0Ev[chat_session::~chat_session()]+0x11): dangerous relocation: call8: call target out of range: operator delete(void*, unsigned int)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `asio::detail::reactive_socket_service<asio::ip::tcp>::~reactive_socket_service()':
chat_server.cpp:(.text._ZN4asio6detail23reactive_socket_serviceINS_2ip3tcpEED0Ev[asio::detail::reactive_socket_service<asio::ip::tcp>::~reactive_socket_service()]+0xa): dangerous relocation: call8: call target out of range: asio::detail::reactive_socket_service<asio::ip::tcp>::~reactive_socket_service()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZN4asio6detail23reactive_socket_serviceINS_2ip3tcpEED0Ev[asio::detail::reactive_socket_service<asio::ip::tcp>::~reactive_socket_service()]+0x11): dangerous relocation: call8: call target out of range: operator delete(void*, unsigned int)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o):(.rodata._ZTIN4asio6detail12service_baseINS0_23reactive_socket_serviceINS_2ip3tcpEEEEE[typeinfo for asio::detail::service_base<asio::detail::reactive_socket_service<asio::ip::tcp> >]+0x8): undefined reference to `typeinfo for asio::io_context::service'
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `std::_Sp_counted_ptr_inplace<chat_session, std::allocator<chat_session>, (__gnu_cxx::_Lock_policy)2>::~_Sp_counted_ptr_inplace()':
chat_server.cpp:(.text._ZNSt23_Sp_counted_ptr_inplaceI12chat_sessionSaIS0_ELN9__gnu_cxx12_Lock_policyE2EED2Ev[std::_Sp_counted_ptr_inplace<chat_session, std::allocator<chat_session>, (__gnu_cxx::_Lock_policy)2>::~_Sp_counted_ptr_inplace()]+0x16): dangerous relocation: call8: call target out of range: std::_Sp_counted_ptr_inplace<chat_session, std::allocator<chat_session>, (__gnu_cxx::_Lock_policy)2>::_Impl::~_Impl()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `std::_Sp_counted_ptr_inplace<chat_session, std::allocator<chat_session>, (__gnu_cxx::_Lock_policy)2>::~_Sp_counted_ptr_inplace()':
chat_server.cpp:(.text._ZNSt23_Sp_counted_ptr_inplaceI12chat_sessionSaIS0_ELN9__gnu_cxx12_Lock_policyE2EED0Ev[std::_Sp_counted_ptr_inplace<chat_session, std::allocator<chat_session>, (__gnu_cxx::_Lock_policy)2>::~_Sp_counted_ptr_inplace()]+0x9): dangerous relocation: call8: call target out of range: std::_Sp_counted_ptr_inplace<chat_session, std::allocator<chat_session>, (__gnu_cxx::_Lock_policy)2>::~_Sp_counted_ptr_inplace()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZNSt23_Sp_counted_ptr_inplaceI12chat_sessionSaIS0_ELN9__gnu_cxx12_Lock_policyE2EED0Ev[std::_Sp_counted_ptr_inplace<chat_session, std::allocator<chat_session>, (__gnu_cxx::_Lock_policy)2>::~_Sp_counted_ptr_inplace()]+0x11): dangerous relocation: call8: call target out of range: operator delete(void*, unsigned int)
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `std::_Sp_counted_ptr_inplace<chat_session, std::allocator<chat_session>, (__gnu_cxx::_Lock_policy)2>::_M_destroy()':
chat_server.cpp:(.text._ZNSt23_Sp_counted_ptr_inplaceI12chat_sessionSaIS0_ELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv[std::_Sp_counted_ptr_inplace<chat_session, std::allocator<chat_session>, (__gnu_cxx::_Lock_policy)2>::_M_destroy()]+0x26): dangerous relocation: call8: call target out of range: std::_Sp_counted_ptr_inplace<chat_session, std::allocator<chat_session>, (__gnu_cxx::_Lock_policy)2>::~_Sp_counted_ptr_inplace()
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/thurman/Projects/ESP32/chops_chat_server/build/main/libmain.a(chat_server.o): in function `std::_Sp_counted_ptr_inplace<chat_session, std::allocator<chat_session>, (__gnu_cxx::_Lock_policy)2>::_M_get_deleter(std::type_info const&)':
chat_server.cpp:(.text._ZNSt23_Sp_counted_ptr_inplaceI12chat_sessionSaIS0_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info[std::_Sp_counted_ptr_inplace<chat_session, std::allocator<chat_session>, (__gnu_cxx::_Lock_policy)2>::_M_get_deleter(std::type_info const&)]+0x11): dangerous relocation: call8: call target out of range: std::type_info::operator==(std::type_info const&) const
/home/thurman/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: chat_server.cpp:(.text._ZNSt23_Sp_counted_ptr_inplaceI12chat_sessionSaIS0_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info[std::_Sp_counted_ptr_inplace<chat_session, std::allocator<chat_session>, (__gnu_cxx::_Lock_policy)2>::_M_get_deleter(std::type_info const&)]+0x1a): dangerous relocation: call8: call target out of range: std::_Sp_counted_ptr_inplace<chat_session, std::allocator<chat_session>, (__gnu_cxx::_Lock_policy)2>::_M_ptr()
collect2: error: ld returned 1 exit status
/home/thurman/esp/esp-idf/make/project.mk:520: recipe for target '/home/thurman/Projects/ESP32/chops_chat_server/build/chops_chat_server.elf' failed
make: *** [/home/thurman/Projects/ESP32/chops_chat_server/build/chops_chat_server.elf] Error 1

Other items if possible

sdkconfig file:

#
# Automatically generated file. DO NOT EDIT.
# Espressif IoT Development Framework (ESP-IDF) Project Configuration
#
CONFIG_IDF_TARGET="esp32"

#
# SDK tool configuration
#
CONFIG_SDK_TOOLPREFIX="xtensa-esp32-elf-"
CONFIG_SDK_PYTHON="python"
CONFIG_SDK_MAKE_WARN_UNDEFINED_VARIABLES=y
CONFIG_APP_COMPILE_TIME_DATE=y
# CONFIG_APP_EXCLUDE_PROJECT_VER_VAR is not set
# CONFIG_APP_EXCLUDE_PROJECT_NAME_VAR is not set
# CONFIG_LOG_BOOTLOADER_LEVEL_NONE is not set
# CONFIG_LOG_BOOTLOADER_LEVEL_ERROR is not set
# CONFIG_LOG_BOOTLOADER_LEVEL_WARN is not set
CONFIG_LOG_BOOTLOADER_LEVEL_INFO=y
# CONFIG_LOG_BOOTLOADER_LEVEL_DEBUG is not set
# CONFIG_LOG_BOOTLOADER_LEVEL_VERBOSE is not set
CONFIG_LOG_BOOTLOADER_LEVEL=3
# CONFIG_BOOTLOADER_VDDSDIO_BOOST_1_8V is not set
CONFIG_BOOTLOADER_VDDSDIO_BOOST_1_9V=y
# CONFIG_BOOTLOADER_FACTORY_RESET is not set
# CONFIG_BOOTLOADER_APP_TEST is not set
CONFIG_BOOTLOADER_WDT_ENABLE=y
# CONFIG_BOOTLOADER_WDT_DISABLE_IN_USER_CODE is not set
CONFIG_BOOTLOADER_WDT_TIME_MS=9000
# CONFIG_APP_ROLLBACK_ENABLE is not set
# CONFIG_SECURE_SIGNED_APPS_NO_SECURE_BOOT is not set
# CONFIG_SECURE_BOOT_ENABLED is not set
# CONFIG_FLASH_ENCRYPTION_ENABLED is not set
CONFIG_ESPTOOLPY_PORT="/dev/ttyUSB0"
CONFIG_ESPTOOLPY_BAUD_115200B=y
# CONFIG_ESPTOOLPY_BAUD_230400B is not set
# CONFIG_ESPTOOLPY_BAUD_921600B is not set
# CONFIG_ESPTOOLPY_BAUD_2MB is not set
# CONFIG_ESPTOOLPY_BAUD_OTHER is not set
CONFIG_ESPTOOLPY_BAUD_OTHER_VAL=115200
CONFIG_ESPTOOLPY_BAUD=115200
CONFIG_ESPTOOLPY_COMPRESSED=y
# CONFIG_FLASHMODE_QIO is not set
# CONFIG_FLASHMODE_QOUT is not set
CONFIG_FLASHMODE_DIO=y
# CONFIG_FLASHMODE_DOUT is not set
CONFIG_ESPTOOLPY_FLASHMODE="dio"
# CONFIG_ESPTOOLPY_FLASHFREQ_80M is not set
CONFIG_ESPTOOLPY_FLASHFREQ_40M=y
# CONFIG_ESPTOOLPY_FLASHFREQ_26M is not set
# CONFIG_ESPTOOLPY_FLASHFREQ_20M is not set
CONFIG_ESPTOOLPY_FLASHFREQ="40m"
# CONFIG_ESPTOOLPY_FLASHSIZE_1MB is not set
CONFIG_ESPTOOLPY_FLASHSIZE_2MB=y
# CONFIG_ESPTOOLPY_FLASHSIZE_4MB is not set
# CONFIG_ESPTOOLPY_FLASHSIZE_8MB is not set
# CONFIG_ESPTOOLPY_FLASHSIZE_16MB is not set
CONFIG_ESPTOOLPY_FLASHSIZE="2MB"
CONFIG_ESPTOOLPY_FLASHSIZE_DETECT=y
CONFIG_ESPTOOLPY_BEFORE_RESET=y
# CONFIG_ESPTOOLPY_BEFORE_NORESET is not set
CONFIG_ESPTOOLPY_BEFORE="default_reset"
CONFIG_ESPTOOLPY_AFTER_RESET=y
# CONFIG_ESPTOOLPY_AFTER_NORESET is not set
CONFIG_ESPTOOLPY_AFTER="hard_reset"
# CONFIG_MONITOR_BAUD_9600B is not set
# CONFIG_MONITOR_BAUD_57600B is not set
CONFIG_MONITOR_BAUD_115200B=y
# CONFIG_MONITOR_BAUD_230400B is not set
# CONFIG_MONITOR_BAUD_921600B is not set
# CONFIG_MONITOR_BAUD_2MB is not set
# CONFIG_MONITOR_BAUD_OTHER is not set
CONFIG_MONITOR_BAUD_OTHER_VAL=115200
CONFIG_MONITOR_BAUD=115200
CONFIG_EXAMPLE_PORT="2222"
CONFIG_PARTITION_TABLE_SINGLE_APP=y
# CONFIG_PARTITION_TABLE_TWO_OTA is not set
# CONFIG_PARTITION_TABLE_CUSTOM is not set
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv"
CONFIG_PARTITION_TABLE_FILENAME="partitions_singleapp.csv"
CONFIG_PARTITION_TABLE_OFFSET=0x8000
CONFIG_PARTITION_TABLE_MD5=y
CONFIG_EXAMPLE_CONNECT_WIFI=y
# CONFIG_EXAMPLE_CONNECT_ETHERNET is not set
CONFIG_EXAMPLE_WIFI_SSID="St Herman"
CONFIG_EXAMPLE_WIFI_PASSWORD="Northumberland880"
CONFIG_EXAMPLE_CONNECT_IPV6=y
CONFIG_OPTIMIZATION_LEVEL_DEBUG=y
# CONFIG_OPTIMIZATION_LEVEL_RELEASE is not set
CONFIG_OPTIMIZATION_ASSERTIONS_ENABLED=y
# CONFIG_OPTIMIZATION_ASSERTIONS_SILENT is not set
# CONFIG_OPTIMIZATION_ASSERTIONS_DISABLED is not set
# CONFIG_CXX_EXCEPTIONS is not set
CONFIG_STACK_CHECK_NONE=y
# CONFIG_STACK_CHECK_NORM is not set
# CONFIG_STACK_CHECK_STRONG is not set
# CONFIG_STACK_CHECK_ALL is not set
# CONFIG_STACK_CHECK is not set
# CONFIG_WARN_WRITE_STRINGS is not set
# CONFIG_DISABLE_GCC8_WARNINGS is not set
# CONFIG_ESP32_APPTRACE_DEST_TRAX is not set
CONFIG_ESP32_APPTRACE_DEST_NONE=y
# CONFIG_ESP32_APPTRACE_ENABLE is not set
CONFIG_ESP32_APPTRACE_LOCK_ENABLE=y
# CONFIG_BT_ENABLED is not set
CONFIG_BTDM_CONTROLLER_BLE_MAX_CONN_EFF=0
CONFIG_BTDM_CONTROLLER_BR_EDR_MAX_ACL_CONN_EFF=0
CONFIG_BTDM_CONTROLLER_BR_EDR_MAX_SYNC_CONN_EFF=0
CONFIG_BTDM_CONTROLLER_PINNED_TO_CORE=0
CONFIG_BT_RESERVE_DRAM=0
# CONFIG_ADC_FORCE_XPD_FSM is not set
CONFIG_ADC2_DISABLE_DAC=y
# CONFIG_SPI_MASTER_IN_IRAM is not set
CONFIG_SPI_MASTER_ISR_IN_IRAM=y
# CONFIG_SPI_SLAVE_IN_IRAM is not set
CONFIG_SPI_SLAVE_ISR_IN_IRAM=y
# CONFIG_EFUSE_CUSTOM_TABLE is not set
# CONFIG_EFUSE_VIRTUAL is not set
# CONFIG_EFUSE_CODE_SCHEME_COMPAT_NONE is not set
CONFIG_EFUSE_CODE_SCHEME_COMPAT_3_4=y
# CONFIG_EFUSE_CODE_SCHEME_COMPAT_REPEAT is not set
CONFIG_EFUSE_MAX_BLK_LEN=192
CONFIG_IDF_TARGET_ESP32=y
# CONFIG_ESP32_DEFAULT_CPU_FREQ_80 is not set
CONFIG_ESP32_DEFAULT_CPU_FREQ_160=y
# CONFIG_ESP32_DEFAULT_CPU_FREQ_240 is not set
CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ=160
# CONFIG_SPIRAM_SUPPORT is not set
# CONFIG_MEMMAP_TRACEMEM is not set
# CONFIG_MEMMAP_TRACEMEM_TWOBANKS is not set
# CONFIG_ESP32_TRAX is not set
CONFIG_TRACEMEM_RESERVE_DRAM=0x0
# CONFIG_TWO_UNIVERSAL_MAC_ADDRESS is not set
CONFIG_FOUR_UNIVERSAL_MAC_ADDRESS=y
CONFIG_NUMBER_OF_UNIVERSAL_MAC_ADDRESS=4
CONFIG_SYSTEM_EVENT_QUEUE_SIZE=32
CONFIG_SYSTEM_EVENT_TASK_STACK_SIZE=2304
CONFIG_MAIN_TASK_STACK_SIZE=8192
CONFIG_IPC_TASK_STACK_SIZE=1024
CONFIG_TIMER_TASK_STACK_SIZE=3584
CONFIG_NEWLIB_STDOUT_LINE_ENDING_CRLF=y
# CONFIG_NEWLIB_STDOUT_LINE_ENDING_LF is not set
# CONFIG_NEWLIB_STDOUT_LINE_ENDING_CR is not set
# CONFIG_NEWLIB_STDIN_LINE_ENDING_CRLF is not set
# CONFIG_NEWLIB_STDIN_LINE_ENDING_LF is not set
CONFIG_NEWLIB_STDIN_LINE_ENDING_CR=y
# CONFIG_NEWLIB_NANO_FORMAT is not set
CONFIG_CONSOLE_UART_DEFAULT=y
# CONFIG_CONSOLE_UART_CUSTOM is not set
# CONFIG_CONSOLE_UART_NONE is not set
CONFIG_CONSOLE_UART_NUM=0
CONFIG_CONSOLE_UART_BAUDRATE=115200
# CONFIG_ULP_COPROC_ENABLED is not set
CONFIG_ULP_COPROC_RESERVE_MEM=0
# CONFIG_ESP32_PANIC_PRINT_HALT is not set
CONFIG_ESP32_PANIC_PRINT_REBOOT=y
# CONFIG_ESP32_PANIC_SILENT_REBOOT is not set
# CONFIG_ESP32_PANIC_GDBSTUB is not set
CONFIG_ESP32_DEBUG_OCDAWARE=y
CONFIG_ESP32_DEBUG_STUBS_ENABLE=y
CONFIG_INT_WDT=y
CONFIG_INT_WDT_TIMEOUT_MS=300
CONFIG_INT_WDT_CHECK_CPU1=y
CONFIG_TASK_WDT=y
# CONFIG_TASK_WDT_PANIC is not set
CONFIG_TASK_WDT_TIMEOUT_S=5
CONFIG_TASK_WDT_CHECK_IDLE_TASK_CPU0=y
CONFIG_TASK_WDT_CHECK_IDLE_TASK_CPU1=y
CONFIG_BROWNOUT_DET=y
CONFIG_BROWNOUT_DET_LVL_SEL_0=y
# CONFIG_BROWNOUT_DET_LVL_SEL_1 is not set
# CONFIG_BROWNOUT_DET_LVL_SEL_2 is not set
# CONFIG_BROWNOUT_DET_LVL_SEL_3 is not set
# CONFIG_BROWNOUT_DET_LVL_SEL_4 is not set
# CONFIG_BROWNOUT_DET_LVL_SEL_5 is not set
# CONFIG_BROWNOUT_DET_LVL_SEL_6 is not set
# CONFIG_BROWNOUT_DET_LVL_SEL_7 is not set
CONFIG_BROWNOUT_DET_LVL=0
CONFIG_REDUCE_PHY_TX_POWER=y
CONFIG_ESP32_TIME_SYSCALL_USE_RTC_FRC1=y
# CONFIG_ESP32_TIME_SYSCALL_USE_RTC is not set
# CONFIG_ESP32_TIME_SYSCALL_USE_FRC1 is not set
# CONFIG_ESP32_TIME_SYSCALL_USE_NONE is not set
CONFIG_ESP32_RTC_CLOCK_SOURCE_INTERNAL_RC=y
# CONFIG_ESP32_RTC_CLOCK_SOURCE_EXTERNAL_CRYSTAL is not set
# CONFIG_ESP32_RTC_CLOCK_SOURCE_EXTERNAL_OSC is not set
# CONFIG_ESP32_RTC_CLOCK_SOURCE_INTERNAL_8MD256 is not set
CONFIG_ESP32_RTC_CLK_CAL_CYCLES=1024
CONFIG_ESP32_DEEP_SLEEP_WAKEUP_DELAY=2000
CONFIG_ESP32_XTAL_FREQ_40=y
# CONFIG_ESP32_XTAL_FREQ_26 is not set
# CONFIG_ESP32_XTAL_FREQ_AUTO is not set
CONFIG_ESP32_XTAL_FREQ=40
# CONFIG_DISABLE_BASIC_ROM_CONSOLE is not set
# CONFIG_NO_BLOBS is not set
# CONFIG_ESP_TIMER_PROFILING is not set
# CONFIG_COMPATIBLE_PRE_V2_1_BOOTLOADERS is not set
CONFIG_ESP_ERR_TO_NAME_LOOKUP=y
# CONFIG_PM_ENABLE is not set
CONFIG_ADC_CAL_EFUSE_TP_ENABLE=y
CONFIG_ADC_CAL_EFUSE_VREF_ENABLE=y
CONFIG_ADC_CAL_LUT_ENABLE=y
# CONFIG_EVENT_LOOP_PROFILING is not set
CONFIG_POST_EVENTS_FROM_ISR=y
CONFIG_POST_EVENTS_FROM_IRAM_ISR=y
CONFIG_ESP_HTTP_CLIENT_ENABLE_HTTPS=y
# CONFIG_ESP_HTTP_CLIENT_ENABLE_BASIC_AUTH is not set
CONFIG_HTTPD_MAX_REQ_HDR_LEN=512
CONFIG_HTTPD_MAX_URI_LEN=512
CONFIG_HTTPD_ERR_RESP_NO_DELAY=y
# CONFIG_OTA_ALLOW_HTTP is not set
CONFIG_ESP32_WIFI_STATIC_RX_BUFFER_NUM=10
CONFIG_ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM=32
# CONFIG_ESP32_WIFI_STATIC_TX_BUFFER is not set
CONFIG_ESP32_WIFI_DYNAMIC_TX_BUFFER=y
CONFIG_ESP32_WIFI_TX_BUFFER_TYPE=1
CONFIG_ESP32_WIFI_DYNAMIC_TX_BUFFER_NUM=32
# CONFIG_ESP32_WIFI_CSI_ENABLED is not set
CONFIG_ESP32_WIFI_AMPDU_TX_ENABLED=y
CONFIG_ESP32_WIFI_TX_BA_WIN=6
CONFIG_ESP32_WIFI_AMPDU_RX_ENABLED=y
CONFIG_ESP32_WIFI_RX_BA_WIN=6
CONFIG_ESP32_WIFI_NVS_ENABLED=y
CONFIG_ESP32_WIFI_TASK_PINNED_TO_CORE_0=y
# CONFIG_ESP32_WIFI_TASK_PINNED_TO_CORE_1 is not set
CONFIG_ESP32_WIFI_SOFTAP_BEACON_MAX_LEN=752
CONFIG_ESP32_WIFI_MGMT_SBUF_NUM=32
# CONFIG_ESP32_WIFI_DEBUG_LOG_ENABLE is not set
CONFIG_ESP32_WIFI_IRAM_OPT=y
CONFIG_ESP32_PHY_CALIBRATION_AND_DATA_STORAGE=y
# CONFIG_ESP32_PHY_INIT_DATA_IN_PARTITION is not set
CONFIG_ESP32_PHY_MAX_WIFI_TX_POWER=20
CONFIG_ESP32_PHY_MAX_TX_POWER=20
# CONFIG_ESP32_ENABLE_COREDUMP_TO_FLASH is not set
# CONFIG_ESP32_ENABLE_COREDUMP_TO_UART is not set
CONFIG_ESP32_ENABLE_COREDUMP_TO_NONE=y
# CONFIG_ESP32_ENABLE_COREDUMP is not set
CONFIG_DMA_RX_BUF_NUM=10
CONFIG_DMA_TX_BUF_NUM=10
CONFIG_EMAC_L2_TO_L3_RX_BUF_MODE=y
CONFIG_EMAC_CHECK_LINK_PERIOD_MS=2000
CONFIG_EMAC_TASK_PRIORITY=20
CONFIG_EMAC_TASK_STACK_SIZE=3072
# CONFIG_FATFS_CODEPAGE_DYNAMIC is not set
CONFIG_FATFS_CODEPAGE_437=y
# CONFIG_FATFS_CODEPAGE_720 is not set
# CONFIG_FATFS_CODEPAGE_737 is not set
# CONFIG_FATFS_CODEPAGE_771 is not set
# CONFIG_FATFS_CODEPAGE_775 is not set
# CONFIG_FATFS_CODEPAGE_850 is not set
# CONFIG_FATFS_CODEPAGE_852 is not set
# CONFIG_FATFS_CODEPAGE_855 is not set
# CONFIG_FATFS_CODEPAGE_857 is not set
# CONFIG_FATFS_CODEPAGE_860 is not set
# CONFIG_FATFS_CODEPAGE_861 is not set
# CONFIG_FATFS_CODEPAGE_862 is not set
# CONFIG_FATFS_CODEPAGE_863 is not set
# CONFIG_FATFS_CODEPAGE_864 is not set
# CONFIG_FATFS_CODEPAGE_865 is not set
# CONFIG_FATFS_CODEPAGE_866 is not set
# CONFIG_FATFS_CODEPAGE_869 is not set
# CONFIG_FATFS_CODEPAGE_932 is not set
# CONFIG_FATFS_CODEPAGE_936 is not set
# CONFIG_FATFS_CODEPAGE_949 is not set
# CONFIG_FATFS_CODEPAGE_950 is not set
CONFIG_FATFS_CODEPAGE=437
CONFIG_FATFS_LFN_NONE=y
# CONFIG_FATFS_LFN_HEAP is not set
# CONFIG_FATFS_LFN_STACK is not set
CONFIG_FATFS_FS_LOCK=0
CONFIG_FATFS_TIMEOUT_MS=10000
CONFIG_FATFS_PER_FILE_CACHE=y
CONFIG_MB_MASTER_TIMEOUT_MS_RESPOND=150
CONFIG_MB_MASTER_DELAY_MS_CONVERT=200
CONFIG_MB_QUEUE_LENGTH=20
CONFIG_MB_SERIAL_TASK_STACK_SIZE=2048
CONFIG_MB_SERIAL_BUF_SIZE=256
CONFIG_MB_SERIAL_TASK_PRIO=10
# CONFIG_MB_CONTROLLER_SLAVE_ID_SUPPORT is not set
CONFIG_MB_CONTROLLER_NOTIFY_TIMEOUT=20
CONFIG_MB_CONTROLLER_NOTIFY_QUEUE_SIZE=20
CONFIG_MB_CONTROLLER_STACK_SIZE=4096
CONFIG_MB_EVENT_QUEUE_TIMEOUT=20
CONFIG_MB_TIMER_PORT_ENABLED=y
CONFIG_MB_TIMER_GROUP=0
CONFIG_MB_TIMER_INDEX=0
# CONFIG_FREERTOS_UNICORE is not set
CONFIG_FREERTOS_NO_AFFINITY=0x7FFFFFFF
CONFIG_FREERTOS_CORETIMER_0=y
# CONFIG_FREERTOS_CORETIMER_1 is not set
CONFIG_FREERTOS_HZ=100
CONFIG_FREERTOS_ASSERT_ON_UNTESTED_FUNCTION=y
# CONFIG_FREERTOS_CHECK_STACKOVERFLOW_NONE is not set
# CONFIG_FREERTOS_CHECK_STACKOVERFLOW_PTRVAL is not set
CONFIG_FREERTOS_CHECK_STACKOVERFLOW_CANARY=y
# CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK is not set
CONFIG_FREERTOS_INTERRUPT_BACKTRACE=y
CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=1
CONFIG_FREERTOS_ASSERT_FAIL_ABORT=y
# CONFIG_FREERTOS_ASSERT_FAIL_PRINT_CONTINUE is not set
# CONFIG_FREERTOS_ASSERT_DISABLE is not set
CONFIG_FREERTOS_IDLE_TASK_STACKSIZE=1536
CONFIG_FREERTOS_ISR_STACKSIZE=1536
# CONFIG_FREERTOS_LEGACY_HOOKS is not set
CONFIG_FREERTOS_MAX_TASK_NAME_LEN=16
# CONFIG_SUPPORT_STATIC_ALLOCATION is not set
CONFIG_TIMER_TASK_PRIORITY=1
CONFIG_TIMER_TASK_STACK_DEPTH=2048
CONFIG_TIMER_QUEUE_LENGTH=10
CONFIG_FREERTOS_QUEUE_REGISTRY_SIZE=0
# CONFIG_FREERTOS_USE_TRACE_FACILITY is not set
# CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS is not set
# CONFIG_FREERTOS_DEBUG_INTERNALS is not set
CONFIG_FREERTOS_TASK_FUNCTION_WRAPPER=y
CONFIG_FREERTOS_CHECK_MUTEX_GIVEN_BY_OWNER=y
CONFIG_HEAP_POISONING_DISABLED=y
# CONFIG_HEAP_POISONING_LIGHT is not set
# CONFIG_HEAP_POISONING_COMPREHENSIVE is not set
CONFIG_HEAP_TRACING_OFF=y
# CONFIG_HEAP_TRACING_STANDALONE is not set
# CONFIG_HEAP_TRACING_TOHOST is not set
# CONFIG_HEAP_TRACING is not set
CONFIG_LIBSODIUM_USE_MBEDTLS_SHA=y
# CONFIG_LOG_DEFAULT_LEVEL_NONE is not set
# CONFIG_LOG_DEFAULT_LEVEL_ERROR is not set
# CONFIG_LOG_DEFAULT_LEVEL_WARN is not set
CONFIG_LOG_DEFAULT_LEVEL_INFO=y
# CONFIG_LOG_DEFAULT_LEVEL_DEBUG is not set
# CONFIG_LOG_DEFAULT_LEVEL_VERBOSE is not set
CONFIG_LOG_DEFAULT_LEVEL=3
CONFIG_LOG_COLORS=y
# CONFIG_L2_TO_L3_COPY is not set
# CONFIG_LWIP_IRAM_OPTIMIZATION is not set
CONFIG_LWIP_MAX_SOCKETS=10
# CONFIG_USE_ONLY_LWIP_SELECT is not set
CONFIG_LWIP_SO_REUSE=y
CONFIG_LWIP_SO_REUSE_RXTOALL=y
# CONFIG_LWIP_SO_RCVBUF is not set
CONFIG_LWIP_DHCP_MAX_NTP_SERVERS=1
# CONFIG_LWIP_IP_FRAG is not set
# CONFIG_LWIP_IP_REASSEMBLY is not set
# CONFIG_LWIP_STATS is not set
# CONFIG_LWIP_ETHARP_TRUST_IP_MAC is not set
CONFIG_ESP_GRATUITOUS_ARP=y
CONFIG_GARP_TMR_INTERVAL=60
CONFIG_TCPIP_RECVMBOX_SIZE=32
CONFIG_LWIP_DHCP_DOES_ARP_CHECK=y
# CONFIG_LWIP_DHCP_RESTORE_LAST_IP is not set
CONFIG_LWIP_DHCPS_LEASE_UNIT=60
CONFIG_LWIP_DHCPS_MAX_STATION_NUM=8
# CONFIG_LWIP_AUTOIP is not set
CONFIG_LWIP_NETIF_LOOPBACK=y
CONFIG_LWIP_LOOPBACK_MAX_PBUFS=8
CONFIG_LWIP_MAX_ACTIVE_TCP=16
CONFIG_LWIP_MAX_LISTENING_TCP=16
CONFIG_TCP_MAXRTX=12
CONFIG_TCP_SYNMAXRTX=6
CONFIG_TCP_MSS=1440
CONFIG_TCP_MSL=60000
CONFIG_TCP_SND_BUF_DEFAULT=5744
CONFIG_TCP_WND_DEFAULT=5744
CONFIG_TCP_RECVMBOX_SIZE=6
CONFIG_TCP_QUEUE_OOSEQ=y
# CONFIG_ESP_TCP_KEEP_CONNECTION_WHEN_IP_CHANGES is not set
CONFIG_TCP_OVERSIZE_MSS=y
# CONFIG_TCP_OVERSIZE_QUARTER_MSS is not set
# CONFIG_TCP_OVERSIZE_DISABLE is not set
CONFIG_LWIP_MAX_UDP_PCBS=16
CONFIG_UDP_RECVMBOX_SIZE=6
CONFIG_TCPIP_TASK_STACK_SIZE=3072
CONFIG_TCPIP_TASK_AFFINITY_NO_AFFINITY=y
# CONFIG_TCPIP_TASK_AFFINITY_CPU0 is not set
# CONFIG_TCPIP_TASK_AFFINITY_CPU1 is not set
CONFIG_TCPIP_TASK_AFFINITY=0x7FFFFFFF
# CONFIG_PPP_SUPPORT is not set
# CONFIG_LWIP_MULTICAST_PING is not set
# CONFIG_LWIP_BROADCAST_PING is not set
CONFIG_LWIP_MAX_RAW_PCBS=16
CONFIG_MBEDTLS_INTERNAL_MEM_ALLOC=y
# CONFIG_MBEDTLS_DEFAULT_MEM_ALLOC is not set
# CONFIG_MBEDTLS_CUSTOM_MEM_ALLOC is not set
CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN=16384
# CONFIG_MBEDTLS_ASYMMETRIC_CONTENT_LEN is not set
# CONFIG_MBEDTLS_DEBUG is not set
CONFIG_MBEDTLS_HARDWARE_AES=y
# CONFIG_MBEDTLS_HARDWARE_MPI is not set
# CONFIG_MBEDTLS_HARDWARE_SHA is not set
CONFIG_MBEDTLS_HAVE_TIME=y
# CONFIG_MBEDTLS_HAVE_TIME_DATE is not set
CONFIG_MBEDTLS_TLS_SERVER_AND_CLIENT=y
# CONFIG_MBEDTLS_TLS_SERVER_ONLY is not set
# CONFIG_MBEDTLS_TLS_CLIENT_ONLY is not set
# CONFIG_MBEDTLS_TLS_DISABLED is not set
CONFIG_MBEDTLS_TLS_SERVER=y
CONFIG_MBEDTLS_TLS_CLIENT=y
CONFIG_MBEDTLS_TLS_ENABLED=y
# CONFIG_MBEDTLS_PSK_MODES is not set
CONFIG_MBEDTLS_KEY_EXCHANGE_RSA=y
CONFIG_MBEDTLS_KEY_EXCHANGE_DHE_RSA=y
CONFIG_MBEDTLS_KEY_EXCHANGE_ELLIPTIC_CURVE=y
CONFIG_MBEDTLS_KEY_EXCHANGE_ECDHE_RSA=y
CONFIG_MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA=y
CONFIG_MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA=y
CONFIG_MBEDTLS_KEY_EXCHANGE_ECDH_RSA=y
CONFIG_MBEDTLS_SSL_RENEGOTIATION=y
# CONFIG_MBEDTLS_SSL_PROTO_SSL3 is not set
CONFIG_MBEDTLS_SSL_PROTO_TLS1=y
CONFIG_MBEDTLS_SSL_PROTO_TLS1_1=y
CONFIG_MBEDTLS_SSL_PROTO_TLS1_2=y
# CONFIG_MBEDTLS_SSL_PROTO_DTLS is not set
CONFIG_MBEDTLS_SSL_ALPN=y
CONFIG_MBEDTLS_SSL_SESSION_TICKETS=y
CONFIG_MBEDTLS_AES_C=y
# CONFIG_MBEDTLS_CAMELLIA_C is not set
# CONFIG_MBEDTLS_DES_C is not set
CONFIG_MBEDTLS_RC4_DISABLED=y
# CONFIG_MBEDTLS_RC4_ENABLED_NO_DEFAULT is not set
# CONFIG_MBEDTLS_RC4_ENABLED is not set
# CONFIG_MBEDTLS_BLOWFISH_C is not set
# CONFIG_MBEDTLS_XTEA_C is not set
CONFIG_MBEDTLS_CCM_C=y
CONFIG_MBEDTLS_GCM_C=y
# CONFIG_MBEDTLS_RIPEMD160_C is not set
CONFIG_MBEDTLS_PEM_PARSE_C=y
CONFIG_MBEDTLS_PEM_WRITE_C=y
CONFIG_MBEDTLS_X509_CRL_PARSE_C=y
CONFIG_MBEDTLS_X509_CSR_PARSE_C=y
CONFIG_MBEDTLS_ECP_C=y
CONFIG_MBEDTLS_ECDH_C=y
CONFIG_MBEDTLS_ECDSA_C=y
CONFIG_MBEDTLS_ECP_DP_SECP192R1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_SECP224R1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_SECP256R1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_SECP384R1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_SECP521R1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_SECP192K1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_SECP224K1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_SECP256K1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_BP256R1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_BP384R1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_BP512R1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_CURVE25519_ENABLED=y
CONFIG_MBEDTLS_ECP_NIST_OPTIM=y
CONFIG_MDNS_MAX_SERVICES=10
CONFIG_MQTT_PROTOCOL_311=y
CONFIG_MQTT_TRANSPORT_SSL=y
CONFIG_MQTT_TRANSPORT_WEBSOCKET=y
CONFIG_MQTT_TRANSPORT_WEBSOCKET_SECURE=y
# CONFIG_MQTT_USE_CUSTOM_CONFIG is not set
# CONFIG_MQTT_TASK_CORE_SELECTION_ENABLED is not set
# CONFIG_MQTT_CUSTOM_OUTBOX is not set
# CONFIG_OPENSSL_DEBUG is not set
CONFIG_OPENSSL_ASSERT_DO_NOTHING=y
# CONFIG_OPENSSL_ASSERT_EXIT is not set
CONFIG_ESP32_PTHREAD_TASK_PRIO_DEFAULT=5
CONFIG_ESP32_PTHREAD_TASK_STACK_SIZE_DEFAULT=3072
CONFIG_PTHREAD_STACK_MIN=768
CONFIG_ESP32_DEFAULT_PTHREAD_CORE_NO_AFFINITY=y
# CONFIG_ESP32_DEFAULT_PTHREAD_CORE_0 is not set
# CONFIG_ESP32_DEFAULT_PTHREAD_CORE_1 is not set
CONFIG_ESP32_PTHREAD_TASK_CORE_DEFAULT=-1
CONFIG_ESP32_PTHREAD_TASK_NAME_DEFAULT="pthread"
# CONFIG_SPI_FLASH_VERIFY_WRITE is not set
# CONFIG_SPI_FLASH_ENABLE_COUNTERS is not set
CONFIG_SPI_FLASH_ROM_DRIVER_PATCH=y
CONFIG_SPIFFS_MAX_PARTITIONS=3
CONFIG_SPIFFS_CACHE=y
CONFIG_SPIFFS_CACHE_WR=y
# CONFIG_SPIFFS_CACHE_STATS is not set
CONFIG_SPIFFS_PAGE_CHECK=y
CONFIG_SPIFFS_GC_MAX_RUNS=10
# CONFIG_SPIFFS_GC_STATS is not set
CONFIG_SPIFFS_PAGE_SIZE=256
CONFIG_SPIFFS_OBJ_NAME_LEN=32
CONFIG_SPIFFS_USE_MAGIC=y
CONFIG_SPIFFS_USE_MAGIC_LENGTH=y
CONFIG_SPIFFS_META_LENGTH=4
CONFIG_SPIFFS_USE_MTIME=y
# CONFIG_SPIFFS_DBG is not set
# CONFIG_SPIFFS_API_DBG is not set
# CONFIG_SPIFFS_GC_DBG is not set
# CONFIG_SPIFFS_CACHE_DBG is not set
# CONFIG_SPIFFS_CHECK_DBG is not set
# CONFIG_SPIFFS_TEST_VISUALISATION is not set
CONFIG_IP_LOST_TIMER_INTERVAL=120
CONFIG_TCPIP_LWIP=y
CONFIG_UNITY_ENABLE_FLOAT=y
CONFIG_UNITY_ENABLE_DOUBLE=y
# CONFIG_UNITY_ENABLE_COLOR is not set
CONFIG_UNITY_ENABLE_IDF_TEST_RUNNER=y
# CONFIG_UNITY_ENABLE_FIXTURE is not set
CONFIG_SUPPRESS_SELECT_DEBUG_OUTPUT=y
CONFIG_SUPPORT_TERMIOS=y
CONFIG_SEMIHOSTFS_MAX_MOUNT_POINTS=1
CONFIG_SEMIHOSTFS_HOST_PATH_MAX_LEN=128
# CONFIG_WL_SECTOR_SIZE_512 is not set
CONFIG_WL_SECTOR_SIZE_4096=y
CONFIG_WL_SECTOR_SIZE=4096
# CONFIG_LEGACY_INCLUDE_COMMON_HEADERS is not set

# Deprecated options for backward compatibility
CONFIG_TOOLPREFIX="xtensa-esp32-elf-"
CONFIG_PYTHON="python"
CONFIG_MAKE_WARN_UNDEFINED_VARIABLES=y
# End of deprecated options
igrr commented 5 years ago

Please try CXXFLAGS += instead of =. You are removing -mlongcalls and other flags which are added by the build system to the default CXXFLAGS.

tgill880 commented 5 years ago

Yes, that fixed the problem. I also needed to enable exceptions.

CXXFLAGS += -std=c++17 -fexceptions

Many thanks!

igrr commented 5 years ago

For enabling exceptions, please use a menuconfig option (under compiler config).

Aside from adding -fexceptions to CXXFLAGS, it enabled the required run-time support for exception handling in the early start up code. Without that, any exception thrown will lead to abort. See examples/system/cpp_exceptions.

tgill880 commented 5 years ago

Exceptions now enabled in menuconfig. Thanks.

I have now added all the application code to be ported to the chops-net-ip version of chat_server. A new compiler error is present.

In file included from /home/thurman/esp/esp-idf/components/asio/asio/asio/include/asio/ip/basic_endpoint.hpp:20,
                 from /home/thurman/esp/esp-idf/components/asio/asio/asio/include/asio/ip/tcp.hpp:24,
                 from /home/thurman/Projects/ESP32/chops_chat_server/components/chops-net-ip/include/net_ip/net_ip.hpp:30,
                 from /home/thurman/Projects/ESP32/chops_chat_server/main/chat_server.cpp:42:
/home/thurman/esp/esp-idf/components/asio/asio/asio/include/asio/ip/detail/endpoint.hpp: In member function 'bool chops::net::detail::io_common<IOT>::start_write_setup(const chops::const_shared_buffer&) [with IOT = chops::net::detail::tcp_io]':
/home/thurman/esp/esp-idf/components/asio/asio/asio/include/asio/ip/detail/endpoint.hpp:47:24: error: '<anonymous>.asio::ip::detail::endpoint::data_' may be used uninitialized in this function [-Werror=maybe-uninitialized]
     : data_(other.data_)
                        ^
cc1plus: some warnings being treated as errors
/home/thurman/esp/esp-idf/make/component_wrapper.mk:289: recipe for target 'chat_server.o' failed
make[1]: *** [chat_server.o] Error 1
/home/thurman/esp/esp-idf/make/project.mk:582: recipe for target 'component-main-build' failed
make: *** [component-main-build] Error 2

This error is triggered by the copy constructor of the asio endpoint helper class. From: /home/thurman/esp/esp-idf/components/asio/asio/asio/include/asio/ip/detail/endpoint.hpp

// Copy constructor.
  endpoint(const endpoint& other)
    : data_(other.data_)
  {
  }

In my code, an endpoint is used in a lambda callback:

using io_interface = chops::net::tcp_io_interface;
using const_buf = asio::const_buffer;
using endpoint = asio::ip::tcp::endpoint;

// receive text from client, send out to others
const auto msg_hndlr = [](const_buf buf, io_interface iof, endpoint ep) {
   // code not listed
}

Of course, this code compiles fine with the latest g++ and clang++ on linux, macOS and Windows environments.

My various lame attempts to override the -Werror=maybe-uninitialized flag have failed: CXXFLAGS += -std=c++17 -Wno-error CXXFLAGS := $(filter-out -Werrorr=maybe-uninitialized,$(CXXFLAGS)) CXXFLAGS := $(filter-out -Werror,$(CXXFLAGS)) In menuconfig: [*] Disable new warnings introduced in GCC 6 - 8

Your prompt responses are greatly appreciated.

david-cermak commented 5 years ago

Hi @tgill880

Do you have to add https://github.com/connectivecpp/chops-net-ip to reproduce this build failure? It looks like simply compiling asio/using endpoints works under c++17.

Meantime, it might be possible to ignore the maybe-uininialized error with


#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
``` in the code.
tgill880 commented 5 years ago

Yes.

The #pragma suppresses the warning, and the code compiles and is uploaded to the ESP32.

Many thanks.

tgill880 commented 5 years ago

On further testing, it is clear that chops-net-ip and asio are not working well together in this enviromment. Since the build failure has been solved, I will close this ticket and open another if needed.