|
[Rivet] --no-as-needed only exists for ELF linkersAndy Buckley andy.buckley at cern.chMon Jul 22 21:35:40 BST 2013
On 22/07/13 22:12, Hendrik Hoeth wrote: > Thus spake Andy Buckley (andy.buckley at cern.ch): > >> What was the motivation for it? > > Linking libfastjettools to a plugin didn't actually pull the needed > stuff in without the flag. > >> For all other flags we check them first via the configure script... do >> we really require --no-as-needed in plugin building on Linux? > > At least it didn't work without it ... Aha. Maybe we should just add it to the whole libRivet build, in which case the flag will be passed automatically to the rivet-buildplugin script. James, do you know if there is an alternative on Macs? I believe that the -as-needed flag (implicitly switched on?) allows the linker to be selective about what symbols it imports from a linked library, which presumably was overzealous at doing so when encountering the fastjettools plugin... Andy -- Dr Andy Buckley, Royal Society University Research Fellow Particle Physics Expt Group, University of Edinburgh / PH Dept, CERN
More information about the Rivet mailing list |