You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Arun C Murthy (JIRA)" <ji...@apache.org> on 2012/10/11 19:46:37 UTC

[jira] [Closed] (HADOOP-7868) Hadoop native fails to compile when default linker option is -Wl,--as-needed

     [ https://issues.apache.org/jira/browse/HADOOP-7868?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arun C Murthy closed HADOOP-7868.
---------------------------------

    
> Hadoop native fails to compile when default linker option is -Wl,--as-needed
> ----------------------------------------------------------------------------
>
>                 Key: HADOOP-7868
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7868
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: native
>    Affects Versions: 1.0.0, 2.0.0-alpha
>         Environment: Ubuntu Precise, Ubuntu Oneiric, Debian Unstable
>            Reporter: James Page
>            Assignee: Trevor Robinson
>             Fix For: 1.2.0, 2.0.2-alpha
>
>         Attachments: hadoop-7868-b1.txt, HADOOP-7868.patch, HADOOP-7868-portable.patch
>
>
> Recent releases of Ubuntu and Debian have switched to using --as-needed as default when linking binaries.
> As a result the AC_COMPUTE_NEEDED_DSO fails to find the required DSO names during execution of configure resulting in a build failure.
> Explicitly using "-Wl,--no-as-needed" in this macro when required resolves this issue.
> See http://wiki.debian.org/ToolChain/DSOLinking for a few more details

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira