Project

General

Profile

Bug #13251

CTF conversion fails if any CU is missing DWARF data

Added by Andy Fiddaman about 1 month ago. Updated 15 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
tools - gate/build tools
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

libcrypto.so.1.1, 13MiB, which contains 659 DWARF CUs, cannot be converted by ctfconvert.

build% /opt/onbld/bin/i386/ctfconvert -o l ~/ctf/libcrypto.so.1.1
ctfconvert: file does not contain DWARF data
build% /opt/onbld/bin/i386/ctfconvert -mi -o l ~/ctf/libcrypto.so.1.1
build% ls -l l
l: No such file or directory

However, the file does contain dwarf data:

build% dwarfdump ~/ctf/libcrypto.so.1.1 | grep -c '^COMPILE_UNIT'
1296

Further analysis shows that the tool is aborting as soon as one of the compilation units is missing debug data. The first unit in this case is aesni-mb-x86_64.s


Related issues

Related to illumos gate - Bug #13247: CTF conversion fails with large filesClosedAndy Fiddaman

Actions
#1

Updated by Andy Fiddaman about 1 month ago

  • Related to Bug #13247: CTF conversion fails with large files added
#2

Updated by Electric Monk about 1 month ago

  • Gerrit CR set to 1014
#3

Updated by Electric Monk 15 days ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100

git commit effb27ee30c48fe502152c38487ced379d9f8693

commit  effb27ee30c48fe502152c38487ced379d9f8693
Author: Andy Fiddaman <omnios@citrus-it.co.uk>
Date:   2020-11-12T21:15:16.000Z

    13247 CTF conversion fails with large files
    13251 CTF conversion fails if any CU is missing DWARF data
    Portions Contributed by: Jonathan Perkin <jperkin@joyent.com>
    Reviewed by: Robert Mustacchi <rm@fingolfin.org>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF