The `--gc-sections` linker option triggers a bug in the gold linker[1]
(binutils 2.24 or older). This results in a bogus .eh_frame section
making debugging harder: gdb backtraces stop at a library built by
systemd and libunwind simply segfaults because it does not check for
garbage values.
El 26/11/14 a las 15:31, Peter Wu escribió:
[1]: https://sourceware.org/bugzilla/show_bug.cgi?id=17639
https://bugs.freedesktop.org/show_bug.cgi?id=8
---
v2:removed -ffunction-sections and -fdata-sections too, mention
that binutils fixed the bug.
---
-1 Just fix the
On Wed, Nov 26, 2014 at 05:24:37PM -0300, Cristian Rodríguez wrote:
El 26/11/14 a las 15:31, Peter Wu escribió:
[1]: https://sourceware.org/bugzilla/show_bug.cgi?id=17639
https://bugs.freedesktop.org/show_bug.cgi?id=8
---
v2:removed -ffunction-sections and -fdata-sections too,
On Wednesday 26 November 2014 21:41:48 Zbigniew Jędrzejewski-Szmek wrote:
On Wed, Nov 26, 2014 at 05:24:37PM -0300, Cristian Rodríguez wrote:
El 26/11/14 a las 15:31, Peter Wu escribió:
[1]: https://sourceware.org/bugzilla/show_bug.cgi?id=17639
2014-11-26 23:40 GMT+01:00 Peter Wu pe...@lekensteyn.nl:
https://bugs.freedesktop.org/show_bug.cgi?id=8. Hmm, strange folks,
they use --enable-compat-libs but then remove[2] the libraries...?
We don't remove the libraries, we remove .so symlinks, since they are useless.
--
Why is it
On Wednesday 26 November 2014 23:55:52 Michael Biebl wrote:
2014-11-26 23:40 GMT+01:00 Peter Wu pe...@lekensteyn.nl:
https://bugs.freedesktop.org/show_bug.cgi?id=8. Hmm, strange folks,
they use --enable-compat-libs but then remove[2] the libraries...?
We don't remove the libraries, we