incubator-bigtop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anand L Ranganathan <analog.s...@gmail.com>
Subject Re: [jira] [Commented] (BIGTOP-280) Hadoop native fails to compile with default linker option of --as-needed
Date Fri, 09 Dec 2011 20:50:46 GMT
 I am facing similar issue. Till the patch is applied  do you have
workaround for this issue ?

Thanks
Anand

On Wed, Nov 30, 2011 at 5:51 AM, James Page (Commented) (JIRA) <
jira@apache.org> wrote:

>
>    [
> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message