Date: Mon, 01 Mar 2021 18:15:48 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 253942] clang -gz=zlib does not pass --compress-debug-sections to linker Message-ID: <bug-253942-227-ppHMDZnZR5@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-253942-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253942 --- Comment #1 from Ed Maste <emaste@freebsd.org> --- It appears that clang 11 in the base system has this issue on Linux and FreeBSD. Testing upstream I see that the flag is passed to the linker for --target=x86_64-unknown-linux-gnu but not for --target=x86_64-unknown-freebsd. Compare upstream clang/lib/Driver/ToolChains/Gnu.cpp clang/lib/Driver/ToolChains/FreeBSD.cpp freebsd::Linker::ConstructJob() needs to have added AddLinkerInputs(ToolChain, Inputs, Args, CmdArgs, JA); -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253942-227-ppHMDZnZR5>
