[llvm-bugs] [Bug 27006] New: clang 3.8/3.7 does not link with crypto++ ( CryptoPP::DEFAULT_CHANNEL )
via llvm-bugs
llvm-bugs at lists.llvm.org
Sun Mar 20 13:52:58 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=27006
Bug ID: 27006
Summary: clang 3.8/3.7 does not link with crypto++ (
CryptoPP::DEFAULT_CHANNEL )
Product: tools
Version: 3.8
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: llvm-g++
Assignee: unassignedbugs at nondot.org
Reporter: mendola at gmail.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
The following snippet:
#include <cryptopp/hex.h>
int main() {
CryptoPP::HexDecoder myHexDecoder;
}
does not link with clang++-3.8/clang++3.7 while it links just fine with
gcc5.3.1
$ apt-show-versions libcrypto++-dev
libcrypto++-dev:amd64/xenial 5.6.1-9 uptodate
The error:
$ clang++-3.8 main.cpp -lcrypto++
/tmp/main-1ac893.o: In function
`CryptoPP::Unflushable<CryptoPP::Filter>::Flush(bool, int, bool)':
main.cpp:(.text._ZN8CryptoPP11UnflushableINS_6FilterEE5FlushEbib[_ZN8CryptoPP11UnflushableINS_6FilterEE5FlushEbib]+0xf):
undefined reference to `CryptoPP::DEFAULT_CHANNEL'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160320/d3537e5e/attachment.html>
More information about the llvm-bugs
mailing list