Project

General

Profile

Actions

Bug #14301

closed

krtld/doreloc.c: missing field

Added by Toomas Soome 8 months ago. Updated 8 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
kernel
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Build errors with clang:

    /code/illumos-gate/usr/src/uts/intel/amd64/krtld/doreloc.c:88:42: error: missing field 're_bshift' initializer [-Werror,-Wmissing-field-initializers]
            [R_AMD64_DTPOFF32]      = {0, FLG_RE_TLSLD, 4},
                                                         ^
    /code/illumos-gate/usr/src/uts/intel/amd64/krtld/doreloc.c:97:48: error: missing field 're_sigbits' initializer [-Werror,-Wmissing-field-initializers]
            [R_AMD64_GOTPCREL64]    = {FLG_RE_NOTSUP, 0, 0, 0},
                                                             ^
    2 errors generated.

Testing done: build/install/boot

Actions #1

Updated by Electric Monk 8 months ago

  • Gerrit CR set to 1864
Actions #2

Updated by Toomas Soome 8 months ago

  • Description updated (diff)
Actions #3

Updated by Electric Monk 8 months ago

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

git commit 11793bb31eb2b286350e5fd9757d966261d0cff5

commit  11793bb31eb2b286350e5fd9757d966261d0cff5
Author: Toomas Soome <tsoome@me.com>
Date:   2021-12-16T15:22:07.000Z

    14301 krtld/doreloc.c: missing field
    Reviewed by: Rich Lowe <richlowe@richlowe.net>
    Reviewed by: Igor Kozhukhov <igor@dilos.org>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF