[Bug 266866] net-p2p/amule-2.3.3_4: executable amuled segfaults immediately after launch
Date: Fri, 20 Jan 2023 17:55:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266866 --- Comment #8 from Luciano Mannucci <luciano@vespaperitivo.it> --- recompiled from port, it gives the very same result using default compiler (clang). By compiling with g++, the linker gives me a lot of errors on undefined references in CryptoPP objects. Here are some of them: /usr/local/bin/ld: amule-ClientCreditsList.o:(.rodata._ZTVN8CryptoPP10FileSourceE[_ZTVN8CryptoPP10FileSourceE]+0x128): undefined reference to `CryptoPP::Filter::TransferTo2(CryptoPP::BufferedTransformation&, unsigned long&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)' /usr/local/bin/ld: amule-ClientCreditsList.o:(.rodata._ZTVN8CryptoPP10FileSourceE[_ZTVN8CryptoPP10FileSourceE]+0x130): undefined reference to `CryptoPP::Filter::CopyRangeTo2(CryptoPP::BufferedTransformation&, unsigned long&, unsigned long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) const' /usr/local/bin/ld: amule-ClientCreditsList.o:(.rodata._ZTVN8CryptoPP10FileSourceE[_ZTVN8CryptoPP10FileSourceE]+0x138): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long&)' /usr/local/bin/ld: amule-ClientCreditsList.o:(.rodata._ZTVN8CryptoPP10FileSourceE[_ZTVN8CryptoPP10FileSourceE]+0x148): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned char*, unsigned long, int, bool)' /usr/local/bin/ld: amule-ClientCreditsList.o:(.rodata._ZTVN8CryptoPP10FileSourceE[_ZTVN8CryptoPP10FileSourceE]+0x150): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, int, bool)' /usr/local/bin/ld: amule-ClientCreditsList.o:(.rodata._ZTVN8CryptoPP10FileSourceE[_ZTVN8CryptoPP10FileSourceE]+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /usr/local/bin/ld: amule-ClientCreditsList.o:(.rodata._ZTVN8CryptoPP14SourceTemplateINS_9FileStoreEEE[_ZTVN8CryptoPP14SourceTemplateINS_9FileStoreEEE]+0x128): undefined reference to `CryptoPP::Filter::TransferTo2(CryptoPP::BufferedTransformation&, unsigned long&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)' /usr/local/bin/ld: amule-ClientCreditsList.o:(.rodata._ZTVN8CryptoPP14SourceTemplateINS_9FileStoreEEE[_ZTVN8CryptoPP14SourceTemplateINS_9FileStoreEEE]+0x130): undefined reference to `CryptoPP::Filter::CopyRangeTo2(CryptoPP::BufferedTransformation&, unsigned long&, unsigned long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) const' /usr/local/bin/ld: amule-ClientCreditsList.o:(.rodata._ZTVN8CryptoPP14SourceTemplateINS_9FileStoreEEE[_ZTVN8CryptoPP14SourceTemplateINS_9FileStoreEEE]+0x138): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long&)' /usr/local/bin/ld: amule-ClientCreditsList.o:(.rodata._ZTVN8CryptoPP14SourceTemplateINS_9FileStoreEEE[_ZTVN8CryptoPP14SourceTemplateINS_9FileStoreEEE]+0x148): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned char*, unsigned long, int, bool)' /usr/local/bin/ld: amule-ClientCreditsList.o:(.rodata._ZTVN8CryptoPP14SourceTemplateINS_9FileStoreEEE[_ZTVN8CryptoPP14SourceTemplateINS_9FileStoreEEE]+0x150): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, int, bool)' /usr/local/bin/ld: amule-ClientCreditsList.o:(.rodata._ZTVN8CryptoPP14SourceTemplateINS_9FileStoreEEE[_ZTVN8CryptoPP14SourceTemplateINS_9FileStoreEEE]+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /usr/local/bin/ld: amule-ClientCreditsList.o:(.rodata._ZTVN8CryptoPP12StringSourceE[_ZTVN8CryptoPP12StringSourceE]+0x128): undefined reference to `CryptoPP::Filter::TransferTo2(CryptoPP::BufferedTransformation&, unsigned long&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)' /usr/local/bin/ld: amule-ClientCreditsList.o:(.rodata._ZTVN8CryptoPP12StringSourceE[_ZTVN8CryptoPP12StringSourceE]+0x130): undefined reference to `CryptoPP::Filter::CopyRangeTo2(CryptoPP::BufferedTransformation&, unsigned long&, unsigned long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) const' /usr/local/bin/ld: amule-ClientCreditsList.o:(.rodata._ZTVN8CryptoPP12StringSourceE[_ZTVN8CryptoPP12StringSourceE]+0x138): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long&)' /usr/local/bin/ld: amule-ClientCreditsList.o:(.rodata._ZTVN8CryptoPP12StringSourceE[_ZTVN8CryptoPP12StringSourceE]+0x148): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned char*, unsigned long, int, bool)' /usr/local/bin/ld: amule-ClientCreditsList.o:(.rodata._ZTVN8CryptoPP12StringSourceE[_ZTVN8CryptoPP12StringSourceE]+0x150): undefined reference to `CryptoPP::BufferedTransformation::ChannelFlush(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, int, bool)' /usr/local/bin/ld: amule-ClientCreditsList.o:(.rodata._ZTVN8CryptoPP12StringSourceE[_ZTVN8CryptoPP12StringSourceE]+0x160): undefined reference to `CryptoPP::BufferedTransformation::SetRetrievalChannel(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /usr/local/bin/ld: amule-ClientCreditsList.o:(.rodata._ZTVN8CryptoPP14SourceTemplateINS_11StringStoreEEE[_ZTVN8CryptoPP14SourceTemplateINS_11StringStoreEEE]+0x128): undefined reference to `CryptoPP::Filter::TransferTo2(CryptoPP::BufferedTransformation&, unsigned long&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)' /usr/local/bin/ld: amule-ClientCreditsList.o:(.rodata._ZTVN8CryptoPP14SourceTemplateINS_11StringStoreEEE[_ZTVN8CryptoPP14SourceTemplateINS_11StringStoreEEE]+0x130): undefined reference to `CryptoPP::Filter::CopyRangeTo2(CryptoPP::BufferedTransformation&, unsigned long&, unsigned long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) const' /usr/local/bin/ld: amule-ClientCreditsList.o:(.rodata._ZTVN8CryptoPP14SourceTemplateINS_11StringStoreEEE[_ZTVN8CryptoPP14SourceTemplateINS_11StringStoreEEE]+0x138): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long&)' It seems it doesn't like the crypto library... -- You are receiving this mail because: You are the assignee for the bug.