diff options
author | marino <marino@pkgsrc.org> | 2011-12-10 23:53:34 +0000 |
---|---|---|
committer | marino <marino@pkgsrc.org> | 2011-12-10 23:53:34 +0000 |
commit | 1f3dfd85f501a57130d986b1d93fa003204bf271 (patch) | |
tree | f8f6377bdfae25a903e8c00548946c0efeeaa69f /math/yacas | |
parent | 49f2c836013bb1f264b821ab0cf597ab4fc47a21 (diff) | |
download | pkgsrc-1f3dfd85f501a57130d986b1d93fa003204bf271.tar.gz |
math/pari: Fix for binutils 2.22
The ld linker from binutils 2.22 has --no-copy-dt-needed-entries enabled by
default, which is exactly opposite of earlier versions of the linker.
Previously ld would recursively search libraries linked in by the object's
primary libraries during symbol resolution. Now linker wants all libraries
explicit requested, otherwise one gets a message such as this:
ld: <object file>: undefined reference to symbol '<symbol>'
ld: note: '<symbol>' is defined in DSO <shared library> so try adding it
to the linker command line.
If this message is encountered, the two options are either to explicitly
add it to the linker command as suggested, or use the
--no-copy-dt-needed-entries switch to return the linker to its previous
behavior. In the case of math/pari, libstdc++ was added to the library
list for the plotfltk.o object. This explicit link is required by DragonFly
which is migrated to binutils 2.22 as its default version.
Diffstat (limited to 'math/yacas')
0 files changed, 0 insertions, 0 deletions