Francois Tigeot píše v Po 04. 04. 2011 v 22:51 +0200:
Hi all,
During the last few days, my builds have been broken with this error message:
makedepend: Shared object has no run-time symbol table
I have tracked the start of my troubles to this commit:
83b781819557f269fda65ce551ec9a008fade511
http://cgit.freedesktop.org/libreoffice/bootstrap/commit/?id=83b781819557f269fda65ce551ec9a008fade511
It adds the "--hash-style=gnu" string on ld invocations.
--hash-style=gnu sets the type of linker's hash tables to a new ".gnu.hash"
format.
The problem is, this flag also prevents ld to write classic ELF ".hash"
sections, preventing some systems to be able to run the generated binaries.
Googling a bit, I found references to this issue on all types of systems
See here for a Suse one:
http://mail.openjdk.java.net/pipermail/porters-dev/2009-January/000235.html
The new .gnu.hash sections are not recognized by old binutils versions such as
2.17 and may or may not be used on more recent ones.
One of my machines is using binutils-2.21 and cannot run binaries linked with
the --hash-style=gnu option. I need to investigate.
Howewer, the fix is quite simple: replace --hash-style=gnu by --hash-style=both
The --hash-style=both option generates both old and new-style sections,
keeping all binutils happy.
Sounds reasonable.
Michael, what is your opinion? Could it cause any regression in the
start up speed?
Best Regards,
Petr
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.