Project

General

Profile

Actions

Bug #12540

closed

mdb: build with gcore

Added by Toomas Soome about 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
mdb - modular debugger
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

The sparc build is failing due to missing gcore components. We really do not implement proper support here, just fixing the build.

Undefined                       first referenced
 symbol                             in file
gcore_init                          dmod/genunix.o
gcore_dcmd                          dmod/genunix.o
ld: fatal: symbol referencing errors. No output written to dmod/genunix.so
collect2: error: ld returned 1 exit status
*** Error code 1
dmake: Fatal error: Command failed for target `dmod/genunix.so'
Current working directory /code/illumos-gate/usr/src/cmd/mdb/sparc/v9/genunix

/code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/ctfconvert -L VERSION kmod/gcore_isadep.o
ctfconvert: file does not contain DWARF data

So we are missing gcore_init and gcore_dcmd and we get empty gcore_isadep.o as the code is excluded.


Related issues

Related to illumos gate - Bug #12740: mdb: ::gcore is not implemented on sparcNew

Actions
Actions #1

Updated by Toomas Soome about 2 years ago

  • Description updated (diff)
Actions #2

Updated by Toomas Soome about 2 years ago

  • Related to Bug #12740: mdb: ::gcore is not implemented on sparc added
Actions #3

Updated by Electric Monk about 2 years ago

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

git commit a68aefedafdc78f1f25e9c888f61357d59c87311

commit  a68aefedafdc78f1f25e9c888f61357d59c87311
Author: Toomas Soome <tsoome@me.com>
Date:   2020-05-15T15:37:23.000Z

    12540 mdb: build with gcore
    Reviewed by: John Levon <john.levon@joyent.com>
    Approved by: Joshua M. Clulow <josh@sysmgr.org>

Actions

Also available in: Atom PDF