incubator-bigtop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Page (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BIGTOP-280) Hadoop native fails to compile with default linker option of --as-needed
Date Wed, 30 Nov 2011 13:51:40 GMT

    [ https://issues.apache.org/jira/browse/BIGTOP-280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13160053#comment-13160053
] 

James Page commented on BIGTOP-280:
-----------------------------------

So its possible to work around this in the bigtop packaging by including -Wl,--no-as-needed
in the LDFLAGS setup in do-component-build for hadoop.

It pushed the linker back to linking blindly rather than efficiently but it would work as
a temp fix until stuff is accepted and released upstream.

Its in-efficient but does also resolve the issue in c++ pipes (related to MAPREDUCE-2127 and
the -lssl to -lcrypto switch).
                
> Hadoop native fails to compile with default linker option of --as-needed
> ------------------------------------------------------------------------
>
>                 Key: BIGTOP-280
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-280
>             Project: Bigtop
>          Issue Type: Bug
>          Components: Debian, General
>    Affects Versions: 0.2.0
>         Environment: Ubuntu Precise
>            Reporter: James Page
>            Priority: Minor
>
> From Ubuntu Oneiric onwards the default linker option for linked shared libraries is
--as-needed.
> As a result the AC_COMPUTE_NEEDED_DSO fails to locate the -lz shared library name and
the build of hadoop native fails.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message