[Lsb-infrastructure] [Bug 2312] New: Get rid of missing_data.txt files in stub_libs

bugzilla-daemon at linux-foundation.org bugzilla-daemon at linux-foundation.org
Wed Sep 17 06:37:42 PDT 2008


http://bugs.linuxbase.org/show_bug.cgi?id=2312

           Summary: Get rid of missing_data.txt files in stub_libs
           Product: Infrastructure
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: build tools
        AssignedTo: mats at freestandards.org
        ReportedBy: silakov at ispras.ru
         QAContact: lsb-infrastructure at freestandards.org


Created an attachment (id=1274)
 --> (http://bugs.linuxbase.org/attachment.cgi?id=1274)
SQL to add new Ttype value

Currently stub_libs subdirectories contain 'missing_data.txt' files with sizes
for some data symbols. These symbols are (mostly) binary only interfaces (e.g.
'typeinfo for ...' or 'vtable for ...') whose sizes are not stored in the db at
the moment. 

It is not very convinient to support all missing_data files (we have 28 of them
now - one per evry arch and LSB version), so we suggest to store all
information in the database. In order to do this, let's add special Ttype value
- let's say 'BinVariable'. Entries with this Ttype will be used as return types
of binonly data symbols, and their sizes will be sizes of appropriate symbols.

We have prepared a script to collect necessary sizes using readelf (see
http://ispras.linuxfoundation.org/index.php/LSB_Library_Import_Tools#Collecting_Information_for_BinOnly_Data_Symbols).

Note that this is internal infrastructure change not visible for end-users, so
not targeting it for LSB 4.0. However, SQL to modify Type table (attached) and
a slight modification of mkstublibs (will be attached soon) can be safely
applied right now.


-- 
Configure bugmail: http://bugs.linuxbase.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the lsb-infrastructure mailing list