dangerous relocation: l32r: literal target out of range (try using text-section-literals)
Posted: Sun Aug 11, 2019 10:35 am
Hi,
Could someone with better knowledge of the Xtensa architecture/compiler please explain to me what this linker error means, and what to do about it?
So far I've tried adding combinations of "-mauto-litpools" and "-mtext-section-literals" to my library and app, but without effect like so;
. Below is the full error message.
Could someone with better knowledge of the Xtensa architecture/compiler please explain to me what this linker error means, and what to do about it?
So far I've tried adding combinations of "-mauto-litpools" and "-mtext-section-literals" to my library and app, but without effect like so;
Code: Select all
target_link_options(${PROJECT_NAME} PRIVATE "-mauto-litpools" "-mtext-section-literals")
[ 96%] Linking CXX executable ../g3
/home/permal/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: CMakeFiles/g3.dir/App.cpp.obj: in function `smooth::core::network::ServerSocket<smooth::application::network::http::HTTPServerClient, smooth::application::network::http::HTTPProtocol, smooth::application::network::http::regular::IRequestHandler>::accept_request(smooth::core::network::ISocketBackOff&)':
/home/permal/electronics/IO-Card-G3/software/externals/smooth/lib/smooth/include/smooth/core/network/ServerSocket.h:137:(.text._ZN6smooth4core7network12ServerSocketINS_11application7network4http16HTTPServerClientENS5_12HTTPProtocolENS5_7regular15IRequestHandlerEE14accept_requestERNS1_14ISocketBackOffE[smooth::core::network::ServerSocket<smooth::application::network::http::HTTPServerClient, smooth::application::network::http::HTTPProtocol, smooth::application::network::http::regular::IRequestHandler>::accept_request(smooth::core::network::ISocketBackOff&)]+0x6a): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.literal._ZN6smooth4core7network12ServerSocketINS_11application7network4http16HTTPServerClientENS5_12HTTPProtocolENS5_7regular15IRequestHandlerEE14accept_requestERNS1_14ISocketBackOffE+0x18)
/home/permal/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/permal/electronics/IO-Card-G3/software/externals/smooth/lib/smooth/include/smooth/core/network/ServerSocket.h:137:(.text._ZN6smooth4core7network12ServerSocketINS_11application7network4http16HTTPServerClientENS5_12HTTPProtocolENS5_7regular15IRequestHandlerEE14accept_requestERNS1_14ISocketBackOffE[smooth::core::network::ServerSocket<smooth::application::network::http::HTTPServerClient, smooth::application::network::http::HTTPProtocol, smooth::application::network::http::regular::IRequestHandler>::accept_request(smooth::core::network::ISocketBackOff&)]+0x73): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.literal._ZN6smooth4core7network12ServerSocketINS_11application7network4http16HTTPServerClientENS5_12HTTPProtocolENS5_7regular15IRequestHandlerEE14accept_requestERNS1_14ISocketBackOffE+0x4)
/home/permal/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/permal/electronics/IO-Card-G3/software/externals/smooth/lib/smooth/include/smooth/core/network/ServerSocket.h:137:(.text._ZN6smooth4core7network12ServerSocketINS_11application7network4http16HTTPServerClientENS5_12HTTPProtocolENS5_7regular15IRequestHandlerEE14accept_requestERNS1_14ISocketBackOffE[smooth::core::network::ServerSocket<smooth::application::network::http::HTTPServerClient, smooth::application::network::http::HTTPProtocol, smooth::application::network::http::regular::IRequestHandler>::accept_request(smooth::core::network::ISocketBackOff&)]+0x85): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.literal._ZN6smooth4core7network12ServerSocketINS_11application7network4http16HTTPServerClientENS5_12HTTPProtocolENS5_7regular15IRequestHandlerEE14accept_requestERNS1_14ISocketBackOffE+0x8)
/home/permal/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/permal/electronics/IO-Card-G3/software/externals/smooth/lib/smooth/include/smooth/core/network/ServerSocket.h:137:(.text._ZN6smooth4core7network12ServerSocketINS_11application7network4http16HTTPServerClientENS5_12HTTPProtocolENS5_7regular15IRequestHandlerEE14accept_requestERNS1_14ISocketBackOffE[smooth::core::network::ServerSocket<smooth::application::network::http::HTTPServerClient, smooth::application::network::http::HTTPProtocol, smooth::application::network::http::regular::IRequestHandler>::accept_request(smooth::core::network::ISocketBackOff&)]+0x9f): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.literal._ZN6smooth4core7network12ServerSocketINS_11application7network4http16HTTPServerClientENS5_12HTTPProtocolENS5_7regular15IRequestHandlerEE14accept_requestERNS1_14ISocketBackOffE+0x1c)
/home/permal/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/permal/electronics/IO-Card-G3/software/externals/smooth/lib/smooth/include/smooth/core/network/ServerSocket.h:137:(.text._ZN6smooth4core7network12ServerSocketINS_11application7network4http16HTTPServerClientENS5_12HTTPProtocolENS5_7regular15IRequestHandlerEE14accept_requestERNS1_14ISocketBackOffE[smooth::core::network::ServerSocket<smooth::application::network::http::HTTPServerClient, smooth::application::network::http::HTTPProtocol, smooth::application::network::http::regular::IRequestHandler>::accept_request(smooth::core::network::ISocketBackOff&)]+0xc2): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.literal._ZN6smooth4core7network12ServerSocketINS_11application7network4http16HTTPServerClientENS5_12HTTPProtocolENS5_7regular15IRequestHandlerEE14accept_requestERNS1_14ISocketBackOffE+0x20)
/home/permal/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/permal/electronics/IO-Card-G3/software/externals/smooth/lib/smooth/include/smooth/core/network/ServerSocket.h:138:(.text._ZN6smooth4core7network12ServerSocketINS_11application7network4http16HTTPServerClientENS5_12HTTPProtocolENS5_7regular15IRequestHandlerEE14accept_requestERNS1_14ISocketBackOffE[smooth::core::network::ServerSocket<smooth::application::network::http::HTTPServerClient, smooth::application::network::http::HTTPProtocol, smooth::application::network::http::regular::IRequestHandler>::accept_request(smooth::core::network::ISocketBackOff&)]+0xd6): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.literal._ZN6smooth4core7network12ServerSocketINS_11application7network4http16HTTPServerClientENS5_12HTTPProtocolENS5_7regular15IRequestHandlerEE14accept_requestERNS1_14ISocketBackOffE+0xc)
/home/permal/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/permal/electronics/IO-Card-G3/software/externals/smooth/lib/smooth/include/smooth/core/network/ServerSocket.h:148:(.text._ZN6smooth4core7network12ServerSocketINS_11application7network4http16HTTPServerClientENS5_12HTTPProtocolENS5_7regular15IRequestHandlerEE14accept_requestERNS1_14ISocketBackOffE[smooth::core::network::ServerSocket<smooth::application::network::http::HTTPServerClient, smooth::application::network::http::HTTPProtocol, smooth::application::network::http::regular::IRequestHandler>::accept_request(smooth::core::network::ISocketBackOff&)]+0x143): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.literal._ZN6smooth4core7network12ServerSocketINS_11application7network4http16HTTPServerClientENS5_12HTTPProtocolENS5_7regular15IRequestHandlerEE14accept_requestERNS1_14ISocketBackOffE+0x24)
/home/permal/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/permal/electronics/IO-Card-G3/software/externals/smooth/lib/smooth/include/smooth/core/network/ServerSocket.h:148:(.text._ZN6smooth4core7network12ServerSocketINS_11application7network4http16HTTPServerClientENS5_12HTTPProtocolENS5_7regular15IRequestHandlerEE14accept_requestERNS1_14ISocketBackOffE[smooth::core::network::ServerSocket<smooth::application::network::http::HTTPServerClient, smooth::application::network::http::HTTPProtocol, smooth::application::network::http::regular::IRequestHandler>::accept_request(smooth::core::network::ISocketBackOff&)]+0x14c): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.literal._ZN6smooth4core7network12ServerSocketINS_11application7network4http16HTTPServerClientENS5_12HTTPProtocolENS5_7regular15IRequestHandlerEE14accept_requestERNS1_14ISocketBackOffE+0x10)
/home/permal/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/permal/electronics/IO-Card-G3/software/externals/smooth/lib/smooth/include/smooth/core/network/ServerSocket.h:148:(.text._ZN6smooth4core7network12ServerSocketINS_11application7network4http16HTTPServerClientENS5_12HTTPProtocolENS5_7regular15IRequestHandlerEE14accept_requestERNS1_14ISocketBackOffE[smooth::core::network::ServerSocket<smooth::application::network::http::HTTPServerClient, smooth::application::network::http::HTTPProtocol, smooth::application::network::http::regular::IRequestHandler>::accept_request(smooth::core::network::ISocketBackOff&)]+0x166): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.literal._ZN6smooth4core7network12ServerSocketINS_11application7network4http16HTTPServerClientENS5_12HTTPProtocolENS5_7regular15IRequestHandlerEE14accept_requestERNS1_14ISocketBackOffE+0x28)
/home/permal/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/permal/electronics/IO-Card-G3/software/externals/smooth/lib/smooth/include/smooth/core/network/ServerSocket.h:149:(.text._ZN6smooth4core7network12ServerSocketINS_11application7network4http16HTTPServerClientENS5_12HTTPProtocolENS5_7regular15IRequestHandlerEE14accept_requestERNS1_14ISocketBackOffE[smooth::core::network::ServerSocket<smooth::application::network::http::HTTPServerClient, smooth::application::network::http::HTTPProtocol, smooth::application::network::http::regular::IRequestHandler>::accept_request(smooth::core::network::ISocketBackOff&)]+0x16c): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.literal._ZN6smooth4core7network12ServerSocketINS_11application7network4http16HTTPServerClientENS5_12HTTPProtocolENS5_7regular15IRequestHandlerEE14accept_requestERNS1_14ISocketBackOffE+0x2c)
/home/permal/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/permal/electronics/IO-Card-G3/software/externals/smooth/lib/smooth/include/smooth/core/network/ServerSocket.h:149:(.text._ZN6smooth4core7network12ServerSocketINS_11application7network4http16HTTPServerClientENS5_12HTTPProtocolENS5_7regular15IRequestHandlerEE14accept_requestERNS1_14ISocketBackOffE[smooth::core::network::ServerSocket<smooth::application::network::http::HTTPServerClient, smooth::application::network::http::HTTPProtocol, smooth::application::network::http::regular::IRequestHandler>::accept_request(smooth::core::network::ISocketBackOff&)]+0x178): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.literal._ZN6smooth4core7network12ServerSocketINS_11application7network4http16HTTPServerClientENS5_12HTTPProtocolENS5_7regular15IRequestHandlerEE14accept_requestERNS1_14ISocketBackOffE+0x30)
/home/permal/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/permal/electronics/IO-Card-G3/software/externals/smooth/lib/smooth/include/smooth/core/network/ServerSocket.h:150:(.text._ZN6smooth4core7network12ServerSocketINS_11application7network4http16HTTPServerClientENS5_12HTTPProtocolENS5_7regular15IRequestHandlerEE14accept_requestERNS1_14ISocketBackOffE[smooth::core::network::ServerSocket<smooth::application::network::http::HTTPServerClient, smooth::application::network::http::HTTPProtocol, smooth::application::network::http::regular::IRequestHandler>::accept_request(smooth::core::network::ISocketBackOff&)]+0x1a6): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.literal._ZN6smooth4core7network12ServerSocketINS_11application7network4http16HTTPServerClientENS5_12HTTPProtocolENS5_7regular15IRequestHandlerEE14accept_requestERNS1_14ISocketBackOffE+0x34)
/home/permal/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/permal/electronics/IO-Card-G3/software/externals/smooth/lib/smooth/include/smooth/core/network/ServerSocket.h:172:(.text._ZN6smooth4core7network12ServerSocketINS_11application7network4http16HTTPServerClientENS5_12HTTPProtocolENS5_7regular15IRequestHandlerEE14accept_requestERNS1_14ISocketBackOffE[smooth::core::network::ServerSocket<smooth::application::network::http::HTTPServerClient, smooth::application::network::http::HTTPProtocol, smooth::application::network::http::regular::IRequestHandler>::accept_request(smooth::core::network::ISocketBackOff&)]+0x256): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.literal._ZN6smooth4core7network12ServerSocketINS_11application7network4http16HTTPServerClientENS5_12HTTPProtocolENS5_7regular15IRequestHandlerEE14accept_requestERNS1_14ISocketBackOffE+0x38)
/home/permal/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/permal/electronics/IO-Card-G3/software/externals/smooth/lib/smooth/include/smooth/core/network/ServerSocket.h:172:(.text._ZN6smooth4core7network12ServerSocketINS_11application7network4http16HTTPServerClientENS5_12HTTPProtocolENS5_7regular15IRequestHandlerEE14accept_requestERNS1_14ISocketBackOffE[smooth::core::network::ServerSocket<smooth::application::network::http::HTTPServerClient, smooth::application::network::http::HTTPProtocol, smooth::application::network::http::regular::IRequestHandler>::accept_request(smooth::core::network::ISocketBackOff&)]+0x25f): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.literal._ZN6smooth4core7network12ServerSocketINS_11application7network4http16HTTPServerClientENS5_12HTTPProtocolENS5_7regular15IRequestHandlerEE14accept_requestERNS1_14ISocketBackOffE+0x4)
/home/permal/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/permal/electronics/IO-Card-G3/software/externals/smooth/lib/smooth/include/smooth/core/network/ServerSocket.h:172:(.text._ZN6smooth4core7network12ServerSocketINS_11application7network4http16HTTPServerClientENS5_12HTTPProtocolENS5_7regular15IRequestHandlerEE14accept_requestERNS1_14ISocketBackOffE[smooth::core::network::ServerSocket<smooth::application::network::http::HTTPServerClient, smooth::application::network::http::HTTPProtocol, smooth::application::network::http::regular::IRequestHandler>::accept_request(smooth::core::network::ISocketBackOff&)]+0x271): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.literal._ZN6smooth4core7network12ServerSocketINS_11application7network4http16HTTPServerClientENS5_12HTTPProtocolENS5_7regular15IRequestHandlerEE14accept_requestERNS1_14ISocketBackOffE+0x14)
/home/permal/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/permal/electronics/IO-Card-G3/software/externals/smooth/lib/smooth/include/smooth/core/network/ServerSocket.h:172:(.text._ZN6smooth4core7network12ServerSocketINS_11application7network4http16HTTPServerClientENS5_12HTTPProtocolENS5_7regular15IRequestHandlerEE14accept_requestERNS1_14ISocketBackOffE[smooth::core::network::ServerSocket<smooth::application::network::http::HTTPServerClient, smooth::application::network::http::HTTPProtocol, smooth::application::network::http::regular::IRequestHandler>::accept_request(smooth::core::network::ISocketBackOff&)]+0x28b): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.literal._ZN6smooth4core7network12ServerSocketINS_11application7network4http16HTTPServerClientENS5_12HTTPProtocolENS5_7regular15IRequestHandlerEE14accept_requestERNS1_14ISocketBackOffE+0x3c)
/home/permal/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/permal/electronics/IO-Card-G3/software/externals/smooth/lib/smooth/include/smooth/core/network/ServerSocket.h:172:(.text._ZN6smooth4core7network12ServerSocketINS_11application7network4http16HTTPServerClientENS5_12HTTPProtocolENS5_7regular15IRequestHandlerEE14accept_requestERNS1_14ISocketBackOffE[smooth::core::network::ServerSocket<smooth::application::network::http::HTTPServerClient, smooth::application::network::http::HTTPProtocol, smooth::application::network::http::regular::IRequestHandler>::accept_request(smooth::core::network::ISocketBackOff&)]+0x2ae): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.literal._ZN6smooth4core7network12ServerSocketINS_11application7network4http16HTTPServerClientENS5_12HTTPProtocolENS5_7regular15IRequestHandlerEE14accept_requestERNS1_14ISocketBackOffE+0x40)
/home/permal/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/permal/electronics/IO-Card-G3/software/externals/smooth/lib/smooth/include/smooth/core/network/ServerSocket.h:177:(.text._ZN6smooth4core7network12ServerSocketINS_11application7network4http16HTTPServerClientENS5_12HTTPProtocolENS5_7regular15IRequestHandlerEE14accept_requestERNS1_14ISocketBackOffE[smooth::core::network::ServerSocket<smooth::application::network::http::HTTPServerClient, smooth::application::network::http::HTTPProtocol, smooth::application::network::http::regular::IRequestHandler>::accept_request(smooth::core::network::ISocketBackOff&)]+0x303): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.literal._ZN6smooth4core7network12ServerSocketINS_11application7network4http16HTTPServerClientENS5_12HTTPProtocolENS5_7regular15IRequestHandlerEE14accept_requestERNS1_14ISocketBackOffE+0x44)
/home/permal/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/permal/electronics/IO-Card-G3/software/externals/smooth/lib/smooth/include/smooth/core/network/ServerSocket.h:137:(.text._ZN6smooth4core7network12ServerSocketINS_11application7network4http16HTTPServerClientENS5_12HTTPProtocolENS5_7regular15IRequestHandlerEE14accept_requestERNS1_14ISocketBackOffE[smooth::core::network::ServerSocket<smooth::application::network::http::HTTPServerClient, smooth::application::network::http::HTTPProtocol, smooth::application::network::http::regular::IRequestHandler>::accept_request(smooth::core::network::ISocketBackOff&)]+0x32e): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.literal._ZN6smooth4core7network12ServerSocketINS_11application7network4http16HTTPServerClientENS5_12HTTPProtocolENS5_7regular15IRequestHandlerEE14accept_requestERNS1_14ISocketBackOffE+0x48)
/home/permal/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/permal/electronics/IO-Card-G3/software/externals/smooth/lib/smooth/include/smooth/core/network/ServerSocket.h:137:(.text._ZN6smooth4core7network12ServerSocketINS_11application7network4http16HTTPServerClientENS5_12HTTPProtocolENS5_7regular15IRequestHandlerEE14accept_requestERNS1_14ISocketBackOffE[smooth::core::network::ServerSocket<smooth::application::network::http::HTTPServerClient, smooth::application::network::http::HTTPProtocol, smooth::application::network::http::regular::IRequestHandler>::accept_request(smooth::core::network::ISocketBackOff&)]+0x33e): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.literal._ZN6smooth4core7network12ServerSocketINS_11application7network4http16HTTPServerClientENS5_12HTTPProtocolENS5_7regular15IRequestHandlerEE14accept_requestERNS1_14ISocketBackOffE+0x4c)
/home/permal/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/permal/electronics/IO-Card-G3/software/externals/smooth/lib/smooth/include/smooth/core/network/ServerSocket.h:172:(.text._ZN6smooth4core7network12ServerSocketINS_11application7network4http16HTTPServerClientENS5_12HTTPProtocolENS5_7regular15IRequestHandlerEE14accept_requestERNS1_14ISocketBackOffE[smooth::core::network::ServerSocket<smooth::application::network::http::HTTPServerClient, smooth::application::network::http::HTTPProtocol, smooth::application::network::http::regular::IRequestHandler>::accept_request(smooth::core::network::ISocketBackOff&)]+0x37a): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.literal._ZN6smooth4core7network12ServerSocketINS_11application7network4http16HTTPServerClientENS5_12HTTPProtocolENS5_7regular15IRequestHandlerEE14accept_requestERNS1_14ISocketBackOffE+0x50)
/home/permal/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/permal/electronics/IO-Card-G3/software/externals/smooth/lib/smooth/include/smooth/core/network/ServerSocket.h:154:(.text._ZN6smooth4core7network12ServerSocketINS_11application7network4http16HTTPServerClientENS5_12HTTPProtocolENS5_7regular15IRequestHandlerEE14accept_requestERNS1_14ISocketBackOffE[smooth::core::network::ServerSocket<smooth::application::network::http::HTTPServerClient, smooth::application::network::http::HTTPProtocol, smooth::application::network::http::regular::IRequestHandler>::accept_request(smooth::core::network::ISocketBackOff&)]+0x39e): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.literal._ZN6smooth4core7network12ServerSocketINS_11application7network4http16HTTPServerClientENS5_12HTTPProtocolENS5_7regular15IRequestHandlerEE14accept_requestERNS1_14ISocketBackOffE+0x54)
/home/permal/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: CMakeFiles/g3.dir/App.cpp.obj: in function `smooth::core::network::Socket<smooth::application::network::http::HTTPProtocol, smooth::application::network::http::HTTPPacket>::internal_start()':
/home/permal/electronics/IO-Card-G3/software/externals/smooth/lib/smooth/include/smooth/core/network/Socket.h:416:(.text._ZN6smooth4core7network6SocketINS_11application7network4http12HTTPProtocolENS5_10HTTPPacketEE14internal_startEv[smooth::core::network::Socket<smooth::application::network::http::HTTPProtocol, smooth::application::network::http::HTTPPacket>::internal_start()]+0x55): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.literal._ZN6smooth4core7network6SocketINS_11application7network4http12HTTPProtocolENS5_10HTTPPacketEE14internal_startEv+0x4)
/home/permal/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/permal/electronics/IO-Card-G3/software/externals/smooth/lib/smooth/include/smooth/core/network/Socket.h:418:(.text._ZN6smooth4core7network6SocketINS_11application7network4http12HTTPProtocolENS5_10HTTPPacketEE14internal_startEv[smooth::core::network::Socket<smooth::application::network::http::HTTPProtocol, smooth::application::network::http::HTTPPacket>::internal_start()]+0xb4): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.literal._ZN6smooth4core7network6SocketINS_11application7network4http12HTTPProtocolENS5_10HTTPPacketEE14internal_startEv+0x10)
/home/permal/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/permal/electronics/IO-Card-G3/software/externals/smooth/lib/smooth/include/smooth/core/network/Socket.h:420:(.text._ZN6smooth4core7network6SocketINS_11application7network4http12HTTPProtocolENS5_10HTTPPacketEE14internal_startEv[smooth::core::network::Socket<smooth::application::network::http::HTTPProtocol, smooth::application::network::http::HTTPPacket>::internal_start()]+0xdd): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.literal._ZN6smooth4core7network6SocketINS_11application7network4http12HTTPProtocolENS5_10HTTPPacketEE14internal_startEv+0x8)
/home/permal/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/permal/electronics/IO-Card-G3/software/externals/smooth/lib/smooth/include/smooth/core/network/Socket.h:428:(.text._ZN6smooth4core7network6SocketINS_11application7network4http12HTTPProtocolENS5_10HTTPPacketEE14internal_startEv[smooth::core::network::Socket<smooth::application::network::http::HTTPProtocol, smooth::application::network::http::HTTPPacket>::internal_start()]+0x102): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.literal._ZN6smooth4core7network6SocketINS_11application7network4http12HTTPProtocolENS5_10HTTPPacketEE14internal_startEv+0xc)
collect2: error: ld returned 1 exit status
make[3]: *** [main/CMakeFiles/g3.dir/build.make:509: g3] Error 1
make[2]: *** [CMakeFiles/Makefile2:5195: main/CMakeFiles/g3.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:5207: main/CMakeFiles/g3.dir/rule] Error 2
make: *** [Makefile:1750: g3] Error 2