View | Details | Raw Unified | Return to bug 2187
Collapse All | Expand All

(-)a/extract-system-config.py (+8 lines)
 Lines 152-157    Link Here 
152
                    # ubuntu 1404
152
                    # ubuntu 1404
153
                    '/usr/lib/debug/lib/x86_64-linux-gnu/ld-2.19.so',
153
                    '/usr/lib/debug/lib/x86_64-linux-gnu/ld-2.19.so',
154
                    '/usr/lib/debug/lib/i386-linux-gnu/ld-2.19.so',
154
                    '/usr/lib/debug/lib/i386-linux-gnu/ld-2.19.so',
155
                    # ubuntu 1504
156
                    '/usr/lib/debug/lib/x86_64-linux-gnu/ld-2.21.so',
157
                    '/usr/lib/debug/lib/i386-linux-gnu/ld-2.21.so',
155
                    ]
158
                    ]
156
    for file in files_to_try:
159
    for file in files_to_try:
157
        if os.path.isfile (file):
160
        if os.path.isfile (file):
 Lines 176-181    Link Here 
176
    print ''
179
    print ''
177
180
178
def main(argv):
181
def main(argv):
182
    print("test0")
179
    config_filename = ''
183
    config_filename = ''
180
    debug_filename = ''
184
    debug_filename = ''
181
    try:
185
    try:
 Lines 200-209    Link Here 
200
    if debug_filename == '':
204
    if debug_filename == '':
201
        debug_filename = search_debug_file ()
205
        debug_filename = search_debug_file ()
202
    debug = DebugData (debug_filename)
206
    debug = DebugData (debug_filename)
207
    print("test1")
203
    data = debug.get_struct_size ('rtld_global')
208
    data = debug.get_struct_size ('rtld_global')
209
    print("test1")
204
    if data is None:
210
    if data is None:
211
        print("eww1 ")
205
        sys.exit (1)
212
        sys.exit (1)
206
    config.write ('#define CONFIG_RTLD_GLOBAL_SIZE ' + str(data.data) + '\n')
213
    config.write ('#define CONFIG_RTLD_GLOBAL_SIZE ' + str(data.data) + '\n')
214
    print("success1 ")
207
215
208
    data = debug.get_struct_size ('rtld_global_ro')
216
    data = debug.get_struct_size ('rtld_global_ro')
209
    if data is None:
217
    if data is None:

Return to bug 2187