[Bug 246244] ld.lld in LLVM10 cannot recognize zlib in "compress-debug-sections"
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed May 6 03:40:20 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246244
Bug ID: 246244
Summary: ld.lld in LLVM10 cannot recognize zlib in
"compress-debug-sections"
Product: Base System
Version: 12.1-STABLE
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: bin
Assignee: bugs at FreeBSD.org
Reporter: hyama99 at gmail.com
I encountered this problem when I tried to build Redmine 4.1.1 on FreeBSD 12.1
STABLE. ld.lld in LLVM10 cannot recognize zlib but ld.lld in LLVM8 can
recognize it as follows:
# ld.lld --compress-debug-sections=zlib
ld.lld: error: --compress-debug-sections: zlib is not available
My environment is as follows:
% ld.lld -version
LLD 10.0.0 (FreeBSD llvmorg-10.0.0-0-gd32170dbd5b-1200011) (compatible with GNU
linkers)
% uname -aK
FreeBSD XXXXXX 12.1-STABLE FreeBSD 12.1-STABLE r360560 GENERIC amd64 1201515
ld.lld in LLVM8 is no problem.
% /usr/local/llvm80/bin/ld.lld --compress-debug-sections=zlib
ld.lld: error: no input files
Variable 'none' is recognized in LLVM10.
% /usr/local/llvm80/bin/ld.lld --compress-debug-sections=zlib
ld.lld: error: no input files
In order to escape this problem, I temporally make a symbolic link from
/usr/local/llvm80/bin/ld.lld to /usr/bin/ld.
Hideki Yamamoto
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list