Menu

#2 Build failure with ld --as-needed

closed-fixed
nobody
None
5
2012-11-16
2012-11-06
No

pepper fails to build on Ubuntu since Natty Narwhal, as Ubuntu now uses the --as-needed linker option by default.
See http://wiki.debian.org/ToolChain/DSOLinking#Only_link_with_needed_libraries for details.

Here's a patch to enable it to build. This is a cleaner, but longer, version of https://sourceforge.net/tracker/?func=detail&aid=3581336&group_id=386093&atid=1604686 It includes some by-hand-reconf-ing.

Discussion

  • Stefano Rivera

    Stefano Rivera - 2012-11-06

    Patch to build with ld --as-needed

     
  • Jonas Gehring

    Jonas Gehring - 2012-11-16
    • status: open --> closed-fixed
     
  • Jonas Gehring

    Jonas Gehring - 2012-11-16

    Hi Stefan,

    Thanks for the patch! I've fixed some minor things (files not in the index, title, git-am patch format) and pushed it to http://github.com/jgehring/pepper. It will be included in the next release (hopefully soon).

    Thanks for your contributing!
    - Jonas

     

Log in to post a comment.

MongoDB Logo MongoDB