On 2018-08-25 08:58, L A Walsh wrote:
David Haller wrote:
Those are _SYMBOL_ versions. === Ok, so why do I need symbol version in everything? They prevent linkage with binaries built upstream as well as most binaries I build from source.
They seem to provide no useful feature -- especially considering that they cause many things to break that used to work.
See Section '3.9 VERSION Command' of 'info ld'.
I have no section 3.9 version command' in info ld or man ld.
For that matter it has no section numbering at all.
Mine comes up with an Overview, Invocation, Scripts, Machine Dependent features, BFD, Reporting Bugs and License.
Nothing about Version or sections. Nothing in the manpage about a version command either.
Interestingly, there is, but not in all the document. I don't know how to locate a chapter directly. I had to use "pinfo" instead of info. Then, on the main page I type "s" for search, then enter "version command", which goes to: File: ld.info, Node: Scripts, Next: Machine Dependent, Prev: Invocation, Up: Top * VERSION:: VERSION Command * Expressions:: Expressions in Linker Scripts * Implicit Linker Scripts:: Implicit Linker Scripts Pressing "enter" on "VERSION" goes to: File: ld.info, Node: VERSION, Next: Expressions, Prev: PHDRS, Up: Scripts 3.9 VERSION Command =================== The linker supports symbol versions when using ELF. Symbol versions are only useful when using shared libraries. The dynamic linker can use In the main index page: * Overview:: is section 1. * Invocation:: is section 2 * Scripts:: is section 3 * Machine Dependent:: is section 4 * BFD:: 5 * Reporting Bugs:: 6 * MRI:: none * GNU Free Documentation License:: * LD Index:: And * Scripts:: (section 3) has another list of subchapters * Basic Script Concepts:: Basic Linker Script Concepts * Script Format:: Linker Script Format * Simple Example:: Simple Linker Script Example * Simple Commands:: Simple Linker Script Commands * Assignments:: Assigning Values to Symbols * SECTIONS:: SECTIONS Command * MEMORY:: MEMORY Command * PHDRS:: PHDRS Command * VERSION:: VERSION Command ====> is 3.9 * Expressions:: Expressions in Linker Scripts * Implicit Linker Scripts:: Implicit Linker Scripts -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)