helpGNU dbm - Support: sr #347, Add visibility annotations to hide...

Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

sr #347: Add visibility annotations to hide private symbols

Submitted by:  Yury Gribov <yugr>
Submitted on:  Fri 27 Apr 2018 10:46:51 AM EEST  
Category: NonePriority: 5 - Normal
Severity: 5 - NormalStatus: In Progress
Privacy: PublicAssigned to: Sergey Poznyakoff <gray>
Open/Closed: OpenOperating System: GNU/Linux

Fri 27 Apr 2018 10:46:51 AM EEST, original submission:


I attach a patch to enable -fvisibility=hidden whenever compiler supports it. This allowed me to remove several private symbols from gdbm slibs. Removing private symbols has several benefits (allowing compiler to do more aggressive optimizations, speeding up dynamic linker startup, preventing clients from using library internals) so perhaps something like this could be merged to trunk?

List of removed symbols:

The issue was detected via

Yury Gribov <yugr>


Attached Files
file #296:  0001-Hide-private-symbols.patch added by yugr (12kB - application/octet-stream - Proposed patch)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by gray (Updated the item)
  • -unavailable- added by yugr (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    3 latest changes follow.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 31 Jul 2018 11:03:30 AM EESTgrayStatusNone=>In Progress
      Assigned toNone=>gray
    Fri 27 Apr 2018 10:46:51 AM EESTyugrAttached File-=>Added 0001-Hide-private-symbols.patch, #296
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup+gray