hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Patrick McCabe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-3742) libhdfs symbol visibility issues
Date Tue, 31 Jul 2012 00:29:35 GMT

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

Colin Patrick McCabe commented on HDFS-3742:
--------------------------------------------

There is a way to make symbols default to hidden in gcc, which might alleviate some of your
concerns with the attribute-based method.

Anyway, I don't have a strong feeling about this either way.  I was just bringing up some
potential issues.
                
> libhdfs symbol visibility issues
> --------------------------------
>
>                 Key: HDFS-3742
>                 URL: https://issues.apache.org/jira/browse/HDFS-3742
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.2.0-alpha
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>            Priority: Minor
>
> libhdfs symbols should be hidden unless they're part of the API.  If we don't hide symbols,
they could conflict with symbols in a library user's program.
> This can be accomplished with __attribute__((visibility)) like this:
> {code}
> void __attribute__((visibility("hidden"))) bar(int i);
> {code}

--
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