Date: Fri, 20 Jan 2023 17:55:16 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 266866] net-p2p/amule-2.3.3_4: executable amuled segfaults immediately after launch Message-ID: <bug-266866-7788-WJcGA81u6K@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-266866-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-266866-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266866 --- 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[_ZTVN8Crypto= PP10FileSourceE]+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[_ZTVN8Crypto= PP10FileSourceE]+0x130): undefined reference to `CryptoPP::Filter::CopyRangeTo2(CryptoPP::BufferedTransformation&, unsigned long&, unsigned long, std::__cxx11::basic_string<char, std::char_traits<cha= r>, std::allocator<char> > const&, bool) const' /usr/local/bin/ld: amule-ClientCreditsList.o:(.rodata._ZTVN8CryptoPP10FileSourceE[_ZTVN8Crypto= PP10FileSourceE]+0x138): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__cxx11::basi= c_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long&)' /usr/local/bin/ld: amule-ClientCreditsList.o:(.rodata._ZTVN8CryptoPP10FileSourceE[_ZTVN8Crypto= PP10FileSourceE]+0x148): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__cxx11::basi= c_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned char*, unsi= gned long, int, bool)' /usr/local/bin/ld: amule-ClientCreditsList.o:(.rodata._ZTVN8CryptoPP10FileSourceE[_ZTVN8Crypto= PP10FileSourceE]+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[_ZTVN8Crypto= PP10FileSourceE]+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_9FileS= toreEEE[_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_9FileS= toreEEE[_ZTVN8CryptoPP14SourceTemplateINS_9FileStoreEEE]+0x130): undefined reference to `CryptoPP::Filter::CopyRangeTo2(CryptoPP::BufferedTransformation&, unsigned long&, unsigned long, std::__cxx11::basic_string<char, std::char_traits<cha= r>, std::allocator<char> > const&, bool) const' /usr/local/bin/ld: amule-ClientCreditsList.o:(.rodata._ZTVN8CryptoPP14SourceTemplateINS_9FileS= toreEEE[_ZTVN8CryptoPP14SourceTemplateINS_9FileStoreEEE]+0x138): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__cxx11::basi= c_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long&)' /usr/local/bin/ld: amule-ClientCreditsList.o:(.rodata._ZTVN8CryptoPP14SourceTemplateINS_9FileS= toreEEE[_ZTVN8CryptoPP14SourceTemplateINS_9FileStoreEEE]+0x148): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__cxx11::basi= c_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned char*, unsi= gned long, int, bool)' /usr/local/bin/ld: amule-ClientCreditsList.o:(.rodata._ZTVN8CryptoPP14SourceTemplateINS_9FileS= toreEEE[_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_9FileS= toreEEE[_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[_ZTVN8Cryp= toPP12StringSourceE]+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[_ZTVN8Cryp= toPP12StringSourceE]+0x130): undefined reference to `CryptoPP::Filter::CopyRangeTo2(CryptoPP::BufferedTransformation&, unsigned long&, unsigned long, std::__cxx11::basic_string<char, std::char_traits<cha= r>, std::allocator<char> > const&, bool) const' /usr/local/bin/ld: amule-ClientCreditsList.o:(.rodata._ZTVN8CryptoPP12StringSourceE[_ZTVN8Cryp= toPP12StringSourceE]+0x138): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__cxx11::basi= c_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long&)' /usr/local/bin/ld: amule-ClientCreditsList.o:(.rodata._ZTVN8CryptoPP12StringSourceE[_ZTVN8Cryp= toPP12StringSourceE]+0x148): undefined reference to `CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::__cxx11::basi= c_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned char*, unsi= gned long, int, bool)' /usr/local/bin/ld: amule-ClientCreditsList.o:(.rodata._ZTVN8CryptoPP12StringSourceE[_ZTVN8Cryp= toPP12StringSourceE]+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[_ZTVN8Cryp= toPP12StringSourceE]+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_11Stri= ngStoreEEE[_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_11Stri= ngStoreEEE[_ZTVN8CryptoPP14SourceTemplateINS_11StringStoreEEE]+0x130): undefined reference to `CryptoPP::Filter::CopyRangeTo2(CryptoPP::BufferedTransformation&, unsigned long&, unsigned long, std::__cxx11::basic_string<char, std::char_traits<cha= r>, std::allocator<char> > const&, bool) const' /usr/local/bin/ld: amule-ClientCreditsList.o:(.rodata._ZTVN8CryptoPP14SourceTemplateINS_11Stri= ngStoreEEE[_ZTVN8CryptoPP14SourceTemplateINS_11StringStoreEEE]+0x138): undefined reference to `CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::__cxx11::basi= c_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long&)' It seems it doesn't like the crypto library... --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-266866-7788-WJcGA81u6K>