hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Isaacson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-3742) libhdfs symbol visibility issues
Date Mon, 30 Jul 2012 23:58:35 GMT

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

Andy Isaacson commented on HDFS-3742:

It's much better to use a linker script rather than attempting to get all of the visibility
information correctly represented in the source code.

Here's a reasonably concise intro to the topic: http://stackoverflow.com/questions/435352/limiting-visibility-of-symbols-when-linking-shared-libraries
> 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


View raw message