mdb: build with gcore
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.
Updated by Electric Monk about 2 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
commit a68aefedafdc78f1f25e9c888f61357d59c87311 Author: Toomas Soome <firstname.lastname@example.org> Date: 2020-05-15T15:37:23.000Z 12540 mdb: build with gcore Reviewed by: John Levon <email@example.com> Approved by: Joshua M. Clulow <firstname.lastname@example.org>