Bug 515 - Compile python bindings with -fvisibility=hidden
: Compile python bindings with -fvisibility=hidden
Status: RESOLVED FIXED
: ns-3
python bindings
: ns-3-dev
: All All
: P5 enhancement
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2009-03-01 13:01 EDT by
Modified: 2009-03-12 15:51 EDT (History)


Attachments
the patch (896 bytes, patch)
2009-03-01 13:01 EDT, Gustavo J. A. M. Carneiro
Details | Diff
also checks for gcc version >= 4.0.0 (972 bytes, patch)
2009-03-03 10:24 EDT, Gustavo J. A. M. Carneiro
Details | Diff


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2009-03-01 13:01:20 EDT
Created an attachment (id=394) [details]
the patch

Like the summary says.  Following up on the advice in this page:

http://gcc.gnu.org/wiki/Visibility

Makes python bindings smaller and faster to load.

Tested on Ubuntu 8.10 and darwin-ppc regression host.

I think I need the release manager's approval to commit this, right?  I think
it should be safe to apply.

Patch attached.
------- Comment #1 From 2009-03-03 10:24:23 EDT -------
Created an attachment (id=395) [details]
also checks for gcc version >= 4.0.0
------- Comment #2 From 2009-03-12 15:51:28 EDT -------
4253:732b877beb23
4255:07f1fdd8a33e