[llvm-bugs] [Bug 48946] New: skipping incompatible /usr/lib/x86_64-linux-gnu/libcrypt.so when searching for -lcrypt
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Jan 29 11:07:52 PST 2021
https://bugs.llvm.org/show_bug.cgi?id=48946
Bug ID: 48946
Summary: skipping incompatible
/usr/lib/x86_64-linux-gnu/libcrypt.so when searching
for -lcrypt
Product: new-bugs
Version: 11.0
Hardware: PC
OS: Linux
Status: NEW
Severity: release blocker
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: nnelson at infowest.com
CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org
Obtain these errors on the 12.0.0-rc1 release run.
I looked around on https://packages.ubuntu.com/ for a different libcrypt or
location and did not find any.
https://packages.ubuntu.com/search?searchon=contents&keywords=libcrypt&mode=filename&suite=groovy&arch=any
locate libcrypt
/usr/lib/x86_64-linux-gnu/libcrypt.a
/usr/lib/x86_64-linux-gnu/libcrypt.so
/usr/lib/x86_64-linux-gnu/libcrypt.so.1
/usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0
FAIL: SanitizerCommon-asan-i386-Linux :: Linux/crypt_r.cpp (78329 of 87856)
******************** TEST 'SanitizerCommon-asan-i386-Linux ::
Linux/crypt_r.cpp' FAILED ********************
Script:
--
: 'RUN: at line 1';
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/Phase3/Release+Asserts/llvmCore-12.0.0-rc1.obj/./bin/clang
--driver-mode=g++ -gline-tables-only -fsanitize=address -m32 -ldl -O0 -g
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/crypt_r.cpp
-lcrypt -o
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/Phase3/Release+Asserts/llvmCore-12.0.0-rc1.obj/projects/compiler-rt/test/sanitizer_common/asan-i386-Linux/Linux/Output/crypt_r.cpp.tmp
&&
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/Phase3/Release+Asserts/llvmCore-12.0.0-rc1.obj/projects/compiler-rt/test/sanitizer_common/asan-i386-Linux/Linux/Output/crypt_r.cpp.tmp
--
Exit Code: 1
Command Output (stderr):
--
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libcrypt.so when
searching for -lcrypt
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libcrypt.a when
searching for -lcrypt
/usr/bin/ld: cannot find -lcrypt
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libcrypt.so when
searching for -lcrypt
clang-12: error: linker command failed with exit code 1 (use -v to see
invocation)
--
********************
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80..
FAIL: SanitizerCommon-asan-i386-Linux :: Posix/crypt.cpp (78403 of 87856)
******************** TEST 'SanitizerCommon-asan-i386-Linux :: Posix/crypt.cpp'
FAILED ********************
Script:
--
: 'RUN: at line 1';
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/Phase3/Release+Asserts/llvmCore-12.0.0-rc1.obj/./bin/clang
--driver-mode=g++ -gline-tables-only -fsanitize=address -m32 -ldl -O0 -g
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Posix/crypt.cpp
-o
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/Phase3/Release+Asserts/llvmCore-12.0.0-rc1.obj/projects/compiler-rt/test/sanitizer_common/asan-i386-Linux/Posix/Output/crypt.cpp.tmp
-lcrypt &&
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/Phase3/Release+Asserts/llvmCore-12.0.0-rc1.obj/projects/compiler-rt/test/sanitizer_common/asan-i386-Linux/Posix/Output/crypt.cpp.tmp
--
Exit Code: 1
Command Output (stderr):
--
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libcrypt.so when
searching for -lcrypt
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libcrypt.a when
searching for -lcrypt
/usr/bin/ld: cannot find -lcrypt
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libcrypt.so when
searching for -lcrypt
clang-12: error: linker command failed with exit code 1 (use -v to see
invocation)
--
********************
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80..
FAIL: SanitizerCommon-lsan-i386-Linux :: Linux/crypt_r.cpp (78668 of 87856)
******************** TEST 'SanitizerCommon-lsan-i386-Linux ::
Linux/crypt_r.cpp' FAILED ********************
Script:
--
: 'RUN: at line 1';
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/Phase3/Release+Asserts/llvmCore-12.0.0-rc1.obj/./bin/clang
--driver-mode=g++ -gline-tables-only -fsanitize=leak -m32 -ldl -O0 -g
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/crypt_r.cpp
-lcrypt -o
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/Phase3/Release+Asserts/llvmCore-12.0.0-rc1.obj/projects/compiler-rt/test/sanitizer_common/lsan-i386-Linux/Linux/Output/crypt_r.cpp.tmp
&&
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/Phase3/Release+Asserts/llvmCore-12.0.0-rc1.obj/projects/compiler-rt/test/sanitizer_common/lsan-i386-Linux/Linux/Output/crypt_r.cpp.tmp
--
Exit Code: 1
Command Output (stderr):
--
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libcrypt.so when
searching for -lcrypt
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libcrypt.a when
searching for -lcrypt
/usr/bin/ld: cannot find -lcrypt
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libcrypt.so when
searching for -lcrypt
clang-12: error: linker command failed with exit code 1 (use -v to see
invocation)
--
********************
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80..
FAIL: SanitizerCommon-lsan-i386-Linux :: Posix/crypt.cpp (78734 of 87856)
******************** TEST 'SanitizerCommon-lsan-i386-Linux :: Posix/crypt.cpp'
FAILED ********************
Script:
--
: 'RUN: at line 1';
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/Phase3/Release+Asserts/llvmCore-12.0.0-rc1.obj/./bin/clang
--driver-mode=g++ -gline-tables-only -fsanitize=leak -m32 -ldl -O0 -g
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Posix/crypt.cpp
-o
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/Phase3/Release+Asserts/llvmCore-12.0.0-rc1.obj/projects/compiler-rt/test/sanitizer_common/lsan-i386-Linux/Posix/Output/crypt.cpp.tmp
-lcrypt &&
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/Phase3/Release+Asserts/llvmCore-12.0.0-rc1.obj/projects/compiler-rt/test/sanitizer_common/lsan-i386-Linux/Posix/Output/crypt.cpp.tmp
--
Exit Code: 1
Command Output (stderr):
--
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libcrypt.so when
searching for -lcrypt
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libcrypt.a when
searching for -lcrypt
/usr/bin/ld: cannot find -lcrypt
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libcrypt.so when
searching for -lcrypt
clang-12: error: linker command failed with exit code 1 (use -v to see
invocation)
--
********************
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80..
FAIL: SanitizerCommon-ubsan-i386-Linux :: Linux/crypt_r.cpp (79348 of 87856)
******************** TEST 'SanitizerCommon-ubsan-i386-Linux ::
Linux/crypt_r.cpp' FAILED ********************
Script:
--
: 'RUN: at line 1';
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/Phase3/Release+Asserts/llvmCore-12.0.0-rc1.obj/./bin/clang
--driver-mode=g++ -gline-tables-only -fsanitize=undefined -m32 -ldl -O0 -g
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/crypt_r.cpp
-lcrypt -o
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/Phase3/Release+Asserts/llvmCore-12.0.0-rc1.obj/projects/compiler-rt/test/sanitizer_common/ubsan-i386-Linux/Linux/Output/crypt_r.cpp.tmp
&&
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/Phase3/Release+Asserts/llvmCore-12.0.0-rc1.obj/projects/compiler-rt/test/sanitizer_common/ubsan-i386-Linux/Linux/Output/crypt_r.cpp.tmp
--
Exit Code: 1
Command Output (stderr):
--
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libcrypt.so when
searching for -lcrypt
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libcrypt.a when
searching for -lcrypt
/usr/bin/ld: cannot find -lcrypt
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libcrypt.so when
searching for -lcrypt
clang-12: error: linker command failed with exit code 1 (use -v to see
invocation)
--
********************
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80..
FAIL: SanitizerCommon-ubsan-i386-Linux :: Posix/crypt.cpp (79422 of 87856)
******************** TEST 'SanitizerCommon-ubsan-i386-Linux :: Posix/crypt.cpp'
FAILED ********************
Script:
--
: 'RUN: at line 1';
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/Phase3/Release+Asserts/llvmCore-12.0.0-rc1.obj/./bin/clang
--driver-mode=g++ -gline-tables-only -fsanitize=undefined -m32 -ldl -O0 -g
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Posix/crypt.cpp
-o
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/Phase3/Release+Asserts/llvmCore-12.0.0-rc1.obj/projects/compiler-rt/test/sanitizer_common/ubsan-i386-Linux/Posix/Output/crypt.cpp.tmp
-lcrypt &&
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/Phase3/Release+Asserts/llvmCore-12.0.0-rc1.obj/projects/compiler-rt/test/sanitizer_common/ubsan-i386-Linux/Posix/Output/crypt.cpp.tmp
--
Exit Code: 1
Command Output (stderr):
--
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libcrypt.so when
searching for -lcrypt
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libcrypt.a when
searching for -lcrypt
/usr/bin/ld: cannot find -lcrypt
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libcrypt.so when
searching for -lcrypt
clang-12: 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/20210129/0b212a5d/attachment.html>
More information about the llvm-bugs
mailing list