Project

General

Profile

Bug #10245

Build error for usr/src/uts/common/exec/elf/elf.c on sparc

Added by Peter Tribble 11 months ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
kernel
Start date:
2019-01-16
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage

Description

On a SPARC build, we see the following error:

../../common/exec/elf/elf.c:841: error: unused variable 'fptype' [-Wunused-variable]
../../common/exec/elf/elf.c:840: error: unused variable 'fpsize' [-Wunused-variable]

The code that uses these variables is guarded for amd64, so the variables should be too.

History

#1

Updated by Electric Monk 11 months ago

  • % Done changed from 0 to 100
  • Status changed from New to Closed

git commit bc0adaff12f765cf25f5cc993be869deebd1e62d

commit  bc0adaff12f765cf25f5cc993be869deebd1e62d
Author: Peter Tribble <peter.tribble@gmail.com>
Date:   2019-01-21T16:39:50.000Z

    10245 Build error for usr/src/uts/common/exec/elf/elf.c on sparc
    Reviewed by: Andy Fiddaman <af@citrus-it.net>
    Reviewed by: Andy Stormont <astormont@racktopsystems.com>
    Reviewed by: Toomas Soome <tsoome@me.com>
    Reviewed by: Gergő Mihály Doma <domag02@gmail.com>
    Reviewed by: Igor Kozhukhov <igor@dilos.org>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF