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/> References: <bug-253942-227@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=3D253942 --- 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=3Dx86_64-unknown-linux-gnu but not for --target=3Dx86_64-unknown-f= reebsd. 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); --=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-253942-227-ppHMDZnZR5>