On Tue, 2018-03-06 at 12:20 +0100, Florian Weimer wrote: > On 03/05/2018 05:55 PM, Sérgio Basto wrote: > > On Mon, 2018-01-22 at 16:24 +0100, Florian Weimer wrote: > > > ### Disable strict symbol checks in the link editor (ld) > > > > > > By default, the link editor will refuse to link shared objects > > > which > > > contain undefined symbols. In some cases (such as when a DSO is > > > loaded as a plugin and is expected to bind to symbols in the main > > > executable), undefined symbols are expected. In this case, you > > > can > > > add > > > > > > %undefine _strict_symbol_defs_build > > > > > > to the RPM spec file to disable these strict > > > checks. Alternatively, > > > you can pass `-z undefs` to ld (written as `-Wl,-z,undefs` on the > > > gcc > > > command line). The latter needs binutils 2.29.1-12.fc28 or > > > later. > > > > > > > > > This is also part of the build flags documentation at: > > > > > > <https://src.fedoraproject.org/rpms/redhat-rpm-config/blob/master > > > /f/b > > > uildflags.md> > > IMHO, also in https://fedoraproject.org/wiki/Changes/BINUTILS2291 > > or > > should link to https://src.fedoraproject.org/rpms/redhat-rpm-confi > > g/bl > > ob/master/f/buildflags.md or should mention that we may use: > > %undefine _strict_symbol_defs_build > > The change was reverted, so this is currently not necessary. > > The next change will discuss remedies.
Again, IMHO, wiki page should be updated (add something like: -z defs was postponed ... ) and still it should be added a link to buildflags.md . BTW "%define _strict_symbol_defs_build 1" will enable -z defs ? Thanks, -- Sérgio M. B. _______________________________________________ devel mailing list -- firstname.lastname@example.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org