[systemd-devel] [PATCH] build-sys: remove --gc-sections to fix debugging

Peter Wu peter at lekensteyn.nl
Thu Nov 27 07:27:55 PST 2014


On Thursday 27 November 2014 15:42:37 David Herrmann wrote:
> We _really_ depend on --gc-sections. We link a lot of stuff from
> src/shared/ statically into all binaries and expect the linker to drop
> any unused symbols. Note that none of the symbols from src/shared/ are
> exported, so the linker can drop them safely.
> 
> I don't get why we work around linker bugs in systemd? The bug was
> fixed upstream, so make them backport it, if it's a critical bug. If
> they refuse to do so, blacklist the given version. But I dislike
> carrying fixes for other software in systemd-git.

I was under the impression that the gold linker and this option were
optional, especially given the commit message that notes performance
(size) advantages. Fine, drop the patch. I don't care about merging it
as binutils is fixed anyway.
-- 
Kind regards,
Peter
https://lekensteyn.nl



More information about the systemd-devel mailing list