Project

General

Profile

Actions

Bug #12239

closed

chk4ubin: smatch errors

Added by Toomas Soome almost 2 years ago. Updated over 1 year 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

Build errors with sparc build:

    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: chk4ubin.c:155 chk4ubin() error: unchecked function return 'elf_version'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: chk4ubin.c:160 chk4ubin() error: unchecked function return 'gelf_getshdr'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: chk4ubin.c:167 chk4ubin() error: unchecked function return 'gelf_getshdr'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: chk4ubin.c:177 chk4ubin() error: unchecked function return 'elf_end'

tools/chk4ubin build is fixed.

Actions #1

Updated by Electric Monk over 1 year ago

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

git commit c60a820f97f4b84a182cb6e21fe8a25ff0ad3c4f

commit  c60a820f97f4b84a182cb6e21fe8a25ff0ad3c4f
Author: Toomas Soome <tsoome@me.com>
Date:   2020-01-25T07:34:39.000Z

    12239 chk4ubin: smatch errors
    Reviewed by: Matthias Scheler <mscheler@tintri.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF